c557a2bcb26b87896067fb9c2b2e02ee435a6383
[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../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16 AR=             ar r
17
18 CFLAGS= $(INCLUDES) $(CFLAG)
19
20 GENERAL=Makefile
21 TEST=rsa_test.c
22 APPS=
23
24 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 SRC= $(LIBSRC)
31
32 EXHEADER= rsa.h
33 HEADER= $(EXHEADER)
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         $(RANLIB) $(LIB)
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 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         mv -f Makefile.new $(MAKEFILE)
77
78 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.
82
83 rsa_chk.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
84 rsa_chk.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
85 rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
86 rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h
87 rsa_chk.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
88 rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
89 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 rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
92 rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
93 rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
94 rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
95 rsa_eay.o: ../cryptlib.h
96 rsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
97 rsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
98 rsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
99 rsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h
100 rsa_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
101 rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
102 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 rsa_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
105 rsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
106 rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
107 rsa_gen.o: ../../include/openssl/stack.h ../cryptlib.h
108 rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
109 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
111 rsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112 rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
113 rsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
114 rsa_lib.o: ../../include/openssl/stack.h ../cryptlib.h
115 rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
116 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 rsa_none.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
119 rsa_none.o: ../../include/openssl/opensslconf.h
120 rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
121 rsa_none.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
122 rsa_none.o: ../../include/openssl/stack.h ../cryptlib.h
123 rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
124 rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
125 rsa_null.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
126 rsa_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
127 rsa_null.o: ../../include/openssl/opensslconf.h
128 rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
129 rsa_null.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
130 rsa_null.o: ../../include/openssl/stack.h ../cryptlib.h
131 rsa_oaep.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
132 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 rsa_oaep.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
135 rsa_oaep.o: ../../include/openssl/opensslconf.h
136 rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
137 rsa_oaep.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
138 rsa_oaep.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
139 rsa_oaep.o: ../cryptlib.h
140 rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
141 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 rsa_pk1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
144 rsa_pk1.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
145 rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
146 rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147 rsa_pk1.o: ../cryptlib.h
148 rsa_saos.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
149 rsa_saos.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
150 rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
151 rsa_saos.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
152 rsa_saos.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
153 rsa_saos.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
154 rsa_saos.o: ../../include/openssl/err.h ../../include/openssl/evp.h
155 rsa_saos.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
156 rsa_saos.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
157 rsa_saos.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
158 rsa_saos.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
159 rsa_saos.o: ../../include/openssl/opensslconf.h
160 rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
161 rsa_saos.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
162 rsa_saos.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
163 rsa_saos.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
164 rsa_saos.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
165 rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
166 rsa_saos.o: ../cryptlib.h
167 rsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
168 rsa_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
169 rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
170 rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
171 rsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
172 rsa_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
173 rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
174 rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
175 rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
176 rsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
177 rsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
178 rsa_sign.o: ../../include/openssl/opensslconf.h
179 rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
180 rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
181 rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
182 rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
183 rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
184 rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
185 rsa_sign.o: ../cryptlib.h
186 rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
187 rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
188 rsa_ssl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
189 rsa_ssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
190 rsa_ssl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
191 rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
192 rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
193 rsa_ssl.o: ../cryptlib.h