1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/bio/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= bio
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 14:45:02 +00:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 10:52:47 +00:00
|
|
|
CFLAG=-g
|
1999-04-29 21:52:08 +00:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 10:52:47 +00:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 10:52:47 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
1999-04-24 17:28:43 +00:00
|
|
|
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
|
1998-12-21 10:52:47 +00: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-07 16:04:45 +00: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 13:55:50 +00:00
|
|
|
# bf_lbuf.c
|
1999-04-24 17:28:43 +00:00
|
|
|
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
|
1998-12-21 10:52:47 +00: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-07 16:04:45 +00: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 13:55:50 +00:00
|
|
|
# bf_lbuf.o
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
1999-03-04 07:47:27 +00:00
|
|
|
EXHEADER= bio.h
|
1999-04-14 21:43:02 +00:00
|
|
|
HEADER= bss_file.c $(EXHEADER)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 14:01:42 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
2003-12-27 15:00:24 +00:00
|
|
|
@sh $(TOP)/util/point.sh Makefile.ssl Makefile
|
1999-04-29 12:46:59 +00: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 10:52:47 +00:00
|
|
|
|
|
|
|
install:
|
1999-03-04 07:47:27 +00:00
|
|
|
@for i in $(EXHEADER); \
|
1998-12-21 10:52:47 +00:00
|
|
|
do \
|
1999-04-29 21:52:08 +00:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:52:47 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2002-10-09 13:21:33 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 10:52:47 +00:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 12:32:06 +00:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 14:32:48 +00:00
|
|
|
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
b_dump.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
b_dump.o: ../cryptlib.h b_dump.c
|
2001-04-17 23:53:58 +00:00
|
|
|
b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
2001-02-22 14:45:02 +00:00
|
|
|
b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
1999-05-21 11:16:48 +00:00
|
|
|
b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
b_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
b_print.o: ../cryptlib.h b_print.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
b_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
b_sock.o: ../cryptlib.h b_sock.c
|
2001-08-05 18:02:16 +00:00
|
|
|
bf_buff.o: ../../e_os.h ../../include/openssl/bio.h
|
2001-07-30 23:57:25 +00: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-05 18:02:16 +00: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-30 23:57:25 +00: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-05 18:02:16 +00:00
|
|
|
bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
|
|
|
|
bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-09-25 20:39:59 +00:00
|
|
|
bf_nbio.o: ../cryptlib.h bf_nbio.c
|
2001-08-05 18:02:16 +00:00
|
|
|
bf_null.o: ../../e_os.h ../../include/openssl/bio.h
|
2001-07-30 23:57:25 +00: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-05 18:02:16 +00: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 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
bio_cb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bio_cb.o: ../cryptlib.h bio_cb.c
|
1999-04-23 22:50:50 +00:00
|
|
|
bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
2001-02-19 16:06:34 +00: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 12:59:38 +00:00
|
|
|
bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bio_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bio_err.o: bio_err.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
bio_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bio_lib.o: ../cryptlib.h bio_lib.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00:00
|
|
|
bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-23 23:41:49 +00:00
|
|
|
bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bss_acpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_acpt.o: ../cryptlib.h bss_acpt.c
|
2001-02-22 14:45:02 +00: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-19 16:06:34 +00: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 12:59:38 +00:00
|
|
|
bss_bio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_bio.o: ../../include/openssl/symhacks.h bss_bio.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00:00
|
|
|
bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-23 23:41:49 +00:00
|
|
|
bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bss_conn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_conn.o: ../cryptlib.h bss_conn.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
bss_fd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_fd.o: ../cryptlib.h bss_fd.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00:00
|
|
|
bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-23 23:41:49 +00:00
|
|
|
bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bss_file.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_file.o: ../cryptlib.h bss_file.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
bss_log.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_log.o: ../cryptlib.h bss_log.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00: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 08:46:51 +00:00
|
|
|
bss_mem.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_mem.o: ../cryptlib.h bss_mem.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00:00
|
|
|
bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-23 23:41:49 +00:00
|
|
|
bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bss_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_null.o: ../cryptlib.h bss_null.c
|
2001-02-22 14:45:02 +00: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 11:16:48 +00:00
|
|
|
bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2000-06-13 12:59:38 +00:00
|
|
|
bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
2000-01-23 23:41:49 +00:00
|
|
|
bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
bss_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
bss_sock.o: ../cryptlib.h bss_sock.c
|