summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/Makefile.ssl
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/des/Makefile.ssl
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/des/Makefile.ssl')
-rw-r--r--src/lib/libcrypto/des/Makefile.ssl126
1 files changed, 97 insertions, 29 deletions
diff --git a/src/lib/libcrypto/des/Makefile.ssl b/src/lib/libcrypto/des/Makefile.ssl
index 78b5189ee3..09fdd07305 100644
--- a/src/lib/libcrypto/des/Makefile.ssl
+++ b/src/lib/libcrypto/des/Makefile.ssl
@@ -6,11 +6,13 @@ DIR= des
6TOP= ../.. 6TOP= ../..
7CC= cc 7CC= cc
8CPP= $(CC) -E 8CPP= $(CC) -E
9INCLUDES= 9INCLUDES=-I../../include
10CFLAG=-g 10CFLAG=-g
11INSTALL_PREFIX=
12OPENSSLDIR= /usr/local/ssl
11INSTALLTOP=/usr/local/ssl 13INSTALLTOP=/usr/local/ssl
12MAKE= make -f Makefile.ssl 14MAKE= make -f Makefile.ssl
13MAKEDEPEND= makedepend -f Makefile.ssl 15MAKEDEPEND= $(TOP)/util/domd $(TOP)
14MAKEFILE= Makefile.ssl 16MAKEFILE= Makefile.ssl
15AR= ar r 17AR= ar r
16DES_ENC= des_enc.o fcrypt_b.o 18DES_ENC= des_enc.o fcrypt_b.o
@@ -19,7 +21,7 @@ DES_ENC= des_enc.o fcrypt_b.o
19 21
20CFLAGS= $(INCLUDES) $(CFLAG) 22CFLAGS= $(INCLUDES) $(CFLAG)
21 23
22GENERAL=Makefile des.org des_locl.org 24GENERAL=Makefile
23TEST=destest.c 25TEST=destest.c
24APPS= 26APPS=
25 27
@@ -30,14 +32,15 @@ LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
30 qud_cksm.c rand_key.c read_pwd.c rpc_enc.c set_key.c \ 32 qud_cksm.c rand_key.c read_pwd.c rpc_enc.c set_key.c \
31 des_enc.c fcrypt_b.c read2pwd.c \ 33 des_enc.c fcrypt_b.c read2pwd.c \
32 fcrypt.c xcbc_enc.c \ 34 fcrypt.c xcbc_enc.c \
33 str2key.c cfb64ede.c ofb64ede.c supp.c 35 str2key.c cfb64ede.c ofb64ede.c supp.c ede_cbcm_enc.c
34 36
35LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \ 37LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
36 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ 38 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
37 enc_read.o enc_writ.o ofb64enc.o \ 39 enc_read.o enc_writ.o ofb64enc.o \
38 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ 40 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
39 ${DES_ENC} read2pwd.o \ 41 ${DES_ENC} read2pwd.o \
40 fcrypt.o xcbc_enc.o read_pwd.o rpc_enc.o cbc_cksm.o supp.o 42 fcrypt.o xcbc_enc.o read_pwd.o rpc_enc.o cbc_cksm.o supp.o \
43 ede_cbcm_enc.o
41 44
42SRC= $(LIBSRC) 45SRC= $(LIBSRC)
43 46
@@ -53,9 +56,12 @@ all: lib
53 56
54lib: $(LIBOBJ) 57lib: $(LIBOBJ)
55 $(AR) $(LIB) $(LIBOBJ) 58 $(AR) $(LIB) $(LIBOBJ)
56 sh $(TOP)/util/ranlib.sh $(LIB) 59 $(RANLIB) $(LIB)
57 @touch lib 60 @touch lib
58 61
62des: des.o cbc3_enc.o lib
63 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
64
59# elf 65# elf
60asm/dx86-elf.o: asm/dx86unix.cpp 66asm/dx86-elf.o: asm/dx86unix.cpp
61 $(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o 67 $(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o
@@ -83,38 +89,34 @@ asm/yx86-out.o: asm/yx86unix.cpp
83 89
84# bsdi 90# bsdi
85asm/dx86bsdi.o: asm/dx86unix.cpp 91asm/dx86bsdi.o: asm/dx86unix.cpp
86 $(CPP) -DBSDI asm/dx86unix.cpp | as -o asm/dx86bsdi.o 92 $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o
87 93
88asm/yx86bsdi.o: asm/yx86unix.cpp 94asm/yx86bsdi.o: asm/yx86unix.cpp
89 $(CPP) -DBSDI asm/yx86unix.cpp | as -o asm/yx86bsdi.o 95 $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o
90 96
91asm/dx86unix.cpp: 97asm/dx86unix.cpp: asm/des-586.pl
92 (cd asm; perl des-586.pl cpp >dx86unix.cpp) 98 (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp)
93 99
94asm/yx86unix.cpp: 100asm/yx86unix.cpp: asm/crypt586.pl
95 (cd asm; perl crypt586.pl cpp >yx86unix.cpp) 101 (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp)
96 102
97files: 103files:
98 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO 104 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
99 105
100links: 106links:
101 /bin/rm -f Makefile 107 @$(TOP)/util/point.sh Makefile.ssl Makefile
102 $(TOP)/util/point.sh Makefile.ssl Makefile 108 @$(TOP)/util/point.sh ../../perlasm asm/perlasm
103 /bin/rm -f des.doc 109 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
104 /bin/rm -fr asm/perlasm 110 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
105 $(TOP)/util/point.sh ../../perlasm asm/perlasm 111 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
106 $(TOP)/util/point.sh ../../doc/des.doc des.doc
107 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
108 $(TOP)/util/mklink.sh ../../test $(TEST)
109 $(TOP)/util/mklink.sh ../../apps $(APPS)
110 112
111install: installs 113install: installs
112 114
113installs: 115installs:
114 @for i in $(EXHEADER) ; \ 116 @for i in $(EXHEADER) ; \
115 do \ 117 do \
116 (cp $$i $(INSTALLTOP)/include/$$i; \ 118 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
117 chmod 644 $(INSTALLTOP)/include/$$i ); \ 119 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
118 done; 120 done;
119 121
120tags: 122tags:
@@ -126,15 +128,81 @@ lint:
126 lint -DLINT $(INCLUDES) $(SRC)>fluff 128 lint -DLINT $(INCLUDES) $(SRC)>fluff
127 129
128depend: 130depend:
129 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) 131 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
130 132
131dclean: 133dclean:
132 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 134 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
133 mv -f Makefile.new $(MAKEFILE) 135 mv -f Makefile.new $(MAKEFILE)
134 136
135clean: 137clean:
136 /bin/rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 138 rm -f asm/dx86unix.cpp asm/yx86unix.cpp *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
137
138errors:
139 139
140# DO NOT DELETE THIS LINE -- make depend depends on it. 140# DO NOT DELETE THIS LINE -- make depend depends on it.
141
142cbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
143cbc_cksm.o: ../../include/openssl/opensslconf.h des_locl.h
144cbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
145cbc_enc.o: ../../include/openssl/opensslconf.h des_locl.h ncbc_enc.c
146cfb64ede.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
147cfb64ede.o: ../../include/openssl/opensslconf.h des_locl.h
148cfb64enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
149cfb64enc.o: ../../include/openssl/opensslconf.h des_locl.h
150cfb_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
151cfb_enc.o: ../../include/openssl/opensslconf.h des_locl.h
152des_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
153des_enc.o: ../../include/openssl/opensslconf.h des_locl.h des_locl.h ncbc_enc.c
154ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
155ecb3_enc.o: ../../include/openssl/opensslconf.h des_locl.h
156ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
157ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
158ecb_enc.o: des_locl.h spr.h
159ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
160ede_cbcm_enc.o: ../../include/openssl/opensslconf.h des_locl.h
161enc_read.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
162enc_read.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
163enc_read.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
164enc_read.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
165enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
166enc_read.o: ../cryptlib.h des_locl.h
167enc_writ.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
168enc_writ.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
169enc_writ.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
170enc_writ.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
171enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
172enc_writ.o: ../../include/openssl/stack.h ../cryptlib.h des_locl.h
173fcrypt.o: ../../include/openssl/des.h ../../include/openssl/des.h
174fcrypt.o: ../../include/openssl/e_os2.h ../../include/openssl/e_os2.h
175fcrypt.o: ../../include/openssl/opensslconf.h
176fcrypt.o: ../../include/openssl/opensslconf.h des_locl.h des_locl.h
177fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
178fcrypt_b.o: ../../include/openssl/opensslconf.h des_locl.h
179ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
180ofb64ede.o: ../../include/openssl/opensslconf.h des_locl.h
181ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
182ofb64enc.o: ../../include/openssl/opensslconf.h des_locl.h
183ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
184ofb_enc.o: ../../include/openssl/opensslconf.h des_locl.h
185pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
186pcbc_enc.o: ../../include/openssl/opensslconf.h des_locl.h
187qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
188qud_cksm.o: ../../include/openssl/opensslconf.h des_locl.h
189rand_key.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
190rand_key.o: ../../include/openssl/opensslconf.h des_locl.h
191read2pwd.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
192read2pwd.o: ../../include/openssl/opensslconf.h des_locl.h
193read_pwd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
194read_pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
195read_pwd.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
196read_pwd.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
197read_pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
198read_pwd.o: ../cryptlib.h des_locl.h
199rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
200rpc_enc.o: ../../include/openssl/opensslconf.h des_locl.h des_ver.h rpc_des.h
201set_key.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
202set_key.o: ../../include/openssl/opensslconf.h des_locl.h podd.h sk.h
203str2key.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
204str2key.o: ../../include/openssl/opensslconf.h des_locl.h
205supp.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
206supp.o: ../../include/openssl/opensslconf.h des_locl.h
207xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
208xcbc_enc.o: ../../include/openssl/opensslconf.h des_locl.h