56f95d1c3ed2db8e7e1d8480e33a27d4440ebeda
[openssl.git] / crypto / engine / Makefile
1 #
2 # OpenSSL/crypto/engine/Makefile
3 #
4
5 DIR=    engine
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16 TEST= enginetest.c
17 APPS=
18
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
21         eng_table.c eng_pkey.c eng_fat.c eng_all.c \
22         tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \
23         tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c \
24         eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c \
25         eng_rsax.c eng_rdrand.c
26 LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
27         eng_table.o eng_pkey.o eng_fat.o eng_all.o \
28         tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \
29         tb_cipher.o tb_digest.o tb_pkmeth.o tb_asnmth.o \
30         eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o \
31         eng_rsax.o eng_rdrand.o
32
33 SRC= $(LIBSRC)
34
35 EXHEADER= engine.h
36 HEADER= $(EXHEADER)
37
38 ALL=    $(GENERAL) $(SRC) $(HEADER)
39
40 top:
41         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42
43 all:    lib
44
45 lib:    $(LIBOBJ)
46         $(AR) $(LIB) $(LIBOBJ)
47         $(RANLIB) $(LIB) || echo Never mind.
48         @touch lib
49
50 files:
51         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
52
53 links:
54         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58 install:
59         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
60         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
61         do  \
62         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
63         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64         done;
65
66 tags:
67         ctags $(SRC)
68
69 tests:
70
71 lint:
72         lint -DLINT $(INCLUDES) $(SRC)>fluff
73
74 depend:
75         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
76         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
77
78 dclean:
79         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80         mv -f Makefile.new $(MAKEFILE)
81
82 clean:
83         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
84
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
86
87 eng_all.o: ../../e_os.h ../../include/openssl/asn1.h
88 eng_all.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
89 eng_all.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
90 eng_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
91 eng_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
92 eng_all.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
93 eng_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_all.c eng_int.h
94 eng_cnf.o: ../../e_os.h ../../include/openssl/asn1.h
95 eng_cnf.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
96 eng_cnf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
97 eng_cnf.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
98 eng_cnf.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
99 eng_cnf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
100 eng_cnf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
101 eng_cnf.o: ../cryptlib.h eng_cnf.c eng_int.h
102 eng_cryptodev.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
103 eng_cryptodev.o: ../../include/openssl/engine.h ../../include/openssl/lhash.h
104 eng_cryptodev.o: ../../include/openssl/obj_mac.h
105 eng_cryptodev.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
106 eng_cryptodev.o: ../../include/openssl/safestack.h
107 eng_cryptodev.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
108 eng_cryptodev.o: ../../include/openssl/x509_vfy.h eng_cryptodev.c
109 eng_ctrl.o: ../../e_os.h ../../include/openssl/asn1.h
110 eng_ctrl.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
111 eng_ctrl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112 eng_ctrl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
113 eng_ctrl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
114 eng_ctrl.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
115 eng_ctrl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_ctrl.c eng_int.h
116 eng_dyn.o: ../../e_os.h ../../include/openssl/asn1.h
117 eng_dyn.o: ../../include/openssl/bio.h ../../include/openssl/dso.h
118 eng_dyn.o: ../../include/openssl/engine.h ../../include/openssl/err.h
119 eng_dyn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
120 eng_dyn.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
121 eng_dyn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
122 eng_dyn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
123 eng_dyn.o: ../cryptlib.h eng_dyn.c eng_int.h
124 eng_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
125 eng_err.o: ../../include/openssl/engine.h ../../include/openssl/err.h
126 eng_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
127 eng_err.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
128 eng_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
129 eng_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
130 eng_err.o: eng_err.c
131 eng_fat.o: ../../e_os.h ../../include/openssl/asn1.h
132 eng_fat.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
133 eng_fat.o: ../../include/openssl/engine.h ../../include/openssl/err.h
134 eng_fat.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
135 eng_fat.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
136 eng_fat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
137 eng_fat.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
138 eng_fat.o: ../cryptlib.h eng_fat.c eng_int.h
139 eng_init.o: ../../e_os.h ../../include/openssl/asn1.h
140 eng_init.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
141 eng_init.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
142 eng_init.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
143 eng_init.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
144 eng_init.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
145 eng_init.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_init.c eng_int.h
146 eng_lib.o: ../../e_os.h ../../include/openssl/asn1.h
147 eng_lib.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
148 eng_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
149 eng_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
150 eng_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
151 eng_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
152 eng_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
153 eng_lib.o: ../cryptlib.h eng_int.h eng_lib.c
154 eng_list.o: ../../e_os.h ../../include/openssl/asn1.h
155 eng_list.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
156 eng_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
157 eng_list.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
158 eng_list.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
159 eng_list.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
160 eng_list.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h eng_list.c
161 eng_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
162 eng_openssl.o: ../../include/openssl/bio.h ../../include/openssl/dso.h
163 eng_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
164 eng_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
165 eng_openssl.o: ../../include/openssl/objects.h ../../include/openssl/pem.h
166 eng_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
167 eng_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rc4.h
168 eng_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
169 eng_openssl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
170 eng_openssl.o: ../cryptlib.h eng_openssl.c
171 eng_pkey.o: ../../e_os.h ../../include/openssl/asn1.h
172 eng_pkey.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
173 eng_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
174 eng_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
175 eng_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
176 eng_pkey.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
177 eng_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h eng_pkey.c
178 eng_rdrand.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
179 eng_rdrand.o: ../../include/openssl/engine.h ../../include/openssl/err.h
180 eng_rdrand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
181 eng_rdrand.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
182 eng_rdrand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
183 eng_rdrand.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
184 eng_rdrand.o: ../../include/openssl/x509_vfy.h eng_rdrand.c
185 eng_rsax.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
186 eng_rsax.o: ../../include/openssl/engine.h ../../include/openssl/err.h
187 eng_rsax.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
188 eng_rsax.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
189 eng_rsax.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
190 eng_rsax.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
191 eng_rsax.o: eng_rsax.c
192 eng_table.o: ../../e_os.h ../../include/openssl/asn1.h
193 eng_table.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
194 eng_table.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
195 eng_table.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
196 eng_table.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
197 eng_table.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
198 eng_table.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h
199 eng_table.o: eng_table.c
200 tb_asnmth.o: ../../e_os.h ../../include/openssl/asn1.h
201 tb_asnmth.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
202 tb_asnmth.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
203 tb_asnmth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
204 tb_asnmth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
205 tb_asnmth.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
206 tb_asnmth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
207 tb_asnmth.o: eng_int.h tb_asnmth.c
208 tb_cipher.o: ../../e_os.h ../../include/openssl/asn1.h
209 tb_cipher.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
210 tb_cipher.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
211 tb_cipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
212 tb_cipher.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
213 tb_cipher.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
214 tb_cipher.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h
215 tb_cipher.o: tb_cipher.c
216 tb_dh.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
217 tb_dh.o: ../../include/openssl/engine.h ../../include/openssl/err.h
218 tb_dh.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
219 tb_dh.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
220 tb_dh.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
221 tb_dh.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
222 tb_dh.o: ../cryptlib.h eng_int.h tb_dh.c
223 tb_digest.o: ../../e_os.h ../../include/openssl/asn1.h
224 tb_digest.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
225 tb_digest.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
226 tb_digest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
227 tb_digest.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
228 tb_digest.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
229 tb_digest.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h
230 tb_digest.o: tb_digest.c
231 tb_dsa.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
232 tb_dsa.o: ../../include/openssl/engine.h ../../include/openssl/err.h
233 tb_dsa.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
234 tb_dsa.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
235 tb_dsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
236 tb_dsa.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
237 tb_dsa.o: ../cryptlib.h eng_int.h tb_dsa.c
238 tb_ecdh.o: ../../e_os.h ../../include/openssl/asn1.h
239 tb_ecdh.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
240 tb_ecdh.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
241 tb_ecdh.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
242 tb_ecdh.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
243 tb_ecdh.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
244 tb_ecdh.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h tb_ecdh.c
245 tb_ecdsa.o: ../../e_os.h ../../include/openssl/asn1.h
246 tb_ecdsa.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
247 tb_ecdsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
248 tb_ecdsa.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
249 tb_ecdsa.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
250 tb_ecdsa.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
251 tb_ecdsa.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h tb_ecdsa.c
252 tb_pkmeth.o: ../../e_os.h ../../include/openssl/asn1.h
253 tb_pkmeth.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
254 tb_pkmeth.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
255 tb_pkmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
256 tb_pkmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
257 tb_pkmeth.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
258 tb_pkmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h
259 tb_pkmeth.o: tb_pkmeth.c
260 tb_rand.o: ../../e_os.h ../../include/openssl/asn1.h
261 tb_rand.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
262 tb_rand.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
263 tb_rand.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
264 tb_rand.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
265 tb_rand.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
266 tb_rand.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h tb_rand.c
267 tb_rsa.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
268 tb_rsa.o: ../../include/openssl/engine.h ../../include/openssl/err.h
269 tb_rsa.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
270 tb_rsa.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
271 tb_rsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
272 tb_rsa.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
273 tb_rsa.o: ../cryptlib.h eng_int.h tb_rsa.c
274 tb_store.o: ../../e_os.h ../../include/openssl/asn1.h
275 tb_store.o: ../../include/openssl/bio.h ../../include/openssl/engine.h
276 tb_store.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
277 tb_store.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
278 tb_store.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
279 tb_store.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
280 tb_store.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h tb_store.c