diff options
Diffstat (limited to 'src/lib/libcrypto/err/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/err/Makefile.ssl | 64 |
1 files changed, 48 insertions, 16 deletions
diff --git a/src/lib/libcrypto/err/Makefile.ssl b/src/lib/libcrypto/err/Makefile.ssl index 57c87eb041..2946c00ead 100644 --- a/src/lib/libcrypto/err/Makefile.ssl +++ b/src/lib/libcrypto/err/Makefile.ssl | |||
@@ -5,11 +5,14 @@ | |||
5 | DIR= err | 5 | DIR= err |
6 | TOP= ../.. | 6 | TOP= ../.. |
7 | CC= cc | 7 | CC= cc |
8 | INCLUDES= -I.. -I../../include | 8 | INCLUDES= -I.. -I$(TOP) -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 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
13 | MAKEFILE= Makefile.ssl | 16 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | 17 | AR= ar r |
15 | 18 | ||
@@ -37,24 +40,23 @@ all: lib | |||
37 | 40 | ||
38 | lib: $(LIBOBJ) | 41 | lib: $(LIBOBJ) |
39 | $(AR) $(LIB) $(LIBOBJ) | 42 | $(AR) $(LIB) $(LIBOBJ) |
40 | sh $(TOP)/util/ranlib.sh $(LIB) | 43 | $(RANLIB) $(LIB) || echo Never mind. |
41 | @touch lib | 44 | @touch lib |
42 | 45 | ||
43 | files: | 46 | files: |
44 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
45 | 48 | ||
46 | links: | 49 | links: |
47 | /bin/rm -f Makefile | 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
48 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
49 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
50 | $(TOP)/util/mklink.sh ../../test $(TEST) | 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
51 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
52 | 54 | ||
53 | install: | 55 | install: |
54 | @for i in $(EXHEADER) ; \ | 56 | @for i in $(EXHEADER) ; \ |
55 | do \ | 57 | do \ |
56 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
57 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
58 | done; | 60 | done; |
59 | 61 | ||
60 | tags: | 62 | tags: |
@@ -66,15 +68,45 @@ lint: | |||
66 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
67 | 69 | ||
68 | depend: | 70 | depend: |
69 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
70 | 72 | ||
71 | dclean: | 73 | dclean: |
72 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
73 | mv -f Makefile.new $(MAKEFILE) | 75 | mv -f Makefile.new $(MAKEFILE) |
74 | 76 | ||
75 | clean: | 77 | clean: |
76 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
77 | |||
78 | errors: | ||
79 | 79 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
81 | |||
82 | err.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
83 | err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
84 | err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
85 | err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
86 | err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
87 | err.o: ../../include/openssl/symhacks.h ../cryptlib.h err.c | ||
88 | err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
89 | err_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
90 | err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
91 | err_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
92 | err_all.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
93 | err_all.o: ../../include/openssl/ec.h ../../include/openssl/engine.h | ||
94 | err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
95 | err_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
96 | err_all.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
97 | err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
98 | err_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem2.h | ||
99 | err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
100 | err_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
101 | err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
102 | err_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
103 | err_all.o: ../../include/openssl/ui.h ../../include/openssl/x509.h | ||
104 | err_all.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
105 | err_all.o: err_all.c | ||
106 | err_prn.o: ../../e_os.h ../../include/openssl/bio.h | ||
107 | err_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
108 | err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
109 | err_prn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
110 | err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
111 | err_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
112 | err_prn.o: ../cryptlib.h err_prn.c | ||