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

DIR=	rsa
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
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
21
TEST=rsa_test.c
22 23 24
APPS=

LIB=$(TOP)/libcrypto.a
25
LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \
26
	rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c
27
LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \
28
	rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

SRC= $(LIBSRC)

EXHEADER= rsa.h
HEADER=	$(EXHEADER)

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

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

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
44
	$(RANLIB) $(LIB)
45 46 47
	@touch lib

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

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

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

tags:
	ctags $(SRC)

tests:

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

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

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

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

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

83 84 85
rsa_chk.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_chk.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
86
rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h
D
 
Dr. Stephen Henson 已提交
87
rsa_chk.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
B
Bodo Möller 已提交
88 89
rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
90
rsa_eay.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
91 92 93 94 95 96 97 98
rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
rsa_eay.o: ../cryptlib.h
rsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
rsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
99
rsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h
D
 
Dr. Stephen Henson 已提交
100
rsa_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
B
Bodo Möller 已提交
101 102
rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
103
rsa_gen.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
104 105 106 107
rsa_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_gen.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
108 109
rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
110
rsa_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
B
Bodo Möller 已提交
111 112
rsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
113 114
rsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_lib.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
115 116
rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_none.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
117
rsa_none.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
118 119
rsa_none.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_none.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
120
rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
D
 
Dr. Stephen Henson 已提交
121 122
rsa_none.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_none.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
123 124 125
rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
rsa_null.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
126 127
rsa_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_null.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
128
rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
D
 
Dr. Stephen Henson 已提交
129 130
rsa_null.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_null.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
131 132
rsa_oaep.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_oaep.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
133
rsa_oaep.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
134 135
rsa_oaep.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_oaep.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
136
rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
D
 
Dr. Stephen Henson 已提交
137 138 139
rsa_oaep.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_oaep.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
rsa_oaep.o: ../cryptlib.h
B
Bodo Möller 已提交
140 141
rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_pk1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
142
rsa_pk1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
143 144 145 146 147
rsa_pk1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_pk1.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
rsa_pk1.o: ../cryptlib.h
B
Bodo Möller 已提交
148 149 150 151 152
rsa_saos.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
rsa_saos.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
rsa_saos.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
rsa_saos.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
153 154
rsa_saos.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
rsa_saos.o: ../../include/openssl/err.h ../../include/openssl/evp.h
155 156 157 158
rsa_saos.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
rsa_saos.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
rsa_saos.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
rsa_saos.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
159 160 161 162 163 164
rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
rsa_saos.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
rsa_saos.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
rsa_saos.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_saos.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
165
rsa_saos.o: ../cryptlib.h
B
Bodo Möller 已提交
166 167 168 169 170
rsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
rsa_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
rsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
171 172
rsa_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
173 174 175 176
rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
rsa_sign.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
177 178 179 180 181 182
rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
183
rsa_sign.o: ../cryptlib.h
B
Bodo Möller 已提交
184 185
rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
186
rsa_ssl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
187 188 189 190 191
rsa_ssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
rsa_ssl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
rsa_ssl.o: ../cryptlib.h