d12951ec6cfac94d8db998c37157dfe01734de30
[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= engine_err.c engine_lib.c engine_list.c engine_all.c engine_openssl.c \
27         hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c
28 LIBOBJ= engine_err.o engine_lib.o engine_list.o engine_all.o engine_openssl.o \
29         hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.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)
46         @touch lib
47
48 files:
49         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50
51 links:
52         @$(TOP)/util/point.sh Makefile.ssl Makefile
53         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
54         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
55         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56
57 install:
58         @for i in $(EXHEADER) ; \
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         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
74
75 dclean:
76         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77         mv -f Makefile.new $(MAKEFILE)
78
79 clean:
80         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81
82 # DO NOT DELETE THIS LINE -- make depend depends on it.
83
84 engine_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
85 engine_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
86 engine_all.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
87 engine_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
88 engine_all.o: ../../include/openssl/engine.h ../../include/openssl/err.h
89 engine_all.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
90 engine_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
91 engine_all.o: ../../include/openssl/opensslconf.h
92 engine_all.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
93 engine_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
94 engine_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
95 engine_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
96 engine_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97 engine_all.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
98 engine_all.o: ../../include/openssl/x509_vfy.h engine_int.h
99 engine_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 engine_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
101 engine_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
102 engine_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
103 engine_err.o: ../../include/openssl/engine.h ../../include/openssl/err.h
104 engine_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
105 engine_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
106 engine_err.o: ../../include/openssl/opensslconf.h
107 engine_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
108 engine_err.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
109 engine_err.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
110 engine_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
111 engine_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112 engine_err.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
113 engine_err.o: ../../include/openssl/x509_vfy.h
114 engine_lib.o: ../../e_os.h ../../include/openssl/asn1.h
115 engine_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
116 engine_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
117 engine_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
118 engine_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
119 engine_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
120 engine_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
121 engine_lib.o: ../../include/openssl/objects.h
122 engine_lib.o: ../../include/openssl/opensslconf.h
123 engine_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
124 engine_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
125 engine_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
126 engine_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
127 engine_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
128 engine_lib.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
129 engine_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h engine_int.h
130 engine_list.o: ../../e_os.h ../../include/openssl/asn1.h
131 engine_list.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
132 engine_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
133 engine_list.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
134 engine_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
135 engine_list.o: ../../include/openssl/err.h ../../include/openssl/evp.h
136 engine_list.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
137 engine_list.o: ../../include/openssl/objects.h
138 engine_list.o: ../../include/openssl/opensslconf.h
139 engine_list.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
140 engine_list.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
141 engine_list.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
142 engine_list.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
143 engine_list.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144 engine_list.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
145 engine_list.o: ../../include/openssl/x509_vfy.h ../cryptlib.h engine_int.h
146 engine_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
147 engine_openssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
148 engine_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
149 engine_openssl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
150 engine_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
151 engine_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
152 engine_openssl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
153 engine_openssl.o: ../../include/openssl/obj_mac.h
154 engine_openssl.o: ../../include/openssl/objects.h
155 engine_openssl.o: ../../include/openssl/opensslconf.h
156 engine_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
157 engine_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
158 engine_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
159 engine_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
160 engine_openssl.o: ../../include/openssl/stack.h
161 engine_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
162 engine_openssl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
163 engine_openssl.o: ../cryptlib.h
164 hw_atalla.o: ../../e_os.h ../../include/openssl/asn1.h
165 hw_atalla.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
166 hw_atalla.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
167 hw_atalla.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
168 hw_atalla.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
169 hw_atalla.o: ../../include/openssl/engine.h ../../include/openssl/err.h
170 hw_atalla.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
171 hw_atalla.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
172 hw_atalla.o: ../../include/openssl/opensslconf.h
173 hw_atalla.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
174 hw_atalla.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
175 hw_atalla.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
176 hw_atalla.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
177 hw_atalla.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
178 hw_atalla.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
179 hw_atalla.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
180 hw_atalla.o: vendor_defns/atalla.h
181 hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
182 hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
183 hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
184 hw_cswift.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
185 hw_cswift.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
186 hw_cswift.o: ../../include/openssl/engine.h ../../include/openssl/err.h
187 hw_cswift.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
188 hw_cswift.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
189 hw_cswift.o: ../../include/openssl/opensslconf.h
190 hw_cswift.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
191 hw_cswift.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
192 hw_cswift.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
193 hw_cswift.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
194 hw_cswift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
195 hw_cswift.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
196 hw_cswift.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
197 hw_cswift.o: vendor_defns/cswift.h
198 hw_ncipher.o: ../../e_os.h ../../include/openssl/asn1.h
199 hw_ncipher.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
200 hw_ncipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
201 hw_ncipher.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
202 hw_ncipher.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
203 hw_ncipher.o: ../../include/openssl/engine.h ../../include/openssl/err.h
204 hw_ncipher.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
205 hw_ncipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
206 hw_ncipher.o: ../../include/openssl/opensslconf.h
207 hw_ncipher.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
208 hw_ncipher.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
209 hw_ncipher.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
210 hw_ncipher.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
211 hw_ncipher.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
212 hw_ncipher.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
213 hw_ncipher.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
214 hw_ncipher.o: vendor_defns/hwcryptohook.h
215 hw_nuron.o: ../../e_os.h ../../include/openssl/asn1.h
216 hw_nuron.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
217 hw_nuron.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
218 hw_nuron.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
219 hw_nuron.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
220 hw_nuron.o: ../../include/openssl/engine.h ../../include/openssl/err.h
221 hw_nuron.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
222 hw_nuron.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
223 hw_nuron.o: ../../include/openssl/opensslconf.h
224 hw_nuron.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
225 hw_nuron.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
226 hw_nuron.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
227 hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
228 hw_nuron.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
229 hw_nuron.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
230 hw_nuron.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
231 hw_ubsec.o: ../../e_os.h ../../include/openssl/asn1.h
232 hw_ubsec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
233 hw_ubsec.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
234 hw_ubsec.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
235 hw_ubsec.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
236 hw_ubsec.o: ../../include/openssl/engine.h ../../include/openssl/err.h
237 hw_ubsec.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
238 hw_ubsec.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
239 hw_ubsec.o: ../../include/openssl/opensslconf.h
240 hw_ubsec.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
241 hw_ubsec.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
242 hw_ubsec.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
243 hw_ubsec.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
244 hw_ubsec.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
245 hw_ubsec.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
246 hw_ubsec.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
247 hw_ubsec.o: vendor_defns/hw_ubsec.h