2 # SSLeay/crypto/des/Makefile
9 INCLUDES=-I$(TOP) -I../../include
12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP=/usr/local/ssl
14 MAKE= make -f Makefile.ssl
15 MAKEDEPPROG= makedepend
16 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17 MAKEFILE= Makefile.ssl
20 DES_ENC= des_enc.o fcrypt_b.o
22 #DES_ENC= dx86-elf.o yx86-elf.o
24 CFLAGS= $(INCLUDES) $(CFLAG)
30 LIB=$(TOP)/libcrypto.a
31 LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
32 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
33 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
34 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
35 des_enc.c fcrypt_b.c \
37 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c read2pwd.c
39 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
40 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
41 enc_read.o enc_writ.o ofb64enc.o \
42 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
44 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
45 ede_cbcm_enc.o des_old.o read2pwd.o
49 EXHEADER= des.h des_old.h
50 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
52 ALL= $(GENERAL) $(SRC) $(HEADER)
55 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
60 $(AR) $(LIB) $(LIBOBJ)
61 $(RANLIB) $(LIB) || echo Never mind.
64 des: des.o cbc3_enc.o lib
65 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
68 asm/dx86-elf.o: asm/dx86unix.cpp
69 $(CPP) -DELF -x c asm/dx86unix.cpp | as -o asm/dx86-elf.o
71 asm/yx86-elf.o: asm/yx86unix.cpp
72 $(CPP) -DELF -x c asm/yx86unix.cpp | as -o asm/yx86-elf.o
75 asm/dx86-sol.o: asm/dx86unix.cpp
76 $(CC) -E -DSOL asm/dx86unix.cpp | sed 's/^#.*//' > asm/dx86-sol.s
77 as -o asm/dx86-sol.o asm/dx86-sol.s
80 asm/yx86-sol.o: asm/yx86unix.cpp
81 $(CC) -E -DSOL asm/yx86unix.cpp | sed 's/^#.*//' > asm/yx86-sol.s
82 as -o asm/yx86-sol.o asm/yx86-sol.s
86 asm/dx86-out.o: asm/dx86unix.cpp
87 $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o
89 asm/yx86-out.o: asm/yx86unix.cpp
90 $(CPP) -DOUT asm/yx86unix.cpp | as -o asm/yx86-out.o
93 asm/dx86bsdi.o: asm/dx86unix.cpp
94 $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o
96 asm/yx86bsdi.o: asm/yx86unix.cpp
97 $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o
99 asm/dx86unix.cpp: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
100 (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp)
102 asm/yx86unix.cpp: asm/crypt586.pl ../perlasm/x86asm.pl
103 (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp)
106 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
109 @$(TOP)/util/point.sh Makefile.ssl Makefile
110 @$(TOP)/util/point.sh ../../perlasm asm/perlasm
111 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
112 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
113 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
118 @for i in $(EXHEADER) ; \
120 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
121 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
130 lint -DLINT $(INCLUDES) $(SRC)>fluff
133 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
136 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
137 mv -f Makefile.new $(MAKEFILE)
140 rm -f asm/dx86unix.cpp asm/yx86unix.cpp *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
142 # DO NOT DELETE THIS LINE -- make depend depends on it.
144 cbc_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
145 cbc_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
146 cbc_cksm.o: ../../include/openssl/opensslconf.h
147 cbc_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
148 cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
149 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
150 cbc_cksm.o: cbc_cksm.c des_locl.h
151 cbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
152 cbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
153 cbc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
154 cbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
155 cbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
156 cbc_enc.o: ../../include/openssl/ui_compat.h cbc_enc.c des_locl.h ncbc_enc.c
157 cfb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
158 cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
159 cfb64ede.o: ../../include/openssl/opensslconf.h
160 cfb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
161 cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
162 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
163 cfb64ede.o: cfb64ede.c des_locl.h
164 cfb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
165 cfb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
166 cfb64enc.o: ../../include/openssl/opensslconf.h
167 cfb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
168 cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
169 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
170 cfb64enc.o: cfb64enc.c des_locl.h
171 cfb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
172 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
173 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
174 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
175 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
176 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
177 des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
178 des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
179 des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
180 des_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
181 des_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
182 des_enc.o: ../../include/openssl/ui_compat.h des_enc.c des_locl.h ncbc_enc.c
183 des_old.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
184 des_old.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
185 des_old.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
186 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
187 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
188 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
189 des_old.o: ../../include/openssl/ui_compat.h des_old.c
190 ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
191 ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
192 ecb3_enc.o: ../../include/openssl/opensslconf.h
193 ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
194 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
195 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
196 ecb3_enc.o: des_locl.h ecb3_enc.c
197 ecb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
198 ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
199 ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
200 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
201 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
202 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb_enc.c spr.h
203 ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
204 ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
205 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
206 ede_cbcm_enc.o: ../../include/openssl/opensslv.h
207 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
208 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
209 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
210 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
211 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
212 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
213 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
214 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
215 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
216 enc_read.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
217 enc_read.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
218 enc_read.o: ../cryptlib.h des_locl.h enc_read.c
219 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
220 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
221 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
222 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
223 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
224 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
225 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
226 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
227 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
228 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
229 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
230 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
231 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
232 fcrypt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
233 fcrypt.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
234 fcrypt.o: ../../include/openssl/ui_compat.h des_locl.h fcrypt.c
235 fcrypt_b.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
236 fcrypt_b.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
237 fcrypt_b.o: ../../include/openssl/opensslconf.h
238 fcrypt_b.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
239 fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
240 fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
241 fcrypt_b.o: des_locl.h fcrypt_b.c
242 ofb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
243 ofb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
244 ofb64ede.o: ../../include/openssl/opensslconf.h
245 ofb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
246 ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
247 ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
248 ofb64ede.o: des_locl.h ofb64ede.c
249 ofb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
250 ofb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
251 ofb64enc.o: ../../include/openssl/opensslconf.h
252 ofb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
253 ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
254 ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
255 ofb64enc.o: des_locl.h ofb64enc.c
256 ofb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
257 ofb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
258 ofb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
259 ofb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
260 ofb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
261 ofb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ofb_enc.c
262 pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
263 pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
264 pcbc_enc.o: ../../include/openssl/opensslconf.h
265 pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
266 pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
267 pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
268 pcbc_enc.o: des_locl.h pcbc_enc.c
269 qud_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
270 qud_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
271 qud_cksm.o: ../../include/openssl/opensslconf.h
272 qud_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
273 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
274 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
275 qud_cksm.o: des_locl.h qud_cksm.c
276 rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
277 rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
278 rand_key.o: ../../include/openssl/opensslconf.h
279 rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
280 rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
281 rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
282 rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
283 rand_key.o: rand_key.c
284 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
285 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
286 read2pwd.o: ../../include/openssl/opensslconf.h
287 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
288 read2pwd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
289 read2pwd.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
290 read2pwd.o: read2pwd.c
291 rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
292 rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
293 rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
294 rpc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
295 rpc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
296 rpc_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h rpc_des.h
298 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
299 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
300 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
301 set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
302 set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
303 set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c
304 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
305 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
306 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
307 str2key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
308 str2key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
309 str2key.o: ../../include/openssl/ui_compat.h des_locl.h str2key.c
310 xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
311 xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
312 xcbc_enc.o: ../../include/openssl/opensslconf.h
313 xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
314 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
315 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
316 xcbc_enc.o: des_locl.h xcbc_enc.c