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
64 dest4-sparcv9.s: asm/dest4-sparcv9.pl
65 $(PERL) asm/dest4-sparcv9.pl $(CFLAGS) > $@
67 des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
68 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
69 crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
70 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
73 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
76 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
77 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
78 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
80 # We need to use force because 'install' matches 'INSTALL' on case
84 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
85 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
87 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
88 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
97 lint -DLINT $(INCLUDES) $(SRC)>fluff
100 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
101 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
104 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
105 mv -f Makefile.new $(MAKEFILE)
108 rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
110 # DO NOT DELETE THIS LINE -- make depend depends on it.
112 cbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
113 cbc_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
114 cbc_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
115 cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
117 cbc_cksm.o: cbc_cksm.c des_locl.h
118 cbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
119 cbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.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/des.h
125 cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
126 cfb64ede.o: ../../include/openssl/opensslconf.h
127 cfb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
128 cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
129 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
130 cfb64ede.o: cfb64ede.c des_locl.h
131 cfb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
132 cfb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
133 cfb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
134 cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
135 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
136 cfb64enc.o: cfb64enc.c des_locl.h
137 cfb_enc.o: ../../e_os.h ../../include/openssl/des.h
138 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
139 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h
140 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
142 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
143 des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
144 des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
145 des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
146 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
147 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
148 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
149 des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h
150 des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
151 des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
152 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
153 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
155 des_old.o: ../../include/openssl/ui_compat.h des_old.c
156 des_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
157 des_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
158 des_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
159 des_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
160 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
161 des_old2.o: ../../include/openssl/ui_compat.h des_old2.c
162 ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
163 ecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
164 ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
165 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
166 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
167 ecb3_enc.o: des_locl.h ecb3_enc.c
168 ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
169 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
170 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
171 ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
172 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
173 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
174 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
175 ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
176 ede_cbcm_enc.o: ../../include/openssl/e_os2.h
177 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
178 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h
179 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
180 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
181 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
182 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
183 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
184 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
185 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
186 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
187 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188 enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189 enc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
190 enc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h
191 enc_read.o: enc_read.c
192 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
193 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
194 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
195 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
196 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
197 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
198 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
199 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
200 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
201 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
202 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
203 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
204 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
205 fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
206 fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
207 fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
208 fcrypt.o: des_locl.h fcrypt.c
209 fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
210 fcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
211 fcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
212 fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
213 fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
214 fcrypt_b.o: des_locl.h fcrypt_b.c
215 ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
216 ofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
217 ofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
218 ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
219 ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
220 ofb64ede.o: des_locl.h ofb64ede.c
221 ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
222 ofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
223 ofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
224 ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
225 ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
226 ofb64enc.o: des_locl.h ofb64enc.c
227 ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
228 ofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
229 ofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
230 ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
231 ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
232 ofb_enc.o: des_locl.h ofb_enc.c
233 pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
234 pcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
235 pcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
236 pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
237 pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
238 pcbc_enc.o: des_locl.h pcbc_enc.c
239 qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
240 qud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
241 qud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
242 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
243 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
244 qud_cksm.o: des_locl.h qud_cksm.c
245 rand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
246 rand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
247 rand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
248 rand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
249 rand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
250 rand_key.o: ../../include/openssl/ui_compat.h rand_key.c
251 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
252 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
253 read2pwd.o: ../../include/openssl/opensslconf.h
254 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
255 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
256 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
257 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
258 rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
259 rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
260 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
261 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
262 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
263 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
264 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
265 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
266 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
267 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
268 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
269 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
270 set_key.o: des_locl.h set_key.c
271 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
272 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
273 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
274 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
275 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
276 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
277 str2key.o: des_locl.h str2key.c
278 xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
279 xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
280 xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
281 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
282 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
283 xcbc_enc.o: des_locl.h xcbc_enc.c