1142425Snectar#
2160814Ssimon# OpenSSL/crypto/bio/Makefile
3142425Snectar#
4142425Snectar
5142425SnectarDIR=	bio
6142425SnectarTOP=	../..
7142425SnectarCC=	cc
8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include
9142425SnectarCFLAG=-g
10142425SnectarMAKEFILE=	Makefile
11142425SnectarAR=		ar r
12142425Snectar
13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG)
14142425Snectar
15142425SnectarGENERAL=Makefile
16142425SnectarTEST=
17142425SnectarAPPS=
18142425Snectar
19142425SnectarLIB=$(TOP)/libcrypto.a
20142425SnectarLIBSRC= bio_lib.c bio_cb.c bio_err.c \
21142425Snectar	bss_mem.c bss_null.c bss_fd.c \
22142425Snectar	bss_file.c bss_sock.c bss_conn.c \
23142425Snectar	bf_null.c bf_buff.c b_print.c b_dump.c \
24160814Ssimon	b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
25160814Ssimon	bss_dgram.c
26142425Snectar#	bf_lbuf.c
27142425SnectarLIBOBJ= bio_lib.o bio_cb.o bio_err.o \
28142425Snectar	bss_mem.o bss_null.o bss_fd.o \
29142425Snectar	bss_file.o bss_sock.o bss_conn.o \
30142425Snectar	bf_null.o bf_buff.o b_print.o b_dump.o \
31160814Ssimon	b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
32160814Ssimon	bss_dgram.o
33142425Snectar#	bf_lbuf.o
34142425Snectar
35142425SnectarSRC= $(LIBSRC)
36142425Snectar
37142425SnectarEXHEADER= bio.h
38160814SsimonHEADER=	bio_lcl.h $(EXHEADER)
39142425Snectar
40142425SnectarALL=    $(GENERAL) $(SRC) $(HEADER)
41142425Snectar
42142425Snectartop:
43142425Snectar	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44142425Snectar
45142425Snectarall:	lib
46142425Snectar
47142425Snectarlib:	$(LIBOBJ)
48238405Sjkim	$(AR) $(LIB) $(LIBOBJ)
49142425Snectar	$(RANLIB) $(LIB) || echo Never mind.
50142425Snectar	@touch lib
51142425Snectar
52142425Snectarfiles:
53142425Snectar	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
54142425Snectar
55142425Snectarlinks:
56142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
57142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
58142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59142425Snectar
60142425Snectarinstall:
61160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
62160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist; \
63142425Snectar	do  \
64142425Snectar	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
65142425Snectar	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66142425Snectar	done;
67142425Snectar
68142425Snectartags:
69142425Snectar	ctags $(SRC)
70142425Snectar
71142425Snectartests:
72142425Snectar
73142425Snectarlint:
74142425Snectar	lint -DLINT $(INCLUDES) $(SRC)>fluff
75142425Snectar
76284283Sjkimupdate: depend
77284283Sjkim
78142425Snectardepend:
79160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
80142425Snectar	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
81142425Snectar
82142425Snectardclean:
83142425Snectar	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
84142425Snectar	mv -f Makefile.new $(MAKEFILE)
85142425Snectar
86142425Snectarclean:
87142425Snectar	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
88142425Snectar
89142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it.
90142425Snectar
91142425Snectarb_dump.o: ../../e_os.h ../../include/openssl/bio.h
92142425Snectarb_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93142425Snectarb_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94142425Snectarb_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95160814Ssimonb_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96160814Ssimonb_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97160814Ssimonb_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c bio_lcl.h
98142425Snectarb_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
99142425Snectarb_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100142425Snectarb_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101142425Snectarb_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
102160814Ssimonb_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103160814Ssimonb_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
104160814Ssimonb_print.o: ../../include/openssl/symhacks.h ../cryptlib.h b_print.c
105142425Snectarb_sock.o: ../../e_os.h ../../include/openssl/bio.h
106142425Snectarb_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107238405Sjkimb_sock.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
108238405Sjkimb_sock.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
109238405Sjkimb_sock.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
110238405Sjkimb_sock.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
111238405Sjkimb_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112238405Sjkimb_sock.o: ../cryptlib.h b_sock.c
113142425Snectarbf_buff.o: ../../e_os.h ../../include/openssl/bio.h
114142425Snectarbf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
115142425Snectarbf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
116142425Snectarbf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
117160814Ssimonbf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
118160814Ssimonbf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119160814Ssimonbf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_buff.c
120142425Snectarbf_nbio.o: ../../e_os.h ../../include/openssl/bio.h
121142425Snectarbf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
122142425Snectarbf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
123142425Snectarbf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
124142425Snectarbf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
125142425Snectarbf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
126142425Snectarbf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
127142425Snectarbf_nbio.o: ../cryptlib.h bf_nbio.c
128142425Snectarbf_null.o: ../../e_os.h ../../include/openssl/bio.h
129142425Snectarbf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
130142425Snectarbf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
131142425Snectarbf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
132160814Ssimonbf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
133160814Ssimonbf_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
134160814Ssimonbf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_null.c
135142425Snectarbio_cb.o: ../../e_os.h ../../include/openssl/bio.h
136142425Snectarbio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
137142425Snectarbio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
138142425Snectarbio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
139160814Ssimonbio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
140160814Ssimonbio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141160814Ssimonbio_cb.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_cb.c
142142425Snectarbio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
143142425Snectarbio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
144142425Snectarbio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
145160814Ssimonbio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146160814Ssimonbio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147160814Ssimonbio_err.o: ../../include/openssl/symhacks.h bio_err.c
148142425Snectarbio_lib.o: ../../e_os.h ../../include/openssl/bio.h
149142425Snectarbio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
150142425Snectarbio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
151142425Snectarbio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
152160814Ssimonbio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153160814Ssimonbio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154160814Ssimonbio_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lib.c
155142425Snectarbss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
156142425Snectarbss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
157142425Snectarbss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
158142425Snectarbss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
159160814Ssimonbss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
160160814Ssimonbss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
161160814Ssimonbss_acpt.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_acpt.c
162142425Snectarbss_bio.o: ../../e_os.h ../../include/openssl/bio.h
163142425Snectarbss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
164142425Snectarbss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
165142425Snectarbss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
166160814Ssimonbss_bio.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
167160814Ssimonbss_bio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
168160814Ssimonbss_bio.o: bss_bio.c
169142425Snectarbss_conn.o: ../../e_os.h ../../include/openssl/bio.h
170142425Snectarbss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
171142425Snectarbss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
172142425Snectarbss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
173160814Ssimonbss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
174160814Ssimonbss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
175160814Ssimonbss_conn.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_conn.c
176160814Ssimonbss_dgram.o: ../../e_os.h ../../include/openssl/bio.h
177160814Ssimonbss_dgram.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
178160814Ssimonbss_dgram.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
179160814Ssimonbss_dgram.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
180160814Ssimonbss_dgram.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181160814Ssimonbss_dgram.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182160814Ssimonbss_dgram.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_dgram.c
183142425Snectarbss_fd.o: ../../e_os.h ../../include/openssl/bio.h
184142425Snectarbss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
185142425Snectarbss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
186142425Snectarbss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
187160814Ssimonbss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188160814Ssimonbss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189160814Ssimonbss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_fd.c
190142425Snectarbss_file.o: ../../e_os.h ../../include/openssl/bio.h
191142425Snectarbss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
192142425Snectarbss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
193142425Snectarbss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
194160814Ssimonbss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195160814Ssimonbss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196160814Ssimonbss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_file.c
197142425Snectarbss_log.o: ../../e_os.h ../../include/openssl/bio.h
198142425Snectarbss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
199142425Snectarbss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
200142425Snectarbss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
201160814Ssimonbss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
202160814Ssimonbss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
203160814Ssimonbss_log.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_log.c
204142425Snectarbss_mem.o: ../../e_os.h ../../include/openssl/bio.h
205142425Snectarbss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
206142425Snectarbss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
207142425Snectarbss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
208160814Ssimonbss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
209160814Ssimonbss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
210160814Ssimonbss_mem.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_mem.c
211142425Snectarbss_null.o: ../../e_os.h ../../include/openssl/bio.h
212142425Snectarbss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
213142425Snectarbss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
214142425Snectarbss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
215160814Ssimonbss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
216160814Ssimonbss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
217160814Ssimonbss_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_null.c
218142425Snectarbss_sock.o: ../../e_os.h ../../include/openssl/bio.h
219142425Snectarbss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
220142425Snectarbss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
221142425Snectarbss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
222160814Ssimonbss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
223160814Ssimonbss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
224160814Ssimonbss_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_sock.c
225