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