99524794b498eda04bc1d3b6f11108d8bc490389
[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/crypto.h
86 engine_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
87 engine_all.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
88 engine_all.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
89 engine_all.o: ../../include/openssl/opensslconf.h
90 engine_all.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
91 engine_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
92 engine_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
93 engine_all.o: ../../include/openssl/types.h ../../include/openssl/ui.h
94 engine_all.o: engine_all.c engine_int.h
95 engine_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
96 engine_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
97 engine_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
98 engine_err.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
99 engine_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
100 engine_err.o: ../../include/openssl/opensslconf.h
101 engine_err.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
102 engine_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
103 engine_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 engine_err.o: ../../include/openssl/types.h ../../include/openssl/ui.h
105 engine_err.o: engine_err.c
106 engine_lib.o: ../../e_os.h ../../include/openssl/asn1.h
107 engine_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
108 engine_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
109 engine_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
110 engine_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
111 engine_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112 engine_lib.o: ../../include/openssl/opensslconf.h
113 engine_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
114 engine_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
115 engine_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116 engine_lib.o: ../../include/openssl/types.h ../../include/openssl/ui.h
117 engine_lib.o: ../cryptlib.h engine_int.h engine_lib.c
118 engine_list.o: ../../e_os.h ../../include/openssl/asn1.h
119 engine_list.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
120 engine_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
121 engine_list.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
122 engine_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
123 engine_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124 engine_list.o: ../../include/openssl/opensslconf.h
125 engine_list.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
126 engine_list.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
127 engine_list.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
128 engine_list.o: ../../include/openssl/types.h ../../include/openssl/ui.h
129 engine_list.o: ../cryptlib.h engine_int.h engine_list.c
130 engine_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
131 engine_openssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
132 engine_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
133 engine_openssl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
134 engine_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
135 engine_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
136 engine_openssl.o: ../../include/openssl/lhash.h
137 engine_openssl.o: ../../include/openssl/opensslconf.h
138 engine_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
139 engine_openssl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
140 engine_openssl.o: ../../include/openssl/stack.h
141 engine_openssl.o: ../../include/openssl/symhacks.h
142 engine_openssl.o: ../../include/openssl/types.h ../../include/openssl/ui.h
143 engine_openssl.o: ../cryptlib.h engine_openssl.c
144 hw_atalla.o: ../../e_os.h ../../include/openssl/asn1.h
145 hw_atalla.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
146 hw_atalla.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
147 hw_atalla.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
148 hw_atalla.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
149 hw_atalla.o: ../../include/openssl/engine.h ../../include/openssl/err.h
150 hw_atalla.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
151 hw_atalla.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
152 hw_atalla.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
153 hw_atalla.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
154 hw_atalla.o: ../../include/openssl/types.h ../../include/openssl/ui.h
155 hw_atalla.o: ../cryptlib.h hw_atalla.c vendor_defns/atalla.h
156 hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
157 hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
158 hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
159 hw_cswift.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
160 hw_cswift.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
161 hw_cswift.o: ../../include/openssl/engine.h ../../include/openssl/err.h
162 hw_cswift.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
163 hw_cswift.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
164 hw_cswift.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
165 hw_cswift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
166 hw_cswift.o: ../../include/openssl/types.h ../../include/openssl/ui.h
167 hw_cswift.o: ../cryptlib.h hw_cswift.c vendor_defns/cswift.h
168 hw_ncipher.o: ../../e_os.h ../../include/openssl/asn1.h
169 hw_ncipher.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
170 hw_ncipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
171 hw_ncipher.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
172 hw_ncipher.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
173 hw_ncipher.o: ../../include/openssl/engine.h ../../include/openssl/err.h
174 hw_ncipher.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
175 hw_ncipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
176 hw_ncipher.o: ../../include/openssl/opensslconf.h
177 hw_ncipher.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
178 hw_ncipher.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
179 hw_ncipher.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
180 hw_ncipher.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
181 hw_ncipher.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
182 hw_ncipher.o: ../../include/openssl/types.h ../../include/openssl/ui.h
183 hw_ncipher.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
184 hw_ncipher.o: ../cryptlib.h hw_ncipher.c vendor_defns/hwcryptohook.h
185 hw_nuron.o: ../../e_os.h ../../include/openssl/asn1.h
186 hw_nuron.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
187 hw_nuron.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
188 hw_nuron.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
189 hw_nuron.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
190 hw_nuron.o: ../../include/openssl/engine.h ../../include/openssl/err.h
191 hw_nuron.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
192 hw_nuron.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
193 hw_nuron.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
194 hw_nuron.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
195 hw_nuron.o: ../../include/openssl/types.h ../../include/openssl/ui.h
196 hw_nuron.o: ../cryptlib.h hw_nuron.c
197 hw_ubsec.o: ../../e_os.h ../../include/openssl/asn1.h
198 hw_ubsec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
199 hw_ubsec.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
200 hw_ubsec.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
201 hw_ubsec.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
202 hw_ubsec.o: ../../include/openssl/engine.h ../../include/openssl/err.h
203 hw_ubsec.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
204 hw_ubsec.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
205 hw_ubsec.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
206 hw_ubsec.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
207 hw_ubsec.o: ../../include/openssl/types.h ../../include/openssl/ui.h
208 hw_ubsec.o: ../cryptlib.h hw_ubsec.c vendor_defns/hw_ubsec.h