1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/bio/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= bio
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 22:45:02 +08:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 18:52:47 +08:00
|
|
|
CFLAG=-g
|
1999-04-30 05:52:08 +08:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 18:52:47 +08:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-20 00:06:34 +08:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 18:52:47 +08:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
1999-04-25 01:28:43 +08:00
|
|
|
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
|
1998-12-21 18:52:47 +08:00
|
|
|
bss_mem.c bss_null.c bss_fd.c \
|
|
|
|
bss_file.c bss_sock.c bss_conn.c \
|
|
|
|
bf_null.c bf_buff.c b_print.c b_dump.c \
|
1999-06-08 00:04:45 +08:00
|
|
|
b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
|
On VMS, stdout may very well lead to a file that is written to in a
record-oriented fashion. That means that every write() will write a
separate record, which will be read separately by the programs trying
to read from it. This can be very confusing.
The solution is to put a BIO filter in the way that will buffer text
until a linefeed is reached, and then write everything a line at a
time, so every record written will be an actual line, not chunks of
lines and not (usually doesn't happen, but I've seen it once) several
lines in one record. Voila, BIO_f_linebuffer() is born.
Since we're so close to release time, I'm making this VMS-only for
now, just to make sure no code is needlessly broken by this. After
the release, this BIO method will be enabled on all other platforms as
well.
2000-09-20 21:55:50 +08:00
|
|
|
# bf_lbuf.c
|
1999-04-25 01:28:43 +08:00
|
|
|
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
|
1998-12-21 18:52:47 +08:00
|
|
|
bss_mem.o bss_null.o bss_fd.o \
|
|
|
|
bss_file.o bss_sock.o bss_conn.o \
|
|
|
|
bf_null.o bf_buff.o b_print.o b_dump.o \
|
1999-06-08 00:04:45 +08:00
|
|
|
b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o
|
On VMS, stdout may very well lead to a file that is written to in a
record-oriented fashion. That means that every write() will write a
separate record, which will be read separately by the programs trying
to read from it. This can be very confusing.
The solution is to put a BIO filter in the way that will buffer text
until a linefeed is reached, and then write everything a line at a
time, so every record written will be an actual line, not chunks of
lines and not (usually doesn't happen, but I've seen it once) several
lines in one record. Voila, BIO_f_linebuffer() is born.
Since we're so close to release time, I'm making this VMS-only for
now, just to make sure no code is needlessly broken by this. After
the release, this BIO method will be enabled on all other platforms as
well.
2000-09-20 21:55:50 +08:00
|
|
|
# bf_lbuf.o
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
1999-03-04 15:47:27 +08:00
|
|
|
EXHEADER= bio.h
|
1999-04-15 05:43:02 +08:00
|
|
|
HEADER= bss_file.c $(EXHEADER)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 18:52:47 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1999-04-29 20:46:59 +08:00
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
install:
|
1999-03-04 15:47:27 +08:00
|
|
|
@for i in $(EXHEADER); \
|
1998-12-21 18:52:47 +08:00
|
|
|
do \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 18:52:47 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
1999-04-27 09:14:46 +08:00
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
2001-02-22 22:45:02 +08:00
|
|
|
b_dump.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
b_dump.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
b_dump.o: ../cryptlib.h b_dump.c
|
2001-04-18 07:53:58 +08:00
|
|
|
b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
2001-02-22 22:45:02 +08:00
|
|
|
b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
b_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
b_print.o: ../cryptlib.h b_print.c
|
2001-02-22 22:45:02 +08:00
|
|
|
b_sock.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
b_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
b_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
b_sock.o: ../cryptlib.h b_sock.c
|
2001-08-06 02:02:16 +08:00
|
|
|
bf_buff.o: ../../e_os.h ../../include/openssl/bio.h
|
2001-07-31 07:57:25 +08:00
|
|
|
bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2001-08-06 02:02:16 +08:00
|
|
|
bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
|
|
|
bf_buff.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
bf_buff.o: ../cryptlib.h bf_buff.c
|
|
|
|
bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h
|
2001-07-31 07:57:25 +08:00
|
|
|
bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2001-08-06 02:02:16 +08:00
|
|
|
bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
|
|
|
|
bf_nbio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
bf_nbio.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_nbio.c
|
|
|
|
bf_null.o: ../../e_os.h ../../include/openssl/bio.h
|
2001-07-31 07:57:25 +08:00
|
|
|
bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2001-08-06 02:02:16 +08:00
|
|
|
bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
|
|
|
bf_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
bf_null.o: ../cryptlib.h bf_null.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bio_cb.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bio_cb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bio_cb.o: ../cryptlib.h bio_cb.c
|
1999-04-24 06:50:50 +08:00
|
|
|
bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
2001-02-20 00:06:34 +08:00
|
|
|
bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bio_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bio_err.o: bio_err.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bio_lib.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bio_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bio_lib.o: ../cryptlib.h bio_lib.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-24 07:41:49 +08:00
|
|
|
bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_acpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_acpt.o: ../cryptlib.h bss_acpt.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_bio.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
2001-02-20 00:06:34 +08:00
|
|
|
bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_bio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_bio.o: ../../include/openssl/symhacks.h bss_bio.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_conn.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-24 07:41:49 +08:00
|
|
|
bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_conn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_conn.o: ../cryptlib.h bss_conn.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_fd.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_fd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_fd.o: ../cryptlib.h bss_fd.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_file.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-24 07:41:49 +08:00
|
|
|
bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_file.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_file.o: ../cryptlib.h bss_file.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_log.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_log.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_log.o: ../cryptlib.h bss_log.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_mem.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_mem.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_mem.o: ../cryptlib.h bss_mem.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_null.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-24 07:41:49 +08:00
|
|
|
bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_null.o: ../cryptlib.h bss_null.c
|
2001-02-22 22:45:02 +08:00
|
|
|
bss_sock.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-24 07:41:49 +08:00
|
|
|
bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bss_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
bss_sock.o: ../cryptlib.h bss_sock.c
|