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

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

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=dsatest.c
APPS=

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

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)
45
	$(RANLIB) $(LIB) || echo Never mind.
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) -- $(CFLAG) $(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

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