diff options
Diffstat (limited to 'src/lib/libcrypto/err/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/err/Makefile.ssl | 60 |
1 files changed, 45 insertions, 15 deletions
diff --git a/src/lib/libcrypto/err/Makefile.ssl b/src/lib/libcrypto/err/Makefile.ssl index 57c87eb041..e0f5128f43 100644 --- a/src/lib/libcrypto/err/Makefile.ssl +++ b/src/lib/libcrypto/err/Makefile.ssl | |||
@@ -7,9 +7,11 @@ 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 | ||
@@ -37,24 +39,23 @@ all: lib | |||
37 | 39 | ||
38 | lib: $(LIBOBJ) | 40 | lib: $(LIBOBJ) |
39 | $(AR) $(LIB) $(LIBOBJ) | 41 | $(AR) $(LIB) $(LIBOBJ) |
40 | sh $(TOP)/util/ranlib.sh $(LIB) | 42 | $(RANLIB) $(LIB) |
41 | @touch lib | 43 | @touch lib |
42 | 44 | ||
43 | files: | 45 | files: |
44 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 46 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
45 | 47 | ||
46 | links: | 48 | links: |
47 | /bin/rm -f Makefile | 49 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
48 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 50 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
49 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 51 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
50 | $(TOP)/util/mklink.sh ../../test $(TEST) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
51 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
52 | 53 | ||
53 | install: | 54 | install: |
54 | @for i in $(EXHEADER) ; \ | 55 | @for i in $(EXHEADER) ; \ |
55 | do \ | 56 | do \ |
56 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 57 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
57 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 58 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
58 | done; | 59 | done; |
59 | 60 | ||
60 | tags: | 61 | tags: |
@@ -66,15 +67,44 @@ lint: | |||
66 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 67 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
67 | 68 | ||
68 | depend: | 69 | depend: |
69 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 70 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
70 | 71 | ||
71 | dclean: | 72 | dclean: |
72 | 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 |
73 | mv -f Makefile.new $(MAKEFILE) | 74 | mv -f Makefile.new $(MAKEFILE) |
74 | 75 | ||
75 | clean: | 76 | clean: |
76 | /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 |
77 | |||
78 | errors: | ||
79 | 78 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 79 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
80 | |||
81 | err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
82 | err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
83 | err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
84 | err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
85 | err.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
86 | err.o: ../cryptlib.h | ||
87 | err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
88 | err_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
89 | err_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | ||
90 | err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
91 | err_all.o: ../../include/openssl/des.h ../../include/openssl/dh.h | ||
92 | err_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
93 | err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
94 | err_all.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | ||
95 | err_all.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | ||
96 | err_all.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | ||
97 | err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
98 | err_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h | ||
99 | err_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | ||
100 | err_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | ||
101 | err_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | ||
102 | err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
103 | err_all.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | ||
104 | err_all.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
105 | err_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
106 | err_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
107 | err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
108 | err_prn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
109 | err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
110 | err_prn.o: ../cryptlib.h | ||