]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/des/Makefile.in
93a715a7fb64862b5fc47f43bfb092821e085b99
[thirdparty/openssl.git] / crypto / des / Makefile.in
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) $(SHARED_CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
18 AFLAGS= $(ASFLAGS)
19
20 GENERAL=Makefile
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
24 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
25 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
26 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
27 des_enc.c fcrypt_b.c \
28 xcbc_enc.c \
29 str2key.c cfb64ede.c ofb64ede.c \
30 read2pwd.c
31
32 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
33 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
34 enc_read.o enc_writ.o ofb64enc.o \
35 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
36 ${DES_ENC} \
37 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
38 read2pwd.o
39
40 SRC= $(LIBSRC)
41
42 HEADER= des_locl.h rpc_des.h spr.h
43
44 ALL= $(GENERAL) $(SRC) $(HEADER)
45
46 top:
47 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48
49 all: lib
50
51 lib: $(LIBOBJ)
52 $(AR) $(LIB) $(LIBOBJ)
53 $(RANLIB) $(LIB) || echo Never mind.
54 @touch lib
55
56 des_enc-sparc.S: asm/des_enc.m4
57 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
58 dest4-sparcv9.S: asm/dest4-sparcv9.pl
59 $(PERL) asm/dest4-sparcv9.pl $(PERLASM_SCHEME) $@
60
61 des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
62 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
63 crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
64 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
65
66 files:
67 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
68
69 depend:
70 $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
71
72 clean:
73 rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
74
75 # DO NOT DELETE THIS LINE -- make depend depends on it.