]>
Commit | Line | Data |
---|---|---|
d02b48c6 | 1 | # |
15ac9716 | 2 | # OpenSSL/crypto/conf/Makefile |
d02b48c6 RE |
3 | # |
4 | ||
5 | DIR= conf | |
6 | TOP= ../.. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
d02b48c6 | 9 | CFLAG=-g |
42ba5d23 | 10 | MAKEFILE= Makefile |
d02b48c6 RE |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
d02b48c6 RE |
15 | GENERAL=Makefile |
16 | TEST= | |
17 | APPS= | |
18 | ||
19 | LIB=$(TOP)/libcrypto.a | |
e84be9b4 DSH |
20 | LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \ |
21 | conf_mall.c conf_sap.c | |
d02b48c6 | 22 | |
e84be9b4 DSH |
23 | LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \ |
24 | conf_mall.o conf_sap.o | |
d02b48c6 RE |
25 | |
26 | SRC= $(LIBSRC) | |
27 | ||
d86b6915 RL |
28 | EXHEADER= conf.h conf_api.h |
29 | HEADER= conf_def.h $(EXHEADER) | |
d02b48c6 RE |
30 | |
31 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
32 | ||
33 | top: | |
34 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
35 | ||
36 | all: lib | |
37 | ||
38 | lib: $(LIBOBJ) | |
39 | $(AR) $(LIB) $(LIBOBJ) | |
4e20b1a6 | 40 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
41 | @touch lib |
42 | ||
43 | files: | |
42ba5d23 | 44 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
d02b48c6 RE |
45 | |
46 | links: | |
1314c344 BM |
47 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
48 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
49 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
d02b48c6 RE |
50 | |
51 | install: | |
81a86fcf | 52 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... |
a2ac429d | 53 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ |
d02b48c6 | 54 | do \ |
e5f3045f BM |
55 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
56 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
57 | done; |
58 | ||
59 | tags: | |
60 | ctags $(SRC) | |
61 | ||
62 | tests: | |
63 | ||
64 | lint: | |
65 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
66 | ||
67 | depend: | |
ce92b6eb | 68 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |
001ab3ab | 69 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
d02b48c6 RE |
70 | |
71 | dclean: | |
99aab161 | 72 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
73 | mv -f Makefile.new $(MAKEFILE) |
74 | ||
75 | clean: | |
bb8f3c58 | 76 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 77 | |
d02b48c6 | 78 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 79 | |
41d2a336 RL |
80 | conf_api.o: ../../e_os.h ../../include/openssl/bio.h |
81 | conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h | |
82 | conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | |
d86b6915 | 83 | conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
54a656ef BL |
84 | conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
85 | conf_api.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
86 | conf_api.o: ../../include/openssl/symhacks.h conf_api.c | |
c046fffa LJ |
87 | conf_def.o: ../../e_os.h ../../include/openssl/bio.h |
88 | conf_def.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | |
89 | conf_def.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h | |
90 | conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
91 | conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
54a656ef BL |
92 | conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
93 | conf_def.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
94 | conf_def.o: ../../include/openssl/symhacks.h ../cryptlib.h conf_def.c | |
95 | conf_def.o: conf_def.h | |
61fca8b6 RL |
96 | conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h |
97 | conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | |
98 | conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
99 | conf_err.o: ../../include/openssl/opensslconf.h | |
54a656ef BL |
100 | conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
101 | conf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
102 | conf_err.o: ../../include/openssl/symhacks.h conf_err.c | |
61fca8b6 RL |
103 | conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h |
104 | conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h | |
105 | conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
106 | conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
54a656ef BL |
107 | conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
108 | conf_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
109 | conf_lib.o: ../../include/openssl/symhacks.h conf_lib.c | |
5e42f9ab | 110 | conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h |
9c52d2cc GT |
111 | conf_mall.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
112 | conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | |
113 | conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
114 | conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h | |
115 | conf_mall.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | |
116 | conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
117 | conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
118 | conf_mall.o: ../../include/openssl/objects.h | |
cca28b29 BL |
119 | conf_mall.o: ../../include/openssl/opensslconf.h |
120 | conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
c57bc2dc | 121 | conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h |
fe19c448 | 122 | conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
c57bc2dc | 123 | conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
d1465bac | 124 | conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c |
5e42f9ab | 125 | conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h |
9c52d2cc GT |
126 | conf_mod.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
127 | conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | |
128 | conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
129 | conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h | |
130 | conf_mod.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h | |
131 | conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | |
132 | conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | |
133 | conf_mod.o: ../../include/openssl/opensslconf.h | |
cca28b29 | 134 | conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
c57bc2dc GT |
135 | conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h |
136 | conf_mod.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
137 | conf_mod.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | |
138 | conf_mod.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mod.c | |
5e42f9ab | 139 | conf_sap.o: ../../e_os.h ../../include/openssl/asn1.h |
9c52d2cc GT |
140 | conf_sap.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
141 | conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | |
142 | conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
143 | conf_sap.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h | |
144 | conf_sap.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | |
145 | conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
146 | conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
147 | conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | |
0d7b9b8b | 148 | conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
c57bc2dc | 149 | conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h |
0d7b9b8b | 150 | conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
c57bc2dc | 151 | conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
d1465bac | 152 | conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c |