]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/des/Makefile.in
Make sure the effect of "pic" / "no-pic" is used with assembler compilations
[thirdparty/openssl.git] / crypto / des / Makefile.in
CommitLineData
d10dac11
RS
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
45502bfe 16CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
5b14d5b5 17ASFLAGS= $(INCLUDES) $(ASFLAG) $(SHARED_CFLAG)
d10dac11
RS
18AFLAGS= $(ASFLAGS)
19
20GENERAL=Makefile
21
22LIB=$(TOP)/libcrypto.a
23LIBSRC= 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
32LIBOBJ= 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
40SRC= $(LIBSRC)
41
42HEADER= des_locl.h rpc_des.h spr.h
43
44ALL= $(GENERAL) $(SRC) $(HEADER)
45
46top:
47 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48
49all: lib
50
51lib: $(LIBOBJ)
52 $(AR) $(LIB) $(LIBOBJ)
53 $(RANLIB) $(LIB) || echo Never mind.
54 @touch lib
55
56des_enc-sparc.S: asm/des_enc.m4
57 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
eb77e888
AP
58dest4-sparcv9.S: asm/dest4-sparcv9.pl
59 $(PERL) asm/dest4-sparcv9.pl $(PERLASM_SCHEME) $@
d10dac11
RS
60
61des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
6d33da34 62 $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
d10dac11 63crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
6d33da34 64 $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
d10dac11
RS
65
66files:
67 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
68
d10dac11 69depend:
ce192ebe 70 $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
d10dac11 71
d10dac11
RS
72clean:
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.