Makefile.ssl 9.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
#
# SSLeay/crypto/dsa/Makefile
#

DIR=	dsa
TOP=	../..
CC=	cc
INCLUDES= -I.. -I../../include
CFLAG=-g
10 11
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
12 13
INSTALLTOP=/usr/local/ssl
MAKE=		make -f Makefile.ssl
14
MAKEDEPEND=	$(TOP)/util/domd $(TOP)
15 16 17 18 19 20 21 22 23 24
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=dsatest.c
APPS=

LIB=$(TOP)/libcrypto.a
25 26 27 28
LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \
	dsa_err.c dsa_ossl.c
LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \
	dsa_err.o dsa_ossl.o
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

SRC= $(LIBSRC)

EXHEADER= dsa.h
HEADER=	$(EXHEADER)

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
44 45
	@echo You may get an error following this line.  Please ignore.
	- $(RANLIB) $(LIB)
46 47 48
	@touch lib

files:
49
	$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50 51

links:
52
	@$(TOP)/util/point.sh Makefile.ssl Makefile
53 54 55
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56 57 58 59

install:
	@for i in $(EXHEADER) ; \
	do  \
60 61
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
62 63 64 65 66 67 68 69 70 71 72
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
73
	$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
74 75

dclean:
76
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77 78 79
	mv -f Makefile.new $(MAKEFILE)

clean:
80
	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81 82

# DO NOT DELETE THIS LINE -- make depend depends on it.
B
Ben Laurie 已提交
83

D
 
Dr. Stephen Henson 已提交
84
dsa_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
85 86
dsa_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
87
dsa_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
B
Ben Laurie 已提交
88 89 90
dsa_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
dsa_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
dsa_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
91
dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
92 93
dsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
dsa_asn1.o: ../cryptlib.h
94 95 96 97
dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
dsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
dsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
98
dsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
99
dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
B
Bodo Möller 已提交
100 101
dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
102 103
dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
dsa_gen.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
104 105 106 107
dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
dsa_gen.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
R
Richard Levitte 已提交
108
dsa_gen.o: ../../include/openssl/symhacks.h ../cryptlib.h
B
Bodo Möller 已提交
109 110
dsa_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
111 112
dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
dsa_key.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
113 114 115 116
dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
dsa_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
R
Richard Levitte 已提交
117
dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h
B
Bodo Möller 已提交
118
dsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
119 120 121 122
dsa_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
B
Ben Laurie 已提交
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
dsa_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
dsa_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
dsa_lib.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
dsa_lib.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
dsa_lib.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
dsa_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
dsa_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
dsa_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
dsa_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
dsa_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
dsa_lib.o: ../cryptlib.h
U
Ulf Möller 已提交
138
dsa_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
139 140 141 142
dsa_ossl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
dsa_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
B
Ben Laurie 已提交
143 144 145 146 147 148 149 150
dsa_ossl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
dsa_ossl.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
dsa_ossl.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
dsa_ossl.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
dsa_ossl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
dsa_ossl.o: ../../include/openssl/opensslconf.h
U
Ulf Möller 已提交
151
dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
152
dsa_ossl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
153
dsa_ossl.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
154 155 156
dsa_ossl.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
dsa_ossl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
dsa_ossl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
R
Richard Levitte 已提交
157
dsa_ossl.o: ../../include/openssl/symhacks.h ../cryptlib.h
B
Bodo Möller 已提交
158
dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
159 160 161 162
dsa_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
B
Ben Laurie 已提交
163 164 165 166 167 168 169 170
dsa_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
dsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
dsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
dsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
dsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
dsa_sign.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
171
dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
172
dsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
173
dsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
174 175 176
dsa_sign.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
dsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
dsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
R
Richard Levitte 已提交
177
dsa_sign.o: ../../include/openssl/symhacks.h ../cryptlib.h
B
Bodo Möller 已提交
178
dsa_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
179 180 181 182 183
dsa_vrf.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
dsa_vrf.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
dsa_vrf.o: ../../include/openssl/des.h ../../include/openssl/dh.h
dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
B
Ben Laurie 已提交
184 185 186 187 188 189 190 191 192 193 194 195 196 197
dsa_vrf.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
dsa_vrf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
dsa_vrf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
dsa_vrf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
dsa_vrf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
dsa_vrf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
dsa_vrf.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
dsa_vrf.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
dsa_vrf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
dsa_vrf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h