summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/Makefile')
-rw-r--r--src/lib/libcrypto/des/Makefile108
1 files changed, 0 insertions, 108 deletions
diff --git a/src/lib/libcrypto/des/Makefile b/src/lib/libcrypto/des/Makefile
deleted file mode 100644
index 50366fb40e..0000000000
--- a/src/lib/libcrypto/des/Makefile
+++ /dev/null
@@ -1,108 +0,0 @@
1#
2# OpenSSL/crypto/des/Makefile
3#
4
5DIR= des
6TOP= ../..
7CC= cc
8CPP= $(CC) -E
9INCLUDES=-I$(TOP) -I../../include
10CFLAG=-g
11MAKEFILE= Makefile
12AR= ar r
13RANLIB= ranlib
14DES_ENC= des_enc.o fcrypt_b.o
15
16CFLAGS= $(INCLUDES) $(CFLAG)
17ASFLAGS= $(INCLUDES) $(ASFLAG)
18AFLAGS= $(ASFLAGS)
19
20GENERAL=Makefile
21TEST=destest.c
22APPS=
23
24LIB=$(TOP)/libcrypto.a
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 \
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 \
32 read2pwd.c
33
34LIBOBJ= 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 read2pwd.o
41
42SRC= $(LIBSRC)
43
44EXHEADER= des.h
45HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
46
47ALL= $(GENERAL) $(SRC) $(HEADER)
48
49top:
50 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
51
52all: lib
53
54lib: $(LIBOBJ)
55 $(AR) $(LIB) $(LIBOBJ)
56 $(RANLIB) $(LIB) || echo Never mind.
57 @touch lib
58
59des: des.o cbc3_enc.o lib
60 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
61
62des_enc-sparc.S: asm/des_enc.m4
63 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
64
65des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
66 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
67crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
68 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
69
70files:
71 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
72
73links:
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
80FRC.install:
81install: 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
89tags:
90 ctags $(SRC)
91
92tests:
93
94lint:
95 lint -DLINT $(INCLUDES) $(SRC)>fluff
96
97depend:
98 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
99 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
100
101dclean:
102 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
103 mv -f Makefile.new $(MAKEFILE)
104
105clean:
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.