Makefile revision 296341
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	$(AR) $(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
76update: depend
77
78depend:
79	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
80	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
81
82dclean:
83	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
84	mv -f Makefile.new $(MAKEFILE)
85
86clean:
87	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
88
89# DO NOT DELETE THIS LINE -- make depend depends on it.
90
91b_dump.o: ../../e_os.h ../../include/openssl/bio.h
92b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96b_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97b_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c bio_lcl.h
98b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
99b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
102b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103b_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
104b_print.o: ../../include/openssl/symhacks.h ../cryptlib.h b_print.c
105b_sock.o: ../../e_os.h ../../include/openssl/bio.h
106b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107b_sock.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
108b_sock.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
109b_sock.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
110b_sock.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
111b_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112b_sock.o: ../cryptlib.h b_sock.c
113bf_buff.o: ../../e_os.h ../../include/openssl/bio.h
114bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
115bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
116bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
117bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
118bf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119bf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_buff.c
120bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h
121bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
122bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
123bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
124bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
125bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
126bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
127bf_nbio.o: ../cryptlib.h bf_nbio.c
128bf_null.o: ../../e_os.h ../../include/openssl/bio.h
129bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
130bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
131bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
132bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
133bf_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
134bf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_null.c
135bio_cb.o: ../../e_os.h ../../include/openssl/bio.h
136bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
137bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
138bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
139bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
140bio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141bio_cb.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_cb.c
142bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
143bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
144bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
145bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146bio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147bio_err.o: ../../include/openssl/symhacks.h bio_err.c
148bio_lib.o: ../../e_os.h ../../include/openssl/bio.h
149bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
150bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
151bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
152bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153bio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154bio_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lib.c
155bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
156bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
157bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
158bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
159bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
160bss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
161bss_acpt.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_acpt.c
162bss_bio.o: ../../e_os.h ../../include/openssl/bio.h
163bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
164bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
165bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
166bss_bio.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
167bss_bio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
168bss_bio.o: bss_bio.c
169bss_conn.o: ../../e_os.h ../../include/openssl/bio.h
170bss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
171bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
172bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
173bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
174bss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
175bss_conn.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_conn.c
176bss_dgram.o: ../../e_os.h ../../include/openssl/bio.h
177bss_dgram.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
178bss_dgram.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
179bss_dgram.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
180bss_dgram.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181bss_dgram.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182bss_dgram.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_dgram.c
183bss_fd.o: ../../e_os.h ../../include/openssl/bio.h
184bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
185bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
186bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
187bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188bss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189bss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_fd.c
190bss_file.o: ../../e_os.h ../../include/openssl/bio.h
191bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
192bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
193bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
194bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195bss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196bss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_file.c
197bss_log.o: ../../e_os.h ../../include/openssl/bio.h
198bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
199bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
200bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
201bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
202bss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
203bss_log.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_log.c
204bss_mem.o: ../../e_os.h ../../include/openssl/bio.h
205bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
206bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
207bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
208bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
209bss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
210bss_mem.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_mem.c
211bss_null.o: ../../e_os.h ../../include/openssl/bio.h
212bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
213bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
214bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
215bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
216bss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
217bss_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_null.c
218bss_sock.o: ../../e_os.h ../../include/openssl/bio.h
219bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
220bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
221bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
222bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
223bss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
224bss_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_sock.c
225