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)
25 ASFLAGS= $(INCLUDES) $(ASFLAG)
31 LIB=$(TOP)/libcrypto.a
32 LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
33 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
34 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
35 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
36 des_enc.c fcrypt_b.c \
38 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \
41 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
42 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
43 enc_read.o enc_writ.o ofb64enc.o \
44 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
46 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
47 ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o
51 EXHEADER= des.h des_old.h
52 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
54 ALL= $(GENERAL) $(SRC) $(HEADER)
57 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
62 $(AR) $(LIB) $(LIBOBJ)
63 $(RANLIB) $(LIB) || echo Never mind.
66 des: des.o cbc3_enc.o lib
67 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
69 asm/des_enc-sparc.S: asm/des_enc.m4
70 m4 -B 8192 asm/des_enc.m4 > asm/des_enc-sparc.S
73 asm/dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
74 (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > dx86-elf.s)
76 asm/yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
77 (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > yx86-elf.s)
80 asm/dx86-out.o: asm/dx86unix.cpp
81 $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o
83 asm/yx86-out.o: asm/yx86unix.cpp
84 $(CPP) -DOUT asm/yx86unix.cpp | as -o asm/yx86-out.o
87 asm/dx86bsdi.o: asm/dx86unix.cpp
88 $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o
90 asm/yx86bsdi.o: asm/yx86unix.cpp
91 $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o
93 asm/dx86unix.cpp: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
94 (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp)
96 asm/yx86unix.cpp: asm/crypt586.pl ../perlasm/x86asm.pl
97 (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp)
100 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
103 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
104 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
105 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
106 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
111 @for i in $(EXHEADER) ; \
113 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
114 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
123 lint -DLINT $(INCLUDES) $(SRC)>fluff
126 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
129 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
130 mv -f Makefile.new $(MAKEFILE)
133 rm -f asm/dx86unix.cpp asm/yx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
135 # DO NOT DELETE THIS LINE -- make depend depends on it.
137 cbc_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
138 cbc_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
139 cbc_cksm.o: ../../include/openssl/opensslconf.h
140 cbc_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
141 cbc_cksm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
142 cbc_cksm.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
143 cbc_cksm.o: ../../include/openssl/ui_compat.h cbc_cksm.c des_locl.h
144 cbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
145 cbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
146 cbc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
147 cbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
148 cbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
149 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
150 cbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c
151 cfb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
152 cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
153 cfb64ede.o: ../../include/openssl/opensslconf.h
154 cfb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
155 cfb64ede.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
156 cfb64ede.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
157 cfb64ede.o: ../../include/openssl/ui_compat.h cfb64ede.c des_locl.h
158 cfb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
159 cfb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
160 cfb64enc.o: ../../include/openssl/opensslconf.h
161 cfb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
162 cfb64enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
163 cfb64enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
164 cfb64enc.o: ../../include/openssl/ui_compat.h cfb64enc.c des_locl.h
165 cfb_enc.o: ../../e_os.h ../../include/openssl/crypto.h
166 cfb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
167 cfb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
168 cfb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
170 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
171 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
172 des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
173 des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
174 des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
175 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
176 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
177 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
178 des_enc.o: des_enc.c des_locl.h ncbc_enc.c
179 des_old.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
180 des_old.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
181 des_old.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
182 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
183 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
184 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
185 des_old.o: ../../include/openssl/ui_compat.h des_old.c
186 des_old2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
187 des_old2.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
188 des_old2.o: ../../include/openssl/opensslconf.h
189 des_old2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
190 des_old2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
191 des_old2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
192 des_old2.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
193 des_old2.o: des_old2.c
194 ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
195 ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
196 ecb3_enc.o: ../../include/openssl/opensslconf.h
197 ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
198 ecb3_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
199 ecb3_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
200 ecb3_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb3_enc.c
201 ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
202 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
203 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
204 ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
205 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
206 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
207 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
209 ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
210 ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
211 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
212 ede_cbcm_enc.o: ../../include/openssl/opensslv.h
213 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h
214 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
215 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
216 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
217 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
218 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
219 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
220 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
221 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
222 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
223 enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
224 enc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
225 enc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h
226 enc_read.o: enc_read.c
227 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
228 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
229 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
230 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
231 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
232 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
233 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
234 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
235 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
236 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
237 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
238 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
239 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
240 fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
241 fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
242 fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
243 fcrypt.o: 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/ossl_typ.h
248 fcrypt_b.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
249 fcrypt_b.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
250 fcrypt_b.o: ../../include/openssl/ui_compat.h 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/ossl_typ.h
255 ofb64ede.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
256 ofb64ede.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
257 ofb64ede.o: ../../include/openssl/ui_compat.h 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/ossl_typ.h
262 ofb64enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
263 ofb64enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
264 ofb64enc.o: ../../include/openssl/ui_compat.h 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/ossl_typ.h ../../include/openssl/safestack.h
269 ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
270 ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
271 ofb_enc.o: des_locl.h ofb_enc.c
272 pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
273 pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
274 pcbc_enc.o: ../../include/openssl/opensslconf.h
275 pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
276 pcbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
277 pcbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
278 pcbc_enc.o: ../../include/openssl/ui_compat.h des_locl.h pcbc_enc.c
279 qud_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
280 qud_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
281 qud_cksm.o: ../../include/openssl/opensslconf.h
282 qud_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
283 qud_cksm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
284 qud_cksm.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
285 qud_cksm.o: ../../include/openssl/ui_compat.h des_locl.h qud_cksm.c
286 rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
287 rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
288 rand_key.o: ../../include/openssl/opensslconf.h
289 rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
290 rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
291 rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
292 rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
293 rand_key.o: rand_key.c
294 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
295 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
296 read2pwd.o: ../../include/openssl/opensslconf.h
297 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
298 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
299 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
300 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
301 rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
302 rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
303 rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
304 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
305 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
306 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
307 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
308 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
309 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
310 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
311 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
312 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
313 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
314 set_key.o: des_locl.h set_key.c
315 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
316 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
317 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
318 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
319 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
320 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
321 str2key.o: des_locl.h str2key.c
322 xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
323 xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
324 xcbc_enc.o: ../../include/openssl/opensslconf.h
325 xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
326 xcbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
327 xcbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
328 xcbc_enc.o: ../../include/openssl/ui_compat.h des_locl.h xcbc_enc.c