]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/des/Makefile
"#if 0" removal: header files
[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 \
109f1031 31 str2key.c cfb64ede.c ofb64ede.c des_old.c des_old2.c \
401cd0af 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 \
109f1031 40 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
ce92b6eb
AP
172enc_read.o: ../../e_os.h ../../include/openssl/bio.h
173enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
fe19c448 174enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
ce92b6eb
AP
175enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
176enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
177enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
178enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
179enc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
180enc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h
181enc_read.o: enc_read.c
182enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
183enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
fe19c448 184enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
ce92b6eb
AP
185enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
186enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
187enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
189enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
190enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
191enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c
b7056b64
DSH
192fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
193fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
194fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
c57bc2dc
GT
195fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
196fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
197fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
198fcrypt.o: des_locl.h fcrypt.c
71fa4513
BL
199fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
200fcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
201fcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
202fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
203fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
204fcrypt_b.o: des_locl.h fcrypt_b.c
205ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
206ofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
207ofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
208ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
209ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
210ofb64ede.o: des_locl.h ofb64ede.c
211ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
212ofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
213ofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
214ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
215ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
216ofb64enc.o: des_locl.h ofb64enc.c
217ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
218ofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
219ofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
220ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
221ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
222ofb_enc.o: des_locl.h ofb_enc.c
71fa4513
BL
223pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
224pcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
225pcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
226pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
227pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
228pcbc_enc.o: des_locl.h pcbc_enc.c
9c52d2cc
GT
229qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
230qud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
231qud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
232qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
233qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
234qud_cksm.o: des_locl.h qud_cksm.c
71fa4513
BL
235rand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
236rand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
237rand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
238rand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
239rand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
240rand_key.o: ../../include/openssl/ui_compat.h rand_key.c
de2f6e4d
RL
241read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
242read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
243read2pwd.o: ../../include/openssl/opensslconf.h
c57bc2dc
GT
244read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
245read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
246read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
247read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
71fa4513
BL
248rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
249rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
250rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
251rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
252rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
253rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
b7056b64
DSH
254set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
255set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
256set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
c57bc2dc
GT
257set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
258set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
259set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
260set_key.o: des_locl.h set_key.c
de2f6e4d
RL
261str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
262str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
263str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
c57bc2dc
GT
264str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
265str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
266str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
267str2key.o: des_locl.h str2key.c
71fa4513
BL
268xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
269xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
270xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
271xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
272xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
273xcbc_enc.o: des_locl.h xcbc_enc.c