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