Disable code that clearly doesn't currently serve any useful purpose.
[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: des.o cbc3_enc.o lib
60         $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
61
62 des_enc-sparc.S:        asm/des_enc.m4
63         m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
64
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) > $@
69
70 files:
71         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
72
73 links:
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)
77
78 # We need to use force because 'install' matches 'INSTALL' on case
79 # insensitive systems
80 FRC.install:
81 install: FRC.install
82         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
83         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
84         do  \
85         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
86         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
87         done;
88
89 tags:
90         ctags $(SRC)
91
92 tests:
93
94 lint:
95         lint -DLINT $(INCLUDES) $(SRC)>fluff
96
97 depend:
98         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
99         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
100
101 dclean:
102         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
103         mv -f Makefile.new $(MAKEFILE)
104
105 clean:
106         rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
107
108 # DO NOT DELETE THIS LINE -- make depend depends on it.
109
110 cbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
111 cbc_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
112 cbc_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
113 cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
115 cbc_cksm.o: cbc_cksm.c des_locl.h
116 cbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
117 cbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
118 cbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
119 cbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
120 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
121 cbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c
122 cfb64ede.o: ../../e_os.h ../../include/openssl/des.h
123 cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
124 cfb64ede.o: ../../include/openssl/opensslconf.h
125 cfb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
126 cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
127 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
128 cfb64ede.o: cfb64ede.c des_locl.h
129 cfb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
130 cfb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
131 cfb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
132 cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
133 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
134 cfb64enc.o: cfb64enc.c des_locl.h
135 cfb_enc.o: ../../e_os.h ../../include/openssl/des.h
136 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
137 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h
138 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
139 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
140 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
141 des_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
142 des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.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/des.h ../../include/openssl/des_old.h
200 fcrypt.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
201 fcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
202 fcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
203 fcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
204 fcrypt.o: des_locl.h fcrypt.c
205 fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
206 fcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
207 fcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
208 fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
209 fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
210 fcrypt_b.o: des_locl.h fcrypt_b.c
211 ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
212 ofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
213 ofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
214 ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
215 ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
216 ofb64ede.o: des_locl.h ofb64ede.c
217 ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
218 ofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
219 ofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
220 ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
221 ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
222 ofb64enc.o: des_locl.h ofb64enc.c
223 ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
224 ofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
225 ofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
226 ofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
227 ofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
228 ofb_enc.o: des_locl.h ofb_enc.c
229 pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
230 pcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
231 pcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
232 pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
233 pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
234 pcbc_enc.o: des_locl.h pcbc_enc.c
235 qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
236 qud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
237 qud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
238 qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
239 qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
240 qud_cksm.o: des_locl.h qud_cksm.c
241 rand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
242 rand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
243 rand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
244 rand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
245 rand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
246 rand_key.o: ../../include/openssl/ui_compat.h rand_key.c
247 read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
248 read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
249 read2pwd.o: ../../include/openssl/opensslconf.h
250 read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
251 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
252 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
253 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
254 rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
255 rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
256 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
257 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
258 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
259 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
260 set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
261 set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
262 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
263 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
264 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
265 set_key.o: des_locl.h set_key.c
266 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
267 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
268 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
269 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
270 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
271 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
272 str2key.o: des_locl.h str2key.c
273 xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
274 xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
275 xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
276 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
277 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
278 xcbc_enc.o: des_locl.h xcbc_enc.c