Refactoring BIO: new socket-handling functions, deprecate older ones
[openssl.git] / crypto / bio / Makefile.in
1 #
2 # OpenSSL/crypto/bio/Makefile
3 #
4
5 DIR=    bio
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= bio_lib.c bio_cb.c bio_err.c \
19         bss_mem.c bss_null.c bss_fd.c \
20         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 \
23         bss_dgram.c
24 #       bf_lbuf.c
25 LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
26         bss_mem.o bss_null.o bss_fd.o \
27         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 \
30         bss_dgram.o
31 #       bf_lbuf.o
32
33 SRC= $(LIBSRC)
34
35 HEADER= bio_lcl.h
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all:    lib
43
44 lib:    $(LIBOBJ)
45         $(AR) $(LIB) $(LIBOBJ)
46         $(RANLIB) $(LIB) || echo Never mind.
47         @touch lib
48
49 files:
50         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
51
52 depend:
53         $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
54
55 clean:
56         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
57
58 # DO NOT DELETE THIS LINE -- make depend depends on it.