601ad838dfd83865b0e11cf93e104c5fa7c83425
[openssl.git] / crypto / rsa / Makefile.ssl
1 #
2 # SSLeay/crypto/rsa/Makefile
3 #
4
5 DIR=    rsa
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=rsa_test.c
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \
27         rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c \
28         rsa_asn1.c
29 LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \
30         rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o \
31         rsa_asn1.o
32
33 SRC= $(LIBSRC)
34
35 EXHEADER= rsa.h
36 HEADER= $(EXHEADER)
37
38 ALL=    $(GENERAL) $(SRC) $(HEADER)
39
40 top:
41         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42
43 all:    lib
44
45 lib:    $(LIBOBJ)
46         $(AR) $(LIB) $(LIBOBJ)
47         $(RANLIB) $(LIB) || echo Never mind.
48         @touch lib
49
50 files:
51         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
52
53 links:
54         @$(TOP)/util/point.sh Makefile.ssl Makefile
55         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
56         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
57         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
58
59 install:
60         @for i in $(EXHEADER) ; \
61         do  \
62         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
63         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64         done;
65
66 tags:
67         ctags $(SRC)
68
69 tests:
70
71 lint:
72         lint -DLINT $(INCLUDES) $(SRC)>fluff
73
74 depend:
75         $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
76
77 dclean:
78         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
79         mv -f Makefile.new $(MAKEFILE)
80
81 clean:
82         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83
84 # DO NOT DELETE THIS LINE -- make depend depends on it.
85
86 rsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
87 rsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
88 rsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
89 rsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
90 rsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
91 rsa_asn1.o: ../../include/openssl/opensslconf.h
92 rsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
93 rsa_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
94 rsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
95 rsa_asn1.o: ../cryptlib.h rsa_asn1.c
96 rsa_chk.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
97 rsa_chk.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
98 rsa_chk.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
99 rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
100 rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
101 rsa_chk.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
102 rsa_chk.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
103 rsa_chk.o: rsa_chk.c
104 rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h
105 rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106 rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107 rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
108 rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
109 rsa_eay.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
110 rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
111 rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
112 rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
113 rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
114 rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
115 rsa_eay.o: ../../include/openssl/ui.h ../cryptlib.h rsa_eay.c
116 rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117 rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
118 rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
119 rsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
120 rsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
121 rsa_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
122 rsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
123 rsa_err.o: rsa_err.c
124 rsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
125 rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
126 rsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
127 rsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
128 rsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
129 rsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
130 rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
131 rsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
132 rsa_gen.o: ../cryptlib.h rsa_gen.c
133 rsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
134 rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
135 rsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
136 rsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
137 rsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
138 rsa_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
139 rsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
140 rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
141 rsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
142 rsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
143 rsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144 rsa_lib.o: ../../include/openssl/ui.h ../cryptlib.h rsa_lib.c
145 rsa_none.o: ../../e_os.h ../../include/openssl/asn1.h
146 rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
147 rsa_none.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
148 rsa_none.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
149 rsa_none.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
150 rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
151 rsa_none.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
152 rsa_none.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
153 rsa_none.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_none.c
154 rsa_null.o: ../../e_os.h ../../include/openssl/asn1.h
155 rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
156 rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
157 rsa_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
158 rsa_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
159 rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
160 rsa_null.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
161 rsa_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
162 rsa_null.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_null.c
163 rsa_oaep.o: ../../e_os.h ../../include/openssl/aes.h
164 rsa_oaep.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
165 rsa_oaep.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
166 rsa_oaep.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
167 rsa_oaep.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
168 rsa_oaep.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
169 rsa_oaep.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
170 rsa_oaep.o: ../../include/openssl/err.h ../../include/openssl/evp.h
171 rsa_oaep.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
172 rsa_oaep.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
173 rsa_oaep.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
174 rsa_oaep.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
175 rsa_oaep.o: ../../include/openssl/opensslconf.h
176 rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
177 rsa_oaep.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
178 rsa_oaep.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
179 rsa_oaep.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
180 rsa_oaep.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
181 rsa_oaep.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
182 rsa_oaep.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
183 rsa_oaep.o: ../cryptlib.h rsa_oaep.c
184 rsa_pk1.o: ../../e_os.h ../../include/openssl/asn1.h
185 rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
186 rsa_pk1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
187 rsa_pk1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
188 rsa_pk1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
189 rsa_pk1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
190 rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
191 rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
192 rsa_pk1.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_pk1.c
193 rsa_saos.o: ../../e_os.h ../../include/openssl/aes.h
194 rsa_saos.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
195 rsa_saos.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
196 rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
197 rsa_saos.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
198 rsa_saos.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
199 rsa_saos.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
200 rsa_saos.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
201 rsa_saos.o: ../../include/openssl/err.h ../../include/openssl/evp.h
202 rsa_saos.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
203 rsa_saos.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
204 rsa_saos.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
205 rsa_saos.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
206 rsa_saos.o: ../../include/openssl/opensslconf.h
207 rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
208 rsa_saos.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
209 rsa_saos.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
210 rsa_saos.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
211 rsa_saos.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
212 rsa_saos.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
213 rsa_saos.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
214 rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
215 rsa_saos.o: ../cryptlib.h rsa_saos.c
216 rsa_sign.o: ../../e_os.h ../../include/openssl/aes.h
217 rsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
218 rsa_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
219 rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
220 rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
221 rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
222 rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
223 rsa_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
224 rsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h
225 rsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
226 rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
227 rsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
228 rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
229 rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
230 rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
231 rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
232 rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
233 rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
234 rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
235 rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
236 rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
237 rsa_sign.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
238 rsa_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_sign.c
239 rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h
240 rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
241 rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
242 rsa_ssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
243 rsa_ssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
244 rsa_ssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
245 rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
246 rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
247 rsa_ssl.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_ssl.c