Makefile.in 1.2 KB
Newer Older
B
Ben Laurie 已提交
1
#
R
Rich Salz 已提交
2
# OpenSSL/crypto/bio/Makefile
B
Ben Laurie 已提交
3 4
#

R
Rich Salz 已提交
5
DIR=	bio
B
Ben Laurie 已提交
6 7
TOP=	../..
CC=	cc
R
Rich Salz 已提交
8
INCLUDES= -I.. -I$(TOP) -I../../include
B
Ben Laurie 已提交
9 10 11 12 13 14 15 16 17
CFLAG=-g
MAKEFILE=	Makefile
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile

LIB=$(TOP)/libcrypto.a
R
Rich Salz 已提交
18 19 20
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 \
21
	bf_null.c bf_buff.c b_print.c b_dump.c b_addr.c \
22
	b_sock.c b_sock2.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
R
Rich Salz 已提交
23 24 25 26 27
	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 \
28
	bf_null.o bf_buff.o b_print.o b_dump.o b_addr.o \
29
	b_sock.o b_sock2.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
R
Rich Salz 已提交
30 31
	bss_dgram.o
#	bf_lbuf.o
B
Ben Laurie 已提交
32 33 34

SRC= $(LIBSRC)

R
Rich Salz 已提交
35
HEADER=	bio_lcl.h
B
Ben Laurie 已提交
36 37 38 39 40 41 42 43 44

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
45
	$(AR) $(LIB) $(LIBOBJ)
B
Ben Laurie 已提交
46 47 48 49 50 51 52
	$(RANLIB) $(LIB) || echo Never mind.
	@touch lib

files:
	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO

depend:
R
Rich Salz 已提交
53
	$(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
B
Ben Laurie 已提交
54 55 56 57 58

clean:
	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff

# DO NOT DELETE THIS LINE -- make depend depends on it.