2 # OpenSSL/crypto/des/Makefile
9 INCLUDES=-I$(TOP) -I../../include
14 DES_ENC= des_enc.o fcrypt_b.o
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
26 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
27 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
28 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
29 des_enc.c fcrypt_b.c \
31 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \
34 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
35 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
36 enc_read.o enc_writ.o ofb64enc.o \
37 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
39 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
40 ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o
44 EXHEADER= des.h des_old.h
45 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
47 ALL= $(GENERAL) $(SRC) $(HEADER)
50 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
55 $(ARX) $(LIB) $(LIBOBJ)
56 $(RANLIB) $(LIB) || echo Never mind.
59 des: des.o cbc3_enc.o lib
60 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
62 des_enc-sparc.S: asm/des_enc.m4
63 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
65 des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
66 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
67 crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
68 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
71 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
74 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
75 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
76 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
78 # We need to use force because 'install' matches 'INSTALL' on case
82 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
83 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
85 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
86 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
95 lint -DLINT $(INCLUDES) $(SRC)>fluff
98 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
99 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
102 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
103 mv -f Makefile.new $(MAKEFILE)
106 rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
108 # DO NOT DELETE THIS LINE -- make depend depends on it.
110 cbc_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
111 cbc_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
112 cbc_cksm.o: ../../include/openssl/opensslconf.h
113 cbc_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
114 cbc_cksm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
115 cbc_cksm.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
116 cbc_cksm.o: ../../include/openssl/ui_compat.h cbc_cksm.c des_locl.h
117 cbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
118 cbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
119 cbc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
120 cbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
121 cbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
122 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
123 cbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c
124 cfb64ede.o: ../../e_os.h ../../include/openssl/crypto.h
125 cfb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
126 cfb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
127 cfb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
128 cfb64ede.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
129 cfb64ede.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
130 cfb64ede.o: ../../include/openssl/ui_compat.h cfb64ede.c des_locl.h
131 cfb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
132 cfb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
133 cfb64enc.o: ../../include/openssl/opensslconf.h
134 cfb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
135 cfb64enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136 cfb64enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
137 cfb64enc.o: ../../include/openssl/ui_compat.h cfb64enc.c des_locl.h
138 cfb_enc.o: ../../e_os.h ../../include/openssl/crypto.h
139 cfb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
140 cfb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
141 cfb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
142 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
143 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
144 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
145 des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
146 des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
147 des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
148 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
149 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
150 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
151 des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h
152 des_old.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
153 des_old.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
154 des_old.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
155 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
156 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
157 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
158 des_old.o: ../../include/openssl/ui_compat.h des_old.c
159 des_old2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
160 des_old2.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
161 des_old2.o: ../../include/openssl/opensslconf.h
162 des_old2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
163 des_old2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
164 des_old2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
165 des_old2.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
166 des_old2.o: des_old2.c
167 ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
168 ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
169 ecb3_enc.o: ../../include/openssl/opensslconf.h
170 ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
171 ecb3_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
172 ecb3_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
173 ecb3_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb3_enc.c
174 ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
175 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
176 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
177 ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
178 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
179 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
180 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
181 ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
182 ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
183 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
184 ede_cbcm_enc.o: ../../include/openssl/opensslv.h
185 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h
186 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
187 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
188 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
189 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
190 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
191 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
192 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
193 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
194 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195 enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196 enc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
197 enc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h
198 enc_read.o: enc_read.c
199 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
200 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
201 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
202 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
203 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
204 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
205 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
206 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
207 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
208 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
209 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
210 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
211 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
212 fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
213 fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
214 fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
215 fcrypt.o: des_locl.h fcrypt.c
216 fcrypt_b.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
217 fcrypt_b.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
218 fcrypt_b.o: ../../include/openssl/opensslconf.h
219 fcrypt_b.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
220 fcrypt_b.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
221 fcrypt_b.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
222 fcrypt_b.o: ../../include/openssl/ui_compat.h des_locl.h fcrypt_b.c
223 ofb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
224 ofb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
225 ofb64ede.o: ../../include/openssl/opensslconf.h
226 ofb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
227 ofb64ede.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
228 ofb64ede.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
229 ofb64ede.o: ../../include/openssl/ui_compat.h des_locl.h ofb64ede.c
230 ofb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
231 ofb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
232 ofb64enc.o: ../../include/openssl/opensslconf.h
233 ofb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
234 ofb64enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
235 ofb64enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
236 ofb64enc.o: ../../include/openssl/ui_compat.h des_locl.h ofb64enc.c
237 ofb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
238 ofb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
239 ofb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
240 ofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
241 ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
242 ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
243 ofb_enc.o: des_locl.h ofb_enc.c
244 pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
245 pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
246 pcbc_enc.o: ../../include/openssl/opensslconf.h
247 pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
248 pcbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
249 pcbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
250 pcbc_enc.o: ../../include/openssl/ui_compat.h des_locl.h pcbc_enc.c
251 qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
252 qud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
253 qud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
254 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
255 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
256 qud_cksm.o: des_locl.h qud_cksm.c
257 rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
258 rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
259 rand_key.o: ../../include/openssl/opensslconf.h
260 rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
261 rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
262 rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
263 rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
264 rand_key.o: rand_key.c
265 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
266 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
267 read2pwd.o: ../../include/openssl/opensslconf.h
268 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
269 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
270 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
271 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
272 rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
273 rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
274 rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
275 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
276 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
277 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
278 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
279 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
280 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
281 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
282 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
283 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
284 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
285 set_key.o: des_locl.h set_key.c
286 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
287 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
288 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
289 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
290 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
291 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
292 str2key.o: des_locl.h str2key.c
293 xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
294 xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
295 xcbc_enc.o: ../../include/openssl/opensslconf.h
296 xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
297 xcbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
298 xcbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
299 xcbc_enc.o: ../../include/openssl/ui_compat.h des_locl.h xcbc_enc.c