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