'ranlib' doesn't always run on some systems. That's actually
[openssl.git] / crypto / bio / Makefile.ssl
1 #
2 # SSLeay/crypto/bio/Makefile
3 #
4
5 DIR=    bio
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=
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= bio_lib.c bio_cb.c bio_err.c \
26         bss_mem.c bss_null.c bss_fd.c \
27         bss_file.c bss_sock.c bss_conn.c \
28         bf_null.c bf_buff.c b_print.c b_dump.c \
29         b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
30 #       bf_lbuf.c
31 LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
32         bss_mem.o bss_null.o bss_fd.o \
33         bss_file.o bss_sock.o bss_conn.o \
34         bf_null.o bf_buff.o b_print.o b_dump.o \
35         b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o
36 #       bf_lbuf.o
37
38 SRC= $(LIBSRC)
39
40 EXHEADER= bio.h
41 HEADER= bss_file.c $(EXHEADER)
42
43 ALL=    $(GENERAL) $(SRC) $(HEADER)
44
45 top:
46         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
47
48 all:    lib
49
50 lib:    $(LIBOBJ)
51         $(AR) $(LIB) $(LIBOBJ)
52         @echo You may get an error following this line.  Please ignore.
53         - $(RANLIB) $(LIB)
54         @touch lib
55
56 files:
57         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
58
59 links:
60         @$(TOP)/util/point.sh Makefile.ssl Makefile
61         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
62         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
63         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
64
65 install:
66         @for i in $(EXHEADER); \
67         do  \
68         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
69         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
70         done;
71
72 tags:
73         ctags $(SRC)
74
75 tests:
76
77 lint:
78         lint -DLINT $(INCLUDES) $(SRC)>fluff
79
80 depend:
81         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
82
83 dclean:
84         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
85         mv -f Makefile.new $(MAKEFILE)
86
87 clean:
88         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
89
90 # DO NOT DELETE THIS LINE -- make depend depends on it.
91
92 b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
93 b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
94 b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
95 b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
96 b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
97 b_dump.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
98 b_dump.o: ../cryptlib.h
99 b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
100 b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
101 b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
102 b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
103 b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
104 b_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
105 b_print.o: ../cryptlib.h
106 b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
107 b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
108 b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
109 b_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
110 b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
111 b_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112 b_sock.o: ../cryptlib.h
113 bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
114 bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
115 bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
116 bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
117 bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
118 bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
119 bf_buff.o: ../../include/openssl/err.h ../../include/openssl/evp.h
120 bf_buff.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
121 bf_buff.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
122 bf_buff.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
123 bf_buff.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
124 bf_buff.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
125 bf_buff.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
126 bf_buff.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
127 bf_buff.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
128 bf_buff.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
129 bf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h
130 bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
131 bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
132 bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
133 bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
134 bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
135 bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
136 bf_nbio.o: ../../include/openssl/err.h ../../include/openssl/evp.h
137 bf_nbio.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
138 bf_nbio.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
139 bf_nbio.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
140 bf_nbio.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
141 bf_nbio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
142 bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
143 bf_nbio.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
144 bf_nbio.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
145 bf_nbio.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
146 bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
147 bf_nbio.o: ../cryptlib.h
148 bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
149 bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
150 bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
151 bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
152 bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
153 bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
154 bf_null.o: ../../include/openssl/err.h ../../include/openssl/evp.h
155 bf_null.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
156 bf_null.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
157 bf_null.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
158 bf_null.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
159 bf_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
160 bf_null.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
161 bf_null.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
162 bf_null.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
163 bf_null.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
164 bf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h
165 bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
166 bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
167 bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
168 bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
169 bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
170 bio_cb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
171 bio_cb.o: ../cryptlib.h
172 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
173 bio_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
174 bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
175 bio_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
176 bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
177 bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
178 bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
179 bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
180 bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
181 bio_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
182 bio_lib.o: ../cryptlib.h
183 bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
184 bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
185 bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
186 bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
187 bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
188 bss_acpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
189 bss_acpt.o: ../cryptlib.h
190 bss_bio.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
191 bss_bio.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
192 bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
193 bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
194 bss_bio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
195 bss_bio.o: ../../include/openssl/symhacks.h
196 bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
197 bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
198 bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
199 bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
200 bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
201 bss_conn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
202 bss_conn.o: ../cryptlib.h
203 bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
204 bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
205 bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
206 bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
207 bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
208 bss_fd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
209 bss_fd.o: ../cryptlib.h bss_sock.c
210 bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
211 bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
212 bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
213 bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
214 bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
215 bss_file.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
216 bss_file.o: ../cryptlib.h
217 bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
218 bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
219 bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
220 bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
221 bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
222 bss_log.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
223 bss_log.o: ../cryptlib.h
224 bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
225 bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
226 bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
227 bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
228 bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
229 bss_mem.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
230 bss_mem.o: ../cryptlib.h
231 bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
232 bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
233 bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
234 bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
235 bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
236 bss_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
237 bss_null.o: ../cryptlib.h
238 bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
239 bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
240 bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
241 bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
242 bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
243 bss_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
244 bss_sock.o: ../cryptlib.h