diff options
| author | beck <> | 1999-09-29 04:37:45 +0000 |
|---|---|---|
| committer | beck <> | 1999-09-29 04:37:45 +0000 |
| commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
| tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/buffer/Makefile.ssl | |
| parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
| download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip | |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/buffer/Makefile.ssl')
| -rw-r--r-- | src/lib/libcrypto/buffer/Makefile.ssl | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/src/lib/libcrypto/buffer/Makefile.ssl b/src/lib/libcrypto/buffer/Makefile.ssl index a5f150e523..b615c4c12d 100644 --- a/src/lib/libcrypto/buffer/Makefile.ssl +++ b/src/lib/libcrypto/buffer/Makefile.ssl | |||
| @@ -7,23 +7,23 @@ TOP= ../.. | |||
| 7 | CC= cc | 7 | CC= cc |
| 8 | INCLUDES= -I.. -I../../include | 8 | INCLUDES= -I.. -I../../include |
| 9 | CFLAG=-g | 9 | CFLAG=-g |
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 10 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
| 11 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
| 12 | MAKEDEPEND= makedepend -f Makefile.ssl | 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
| 13 | MAKEFILE= Makefile.ssl | 15 | MAKEFILE= Makefile.ssl |
| 14 | AR= ar r | 16 | AR= ar r |
| 15 | 17 | ||
| 16 | CFLAGS= $(INCLUDES) $(CFLAG) | 18 | CFLAGS= $(INCLUDES) $(CFLAG) |
| 17 | 19 | ||
| 18 | ERR=buffer | ||
| 19 | ERRC=buf_err | ||
| 20 | GENERAL=Makefile | 20 | GENERAL=Makefile |
| 21 | TEST= | 21 | TEST= |
| 22 | APPS= | 22 | APPS= |
| 23 | 23 | ||
| 24 | LIB=$(TOP)/libcrypto.a | 24 | LIB=$(TOP)/libcrypto.a |
| 25 | LIBSRC= buffer.c $(ERRC).c | 25 | LIBSRC= buffer.c buf_err.c |
| 26 | LIBOBJ= buffer.o $(ERRC).o | 26 | LIBOBJ= buffer.o buf_err.o |
| 27 | 27 | ||
| 28 | SRC= $(LIBSRC) | 28 | SRC= $(LIBSRC) |
| 29 | 29 | ||
| @@ -39,24 +39,23 @@ all: lib | |||
| 39 | 39 | ||
| 40 | lib: $(LIBOBJ) | 40 | lib: $(LIBOBJ) |
| 41 | $(AR) $(LIB) $(LIBOBJ) | 41 | $(AR) $(LIB) $(LIBOBJ) |
| 42 | sh $(TOP)/util/ranlib.sh $(LIB) | 42 | $(RANLIB) $(LIB) |
| 43 | @touch lib | 43 | @touch lib |
| 44 | 44 | ||
| 45 | files: | 45 | files: |
| 46 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 46 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 47 | 47 | ||
| 48 | links: | 48 | links: |
| 49 | /bin/rm -f Makefile | 49 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
| 50 | $(TOP)/util/point.sh Makefile.ssl Makefile; | 50 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 51 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 51 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 52 | $(TOP)/util/mklink.sh ../../test $(TEST) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 53 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
| 54 | 53 | ||
| 55 | install: | 54 | install: |
| 56 | @for i in $(EXHEADER) ; \ | 55 | @for i in $(EXHEADER) ; \ |
| 57 | do \ | 56 | do \ |
| 58 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 57 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
| 59 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 58 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
| 60 | done; | 59 | done; |
| 61 | 60 | ||
| 62 | tags: | 61 | tags: |
| @@ -68,17 +67,20 @@ lint: | |||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 67 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
| 69 | 68 | ||
| 70 | depend: | 69 | depend: |
| 71 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 70 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
| 72 | 71 | ||
| 73 | dclean: | 72 | dclean: |
| 74 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 73 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
| 75 | mv -f Makefile.new $(MAKEFILE) | 74 | mv -f Makefile.new $(MAKEFILE) |
| 76 | 75 | ||
| 77 | clean: | 76 | clean: |
| 78 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 77 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
| 79 | |||
| 80 | errors: | ||
| 81 | perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h | ||
| 82 | perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c | ||
| 83 | 78 | ||
| 84 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 79 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 80 | |||
| 81 | buf_err.o: ../../include/openssl/buffer.h ../../include/openssl/err.h | ||
| 82 | buffer.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
| 83 | buffer.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
| 84 | buffer.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 85 | buffer.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 86 | buffer.o: ../../include/openssl/stack.h ../cryptlib.h | ||
