]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/des/Makefile
Remove fipscanister build functionality from makefiles.
[thirdparty/openssl.git] / crypto / des / Makefile
1 #
2 # OpenSSL/crypto/des/Makefile
3 #
4
5 DIR= des
6 TOP= ../..
7 CC= cc
8 CPP= $(CC) -E
9 INCLUDES=-I$(TOP) -I../../include
10 CFLAG=-g
11 MAKEFILE= Makefile
12 AR= ar r
13 RANLIB= ranlib
14 DES_ENC= des_enc.o fcrypt_b.o
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
18 AFLAGS= $(ASFLAGS)
19
20 GENERAL=Makefile
21 TEST=destest.c
22 APPS=
23
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 \
30 xcbc_enc.c \
31 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \
32 read2pwd.c
33
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 \
38 ${DES_ENC} \
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
41
42 SRC= $(LIBSRC)
43
44 EXHEADER= des.h des_old.h
45 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
46
47 ALL= $(GENERAL) $(SRC) $(HEADER)
48
49 top:
50 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
51
52 all: lib
53
54 lib: $(LIBOBJ)
55 $(AR) $(LIB) $(LIBOBJ)
56 $(RANLIB) $(LIB) || echo Never mind.
57 @touch lib
58
59 des_enc-sparc.S: asm/des_enc.m4
60 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
61 dest4-sparcv9.s: asm/dest4-sparcv9.pl
62 $(PERL) asm/dest4-sparcv9.pl $(CFLAGS) > $@
63
64 des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
65 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
66 crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
67 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
68
69 files:
70 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
71
72 links:
73 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
74 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
75 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
76
77 # We need to use force because 'install' matches 'INSTALL' on case
78 # insensitive systems
79 FRC.install:
80 install: FRC.install
81 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
82 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
83 do \
84 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
85 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
86 done;
87
88 tags:
89 ctags $(SRC)
90
91 tests:
92
93 lint:
94 lint -DLINT $(INCLUDES) $(SRC)>fluff
95
96 depend:
97 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
98 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
99
100 dclean:
101 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
102 mv -f Makefile.new $(MAKEFILE)
103
104 clean:
105 rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
106
107 # DO NOT DELETE THIS LINE -- make depend depends on it.
108
109 cbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
110 cbc_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
111 cbc_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
112 cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
113 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
114 cbc_cksm.o: cbc_cksm.c des_locl.h
115 cbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
116 cbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
117 cbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
118 cbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
119 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
120 cbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c
121 cfb64ede.o: ../../e_os.h ../../include/openssl/des.h
122 cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
123 cfb64ede.o: ../../include/openssl/opensslconf.h
124 cfb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
125 cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
126 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
127 cfb64ede.o: cfb64ede.c des_locl.h
128 cfb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
129 cfb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
130 cfb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
131 cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
132 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
133 cfb64enc.o: cfb64enc.c des_locl.h
134 cfb_enc.o: ../../e_os.h ../../include/openssl/des.h
135 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
136 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h
137 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
138 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
139 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
140 des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
141 des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
142 des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
143 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
144 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
145 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
146 des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h
147 des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
148 des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
149 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
150 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
151 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
152 des_old.o: ../../include/openssl/ui_compat.h des_old.c
153 des_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
154 des_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
155 des_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
156 des_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
157 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
158 des_old2.o: ../../include/openssl/ui_compat.h des_old2.c
159 ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
160 ecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
161 ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
162 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
163 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
164 ecb3_enc.o: des_locl.h ecb3_enc.c
165 ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
166 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
167 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
168 ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
170 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
171 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
172 ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
173 ede_cbcm_enc.o: ../../include/openssl/e_os2.h
174 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
175 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h
176 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
177 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
178 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
179 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
180 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
181 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
182 enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
183 enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
184 enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
185 enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
186 enc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
187 enc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h
188 enc_read.o: enc_read.c
189 enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
190 enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
191 enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
192 enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
193 enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
194 enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195 enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
196 enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
197 enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
198 enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
199 fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
200 fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
201 fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
202 fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
203 fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
204 fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
205 fcrypt.o: des_locl.h fcrypt.c
206 fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
207 fcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
208 fcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
209 fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
210 fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
211 fcrypt_b.o: des_locl.h fcrypt_b.c
212 ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
213 ofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
214 ofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
215 ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
216 ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
217 ofb64ede.o: des_locl.h ofb64ede.c
218 ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
219 ofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
220 ofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
221 ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
222 ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
223 ofb64enc.o: des_locl.h ofb64enc.c
224 ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
225 ofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
226 ofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
227 ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
228 ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
229 ofb_enc.o: des_locl.h ofb_enc.c
230 pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
231 pcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
232 pcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
233 pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
234 pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
235 pcbc_enc.o: des_locl.h pcbc_enc.c
236 qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
237 qud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
238 qud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
239 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
240 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
241 qud_cksm.o: des_locl.h qud_cksm.c
242 rand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
243 rand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
244 rand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
245 rand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
246 rand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
247 rand_key.o: ../../include/openssl/ui_compat.h rand_key.c
248 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
249 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
250 read2pwd.o: ../../include/openssl/opensslconf.h
251 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
252 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
253 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
254 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
255 rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
256 rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
257 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
258 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
259 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
260 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
261 set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
262 set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
263 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
264 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
265 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
266 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
267 set_key.o: des_locl.h set_key.c
268 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
269 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
270 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
271 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
272 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
273 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
274 str2key.o: des_locl.h str2key.c
275 xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
276 xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
277 xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
278 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
279 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
280 xcbc_enc.o: des_locl.h xcbc_enc.c