]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/crypto/bio/Makefile | |
3 | # | |
4 | ||
5 | DIR= bio | |
6 | TOP= ../.. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
d02b48c6 | 9 | CFLAG=-g |
e5f3045f BM |
10 | INSTALL_PREFIX= |
11 | OPENSSLDIR= /usr/local/ssl | |
d02b48c6 RE |
12 | INSTALLTOP=/usr/local/ssl |
13 | MAKE= make -f Makefile.ssl | |
cf1b7d96 RL |
14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
d02b48c6 RE |
16 | MAKEFILE= Makefile.ssl |
17 | AR= ar r | |
18 | ||
19 | CFLAGS= $(INCLUDES) $(CFLAG) | |
20 | ||
d02b48c6 RE |
21 | GENERAL=Makefile |
22 | TEST= | |
23 | APPS= | |
24 | ||
25 | LIB=$(TOP)/libcrypto.a | |
73934800 | 26 | LIBSRC= bio_lib.c bio_cb.c bio_err.c \ |
d02b48c6 RE |
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 \ | |
9e06f6f6 | 30 | b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c |
645749ef | 31 | # bf_lbuf.c |
73934800 | 32 | LIBOBJ= bio_lib.o bio_cb.o bio_err.o \ |
d02b48c6 RE |
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 \ | |
9e06f6f6 | 36 | b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o |
645749ef | 37 | # bf_lbuf.o |
d02b48c6 RE |
38 | |
39 | SRC= $(LIBSRC) | |
40 | ||
8d697db1 | 41 | EXHEADER= bio.h |
9e7bd9b5 | 42 | HEADER= bss_file.c $(EXHEADER) |
d02b48c6 RE |
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) | |
4e20b1a6 | 53 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
54 | @touch lib |
55 | ||
56 | files: | |
99aab161 | 57 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
58 | |
59 | links: | |
79b42e76 | 60 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile |
1314c344 BM |
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) | |
d02b48c6 RE |
64 | |
65 | install: | |
a2ac429d | 66 | @headerlist="$(EXHEADER)"; for i in $$headerlist; \ |
d02b48c6 | 67 | do \ |
e5f3045f BM |
68 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
69 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
70 | done; |
71 | ||
72 | tags: | |
73 | ctags $(SRC) | |
74 | ||
75 | tests: | |
76 | ||
77 | lint: | |
78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
79 | ||
80 | depend: | |
001ab3ab | 81 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
d02b48c6 RE |
82 | |
83 | dclean: | |
99aab161 | 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
85 | mv -f Makefile.new $(MAKEFILE) |
86 | ||
87 | clean: | |
bb8f3c58 | 88 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 89 | |
d02b48c6 | 90 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 91 | |
41d2a336 RL |
92 | b_dump.o: ../../e_os.h ../../include/openssl/bio.h |
93 | b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 94 | b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 95 | b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
96 | b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
97 | b_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
98 | b_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c | |
7ef6e3fe | 99 | b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
41d2a336 | 100 | b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
7e701817 | 101 | b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 102 | b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
103 | b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
104 | b_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
105 | b_print.o: ../../include/openssl/symhacks.h ../cryptlib.h b_print.c | |
41d2a336 RL |
106 | b_sock.o: ../../e_os.h ../../include/openssl/bio.h |
107 | b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 108 | b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 109 | b_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
110 | b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
111 | b_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
112 | b_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h b_sock.c | |
d66ace9d | 113 | bf_buff.o: ../../e_os.h ../../include/openssl/bio.h |
dbad1690 | 114 | bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
dbad1690 | 115 | bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
d66ace9d | 116 | bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
117 | bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
118 | bf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
119 | bf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_buff.c | |
d66ace9d | 120 | bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h |
dbad1690 | 121 | bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
dbad1690 | 122 | bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
d66ace9d | 123 | bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
f8000b93 RL |
124 | bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
125 | bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | |
126 | bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
534aaf37 | 127 | bf_nbio.o: ../cryptlib.h bf_nbio.c |
d66ace9d | 128 | bf_null.o: ../../e_os.h ../../include/openssl/bio.h |
dbad1690 | 129 | bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
dbad1690 | 130 | bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
d66ace9d | 131 | bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
132 | bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
133 | bf_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
134 | bf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_null.c | |
41d2a336 RL |
135 | bio_cb.o: ../../e_os.h ../../include/openssl/bio.h |
136 | bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 137 | bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 138 | bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
139 | bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
140 | bio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
141 | bio_cb.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_cb.c | |
bf57da07 | 142 | bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
cf1b7d96 RL |
143 | bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
144 | bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
145 | bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
146 | bio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
147 | bio_err.o: ../../include/openssl/symhacks.h bio_err.c | |
41d2a336 RL |
148 | bio_lib.o: ../../e_os.h ../../include/openssl/bio.h |
149 | bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 150 | bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 151 | bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
152 | bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
153 | bio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
154 | bio_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lib.c | |
41d2a336 RL |
155 | bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h |
156 | bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 157 | bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 158 | bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
159 | bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
160 | bss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
161 | bss_acpt.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_acpt.c | |
41d2a336 RL |
162 | bss_bio.o: ../../e_os.h ../../include/openssl/bio.h |
163 | bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | |
cf1b7d96 RL |
164 | bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
165 | bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
166 | bss_bio.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
167 | bss_bio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
168 | bss_bio.o: bss_bio.c | |
41d2a336 RL |
169 | bss_conn.o: ../../e_os.h ../../include/openssl/bio.h |
170 | bss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 171 | bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 172 | bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
173 | bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
174 | bss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
175 | bss_conn.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_conn.c | |
41d2a336 RL |
176 | bss_fd.o: ../../e_os.h ../../include/openssl/bio.h |
177 | bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 178 | bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 179 | bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
180 | bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
181 | bss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
182 | bss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_fd.c | |
41d2a336 RL |
183 | bss_file.o: ../../e_os.h ../../include/openssl/bio.h |
184 | bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 185 | bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 186 | bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
187 | bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
188 | bss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
189 | bss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_file.c | |
41d2a336 RL |
190 | bss_log.o: ../../e_os.h ../../include/openssl/bio.h |
191 | bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 192 | bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 193 | bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
194 | bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
195 | bss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
196 | bss_log.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_log.c | |
41d2a336 RL |
197 | bss_mem.o: ../../e_os.h ../../include/openssl/bio.h |
198 | bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 199 | bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 200 | bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
201 | bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
202 | bss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
203 | bss_mem.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_mem.c | |
41d2a336 RL |
204 | bss_null.o: ../../e_os.h ../../include/openssl/bio.h |
205 | bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 206 | bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 207 | bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
208 | bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
209 | bss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
210 | bss_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_null.c | |
41d2a336 RL |
211 | bss_sock.o: ../../e_os.h ../../include/openssl/bio.h |
212 | bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 213 | bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 214 | bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
215 | bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
216 | bss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
217 | bss_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_sock.c |