Start to reduce some of the header bloat.
[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$(TOP) -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 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= bio_lib.c bio_cb.c bio_err.c \
27         bss_mem.c bss_null.c bss_fd.c \
28         bss_file.c bss_sock.c bss_conn.c \
29         bf_null.c bf_buff.c b_print.c b_dump.c \
30         b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
31 #       bf_lbuf.c
32 LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
33         bss_mem.o bss_null.o bss_fd.o \
34         bss_file.o bss_sock.o bss_conn.o \
35         bf_null.o bf_buff.o b_print.o b_dump.o \
36         b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o
37 #       bf_lbuf.o
38
39 SRC= $(LIBSRC)
40
41 EXHEADER= bio.h
42 HEADER= bss_file.c $(EXHEADER)
43
44 ALL=    $(GENERAL) $(SRC) $(HEADER)
45
46 top:
47         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48
49 all:    lib
50
51 lib:    $(LIBOBJ)
52         $(AR) $(LIB) $(LIBOBJ)
53         $(RANLIB) $(LIB) || echo Never mind.
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: ../../e_os.h ../../include/openssl/bio.h
93 b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.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 b_dump.c
99 b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
100 b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.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 b_print.c
106 b_sock.o: ../../e_os.h ../../include/openssl/bio.h
107 b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.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 b_sock.c
113 bf_buff.o: ../../e_os.h ../../include/openssl/bio.h
114 bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
115 bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
116 bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
117 bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
118 bf_buff.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
119 bf_buff.o: ../cryptlib.h bf_buff.c
120 bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h
121 bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
122 bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
123 bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
124 bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
125 bf_nbio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
126 bf_nbio.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_nbio.c
127 bf_null.o: ../../e_os.h ../../include/openssl/bio.h
128 bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
129 bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
130 bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
131 bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
132 bf_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
133 bf_null.o: ../cryptlib.h bf_null.c
134 bio_cb.o: ../../e_os.h ../../include/openssl/bio.h
135 bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
136 bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
137 bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
138 bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
139 bio_cb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
140 bio_cb.o: ../cryptlib.h bio_cb.c
141 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
142 bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
143 bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
144 bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
145 bio_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
146 bio_err.o: bio_err.c
147 bio_lib.o: ../../e_os.h ../../include/openssl/bio.h
148 bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
149 bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
150 bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
151 bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
152 bio_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
153 bio_lib.o: ../cryptlib.h bio_lib.c
154 bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
155 bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
156 bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
157 bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
158 bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
159 bss_acpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
160 bss_acpt.o: ../cryptlib.h bss_acpt.c
161 bss_bio.o: ../../e_os.h ../../include/openssl/bio.h
162 bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
163 bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
164 bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
165 bss_bio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
166 bss_bio.o: ../../include/openssl/symhacks.h 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/safestack.h
172 bss_conn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
173 bss_conn.o: ../cryptlib.h bss_conn.c
174 bss_fd.o: ../../e_os.h ../../include/openssl/bio.h
175 bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
176 bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
177 bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
178 bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
179 bss_fd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
180 bss_fd.o: ../cryptlib.h bss_fd.c
181 bss_file.o: ../../e_os.h ../../include/openssl/bio.h
182 bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
183 bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
184 bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
185 bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
186 bss_file.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
187 bss_file.o: ../cryptlib.h bss_file.c
188 bss_log.o: ../../e_os.h ../../include/openssl/bio.h
189 bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
190 bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
191 bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
192 bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
193 bss_log.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
194 bss_log.o: ../cryptlib.h bss_log.c
195 bss_mem.o: ../../e_os.h ../../include/openssl/bio.h
196 bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
197 bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
198 bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
199 bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
200 bss_mem.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
201 bss_mem.o: ../cryptlib.h bss_mem.c
202 bss_null.o: ../../e_os.h ../../include/openssl/bio.h
203 bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
204 bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
205 bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
206 bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
207 bss_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
208 bss_null.o: ../cryptlib.h bss_null.c
209 bss_sock.o: ../../e_os.h ../../include/openssl/bio.h
210 bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
211 bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
212 bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
213 bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
214 bss_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
215 bss_sock.o: ../cryptlib.h bss_sock.c