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 des_old2.c \
40 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
41 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
42 enc_read.o enc_writ.o ofb64enc.o \
43 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
45 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
46 ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o
50 EXHEADER= des.h des_old.h
51 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
53 ALL= $(GENERAL) $(SRC) $(HEADER)
56 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
61 $(AR) $(LIB) $(LIBOBJ)
62 $(RANLIB) $(LIB) || echo Never mind.
65 des: des.o cbc3_enc.o lib
66 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
69 asm/dx86-elf.o: asm/dx86unix.cpp
70 $(CPP) -DELF -x c asm/dx86unix.cpp | as -o asm/dx86-elf.o
72 asm/yx86-elf.o: asm/yx86unix.cpp
73 $(CPP) -DELF -x c asm/yx86unix.cpp | as -o asm/yx86-elf.o
76 asm/dx86-sol.o: asm/dx86unix.cpp
77 $(CC) -E -DSOL asm/dx86unix.cpp | sed 's/^#.*//' > asm/dx86-sol.s
78 as -o asm/dx86-sol.o asm/dx86-sol.s
81 asm/yx86-sol.o: asm/yx86unix.cpp
82 $(CC) -E -DSOL asm/yx86unix.cpp | sed 's/^#.*//' > asm/yx86-sol.s
83 as -o asm/yx86-sol.o asm/yx86-sol.s
87 asm/dx86-out.o: asm/dx86unix.cpp
88 $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o
90 asm/yx86-out.o: asm/yx86unix.cpp
91 $(CPP) -DOUT asm/yx86unix.cpp | as -o asm/yx86-out.o
94 asm/dx86bsdi.o: asm/dx86unix.cpp
95 $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o
97 asm/yx86bsdi.o: asm/yx86unix.cpp
98 $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o
100 asm/dx86unix.cpp: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
101 (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp)
103 asm/yx86unix.cpp: asm/crypt586.pl ../perlasm/x86asm.pl
104 (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp)
107 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
110 @$(TOP)/util/point.sh Makefile.ssl Makefile
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) $(CFLAG) $(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 des_old2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
191 des_old2.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
192 des_old2.o: ../../include/openssl/opensslconf.h
193 des_old2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
194 des_old2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
195 des_old2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
196 des_old2.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
197 des_old2.o: des_old2.c
198 ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
199 ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
200 ecb3_enc.o: ../../include/openssl/opensslconf.h
201 ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
202 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
203 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
204 ecb3_enc.o: des_locl.h ecb3_enc.c
205 ecb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
206 ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
207 ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
208 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
209 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
210 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
212 ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
213 ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
214 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
215 ede_cbcm_enc.o: ../../include/openssl/opensslv.h
216 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
217 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
218 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
219 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
220 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
221 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
222 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
223 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
224 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
225 enc_read.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
226 enc_read.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
227 enc_read.o: ../cryptlib.h des_locl.h enc_read.c
228 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
229 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
230 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
231 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
232 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
233 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
234 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
235 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
236 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
237 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
238 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
239 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
240 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
241 fcrypt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
242 fcrypt.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
243 fcrypt.o: ../../include/openssl/ui_compat.h des_locl.h fcrypt.c
244 fcrypt_b.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
245 fcrypt_b.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
246 fcrypt_b.o: ../../include/openssl/opensslconf.h
247 fcrypt_b.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
248 fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
249 fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
250 fcrypt_b.o: des_locl.h fcrypt_b.c
251 ofb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
252 ofb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
253 ofb64ede.o: ../../include/openssl/opensslconf.h
254 ofb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
255 ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
256 ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
257 ofb64ede.o: des_locl.h ofb64ede.c
258 ofb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
259 ofb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
260 ofb64enc.o: ../../include/openssl/opensslconf.h
261 ofb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
262 ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
263 ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
264 ofb64enc.o: des_locl.h ofb64enc.c
265 ofb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
266 ofb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
267 ofb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
268 ofb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
269 ofb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
270 ofb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ofb_enc.c
271 pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
272 pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
273 pcbc_enc.o: ../../include/openssl/opensslconf.h
274 pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
275 pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
276 pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
277 pcbc_enc.o: des_locl.h pcbc_enc.c
278 qud_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
279 qud_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
280 qud_cksm.o: ../../include/openssl/opensslconf.h
281 qud_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
282 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
283 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
284 qud_cksm.o: des_locl.h qud_cksm.c
285 rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
286 rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
287 rand_key.o: ../../include/openssl/opensslconf.h
288 rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
289 rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
290 rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
291 rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
292 rand_key.o: rand_key.c
293 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
294 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
295 read2pwd.o: ../../include/openssl/opensslconf.h
296 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
297 read2pwd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
298 read2pwd.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
299 read2pwd.o: read2pwd.c
300 rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
301 rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
302 rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
303 rpc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
304 rpc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
305 rpc_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h rpc_des.h
307 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
308 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
309 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
310 set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
311 set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
312 set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c
313 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
314 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
315 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
316 str2key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
317 str2key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
318 str2key.o: ../../include/openssl/ui_compat.h des_locl.h str2key.c
319 xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
320 xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
321 xcbc_enc.o: ../../include/openssl/opensslconf.h
322 xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
323 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
324 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
325 xcbc_enc.o: des_locl.h xcbc_enc.c