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