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