2005-04-26 16:02:40 +00:00
|
|
|
#
|
2016-01-12 21:25:30 +00:00
|
|
|
# OpenSSL/crypto/bio/Makefile
|
2005-04-26 16:02:40 +00:00
|
|
|
#
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
DIR= bio
|
2005-04-26 16:02:40 +00:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2016-01-12 21:25:30 +00:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
2005-04-26 16:02:40 +00:00
|
|
|
CFLAG=-g
|
|
|
|
MAKEFILE= Makefile
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-12 21:25:30 +00:00
|
|
|
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
|
|
|
|
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 \
|
|
|
|
b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
|
|
|
|
bss_dgram.c
|
|
|
|
# bf_lbuf.c
|
|
|
|
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
|
|
|
|
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 \
|
|
|
|
b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
|
|
|
|
bss_dgram.o
|
|
|
|
# bf_lbuf.o
|
2005-04-26 16:02:40 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
HEADER= bio_lcl.h
|
2005-04-26 16:02:40 +00:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-18 22:47:03 +00:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2005-04-26 16:02:40 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
|
|
|
|
|
|
|
depend:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2005-04-26 16:02:40 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|