summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/crypto/des/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/crypto/des/Makefile')
-rw-r--r--src/lib/libssl/src/crypto/des/Makefile55
1 files changed, 18 insertions, 37 deletions
diff --git a/src/lib/libssl/src/crypto/des/Makefile b/src/lib/libssl/src/crypto/des/Makefile
index 786e68802e..ae982265fd 100644
--- a/src/lib/libssl/src/crypto/des/Makefile
+++ b/src/lib/libssl/src/crypto/des/Makefile
@@ -12,8 +12,6 @@ MAKEFILE= Makefile
12AR= ar r 12AR= ar r
13RANLIB= ranlib 13RANLIB= ranlib
14DES_ENC= des_enc.o fcrypt_b.o 14DES_ENC= des_enc.o fcrypt_b.o
15# or use
16#DES_ENC= dx86-elf.o yx86-elf.o
17 15
18CFLAGS= $(INCLUDES) $(CFLAG) 16CFLAGS= $(INCLUDES) $(CFLAG)
19ASFLAGS= $(INCLUDES) $(ASFLAG) 17ASFLAGS= $(INCLUDES) $(ASFLAG)
@@ -24,7 +22,7 @@ TEST=destest.c
24APPS= 22APPS=
25 23
26LIB=$(TOP)/libcrypto.a 24LIB=$(TOP)/libcrypto.a
27LIBSRC= des_lib.c cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ 25LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
28 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ 26 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
29 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ 27 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
30 qud_cksm.c rand_key.c rpc_enc.c set_key.c \ 28 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
@@ -33,7 +31,7 @@ LIBSRC= des_lib.c cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
33 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ 31 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \
34 read2pwd.c 32 read2pwd.c
35 33
36LIBOBJ= des_lib.o set_key.o ecb_enc.o cbc_enc.o \ 34LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
37 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ 35 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
38 enc_read.o enc_writ.o ofb64enc.o \ 36 enc_read.o enc_writ.o ofb64enc.o \
39 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ 37 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
@@ -54,7 +52,7 @@ top:
54all: lib 52all: lib
55 53
56lib: $(LIBOBJ) 54lib: $(LIBOBJ)
57 $(ARX) $(LIB) $(LIBOBJ) 55 $(AR) $(LIB) $(LIBOBJ)
58 $(RANLIB) $(LIB) || echo Never mind. 56 $(RANLIB) $(LIB) || echo Never mind.
59 @touch lib 57 @touch lib
60 58
@@ -64,21 +62,10 @@ des: des.o cbc3_enc.o lib
64des_enc-sparc.S: asm/des_enc.m4 62des_enc-sparc.S: asm/des_enc.m4
65 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S 63 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
66 64
67# ELF 65des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
68dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 66 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
69 (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > ../$@) 67crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
70yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 68 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
71 (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > ../$@)
72# COFF
73dx86-cof.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
74 (cd asm; $(PERL) des-586.pl coff $(CFLAGS) > ../$@)
75yx86-cof.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
76 (cd asm; $(PERL) crypt586.pl coff $(CFLAGS) > ../$@)
77# a.out
78dx86-out.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
79 (cd asm; $(PERL) des-586.pl a.out $(CFLAGS) > ../$@)
80yx86-out.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
81 (cd asm; $(PERL) crypt586.pl a.out $(CFLAGS) > ../$@)
82 69
83files: 70files:
84 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 71 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
@@ -156,14 +143,7 @@ des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
156des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 143des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
157des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 144des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
158des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 145des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
159des_enc.o: des_enc.c des_locl.h ncbc_enc.c 146des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h
160des_lib.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
161des_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
162des_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
163des_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
164des_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
165des_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
166des_lib.o: ../../include/openssl/ui_compat.h des_lib.c des_locl.h des_ver.h
167des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 147des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
168des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 148des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
169des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 149des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
@@ -182,12 +162,13 @@ ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
182ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 162ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
183ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 163ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
184ecb3_enc.o: des_locl.h ecb3_enc.c 164ecb3_enc.o: des_locl.h ecb3_enc.c
165ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
185ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 166ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
186ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 167ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
187ecb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 168ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188ecb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 169ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189ecb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 170ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
190ecb_enc.o: des_locl.h ecb_enc.c spr.h 171ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
191ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 172ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
192ede_cbcm_enc.o: ../../include/openssl/e_os2.h 173ede_cbcm_enc.o: ../../include/openssl/e_os2.h
193ede_cbcm_enc.o: ../../include/openssl/opensslconf.h 174ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
@@ -277,11 +258,11 @@ rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
277rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 258rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
278rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c 259rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
279set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 260set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
280set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/fips.h 261set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
281set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h 262set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
282set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 263set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
283set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 264set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
284set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c 265set_key.o: des_locl.h set_key.c
285str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 266str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
286str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 267str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
287str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 268str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h