make update
[openssl.git] / crypto / bio / Makefile
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 TEST=
17 APPS=
18
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= bio_lib.c bio_cb.c bio_err.c \
21         bss_mem.c bss_null.c bss_fd.c \
22         bss_file.c bss_sock.c bss_conn.c \
23         bf_null.c bf_buff.c b_print.c b_dump.c \
24         b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
25         bss_dgram.c
26 #       bf_lbuf.c
27 LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
28         bss_mem.o bss_null.o bss_fd.o \
29         bss_file.o bss_sock.o bss_conn.o \
30         bf_null.o bf_buff.o b_print.o b_dump.o \
31         b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
32         bss_dgram.o
33 #       bf_lbuf.o
34
35 SRC= $(LIBSRC)
36
37 EXHEADER= bio.h
38 HEADER= bio_lcl.h $(EXHEADER)
39
40 ALL=    $(GENERAL) $(SRC) $(HEADER)
41
42 top:
43         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44
45 all:    lib
46
47 lib:    $(LIBOBJ)
48         $(AR) $(LIB) $(LIBOBJ)
49         $(RANLIB) $(LIB) || echo Never mind.
50         @touch lib
51
52 files:
53         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
54
55 links:
56         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
57         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
58         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59
60 install:
61         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
62         @headerlist="$(EXHEADER)"; for i in $$headerlist; \
63         do  \
64         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
65         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66         done;
67
68 tags:
69         ctags $(SRC)
70
71 tests:
72
73 lint:
74         lint -DLINT $(INCLUDES) $(SRC)>fluff
75
76 depend:
77         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
78         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79
80 dclean:
81         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
82         mv -f Makefile.new $(MAKEFILE)
83
84 clean:
85         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
86
87 # DO NOT DELETE THIS LINE -- make depend depends on it.
88
89 b_dump.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
90 b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
91 b_dump.o: ../../include/openssl/stack.h ../cryptlib.h b_dump.c bio_lcl.h
92 b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
93 b_print.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
94 b_print.o: ../../include/openssl/stack.h ../cryptlib.h b_print.c
95 b_sock.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/dso.h
96 b_sock.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
97 b_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
98 b_sock.o: ../cryptlib.h b_sock.c
99 bf_buff.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
100 bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
101 bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h bf_buff.c
102 bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
103 bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/rand.h
104 bf_nbio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
105 bf_nbio.o: ../cryptlib.h bf_nbio.c
106 bf_null.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
107 bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
108 bf_null.o: ../../include/openssl/stack.h ../cryptlib.h bf_null.c
109 bio_cb.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
110 bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
111 bio_cb.o: ../../include/openssl/stack.h ../cryptlib.h bio_cb.c
112 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/err.h
113 bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
114 bio_err.o: ../../include/openssl/stack.h bio_err.c
115 bio_lib.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
116 bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
117 bio_lib.o: ../../include/openssl/stack.h ../cryptlib.h bio_lib.c
118 bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
119 bss_acpt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
120 bss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
121 bss_acpt.o: ../cryptlib.h bss_acpt.c
122 bss_bio.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
123 bss_bio.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
124 bss_bio.o: ../../include/openssl/stack.h bss_bio.c
125 bss_conn.o: ../../e_os.h ../../include/openssl/bio.h
126 bss_conn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
127 bss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
128 bss_conn.o: ../cryptlib.h bss_conn.c
129 bss_dgram.o: ../../e_os.h ../../include/openssl/bio.h
130 bss_dgram.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
131 bss_dgram.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
132 bss_dgram.o: ../cryptlib.h bss_dgram.c
133 bss_fd.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
134 bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
135 bss_fd.o: ../../include/openssl/stack.h ../cryptlib.h bio_lcl.h bss_fd.c
136 bss_file.o: ../../e_os.h ../../include/openssl/bio.h
137 bss_file.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
138 bss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
139 bss_file.o: ../cryptlib.h bio_lcl.h bss_file.c
140 bss_log.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
141 bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
142 bss_log.o: ../../include/openssl/stack.h ../cryptlib.h bss_log.c
143 bss_mem.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/err.h
144 bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/safestack.h
145 bss_mem.o: ../../include/openssl/stack.h ../cryptlib.h bss_mem.c
146 bss_null.o: ../../e_os.h ../../include/openssl/bio.h
147 bss_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
148 bss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
149 bss_null.o: ../cryptlib.h bss_null.c
150 bss_sock.o: ../../e_os.h ../../include/openssl/bio.h
151 bss_sock.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
152 bss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
153 bss_sock.o: ../cryptlib.h bss_sock.c