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