Change the command line options of mkerr.pl so -static is now default and
[openssl.git] / crypto / bio / Makefile.ssl
1 #
2 # SSLeay/crypto/bio/Makefile
3 #
4
5 DIR=    bio
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I../../include
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 GENERAL=Makefile
19 TEST=
20 APPS=
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC= bio_lib.c bio_cb.c bio_err.c \
24         bss_mem.c bss_null.c bss_fd.c \
25         bss_file.c bss_sock.c bss_conn.c \
26         bf_null.c bf_buff.c b_print.c b_dump.c \
27         b_sock.c bss_acpt.c bf_nbio.c bss_log.c
28 LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
29         bss_mem.o bss_null.o bss_fd.o \
30         bss_file.o bss_sock.o bss_conn.o \
31         bf_null.o bf_buff.o b_print.o b_dump.o \
32         b_sock.o bss_acpt.o bf_nbio.o bss_log.o
33
34 SRC= $(LIBSRC)
35
36 EXHEADER= bio.h
37 HEADER= bss_file.c $(EXHEADER)
38
39 ALL=    $(GENERAL) $(SRC) $(HEADER)
40
41 top:
42         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43
44 all:    lib
45
46 lib:    $(LIBOBJ)
47         $(AR) $(LIB) $(LIBOBJ)
48         $(RANLIB) $(LIB)
49         @touch lib
50
51 files:
52         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
53
54 links:
55         @$(TOP)/util/point.sh Makefile.ssl Makefile
56         @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
57         @$(TOP)/util/mklink.sh ../../test $(TEST)
58         @$(TOP)/util/mklink.sh ../../apps $(APPS)
59
60 install:
61         @for i in $(EXHEADER); \
62         do  \
63         (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
64         chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
65         done;
66
67 tags:
68         ctags $(SRC)
69
70 tests:
71
72 lint:
73         lint -DLINT $(INCLUDES) $(SRC)>fluff
74
75 depend:
76         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
77
78 dclean:
79         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80         mv -f Makefile.new $(MAKEFILE)
81
82 clean:
83         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
84
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
86
87 b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
88 b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
89 b_dump.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
90 b_dump.o: ../../include/openssl/stack.h ../cryptlib.h
91 b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
92 b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
93 b_print.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
94 b_print.o: ../../include/openssl/stack.h ../cryptlib.h
95 b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
96 b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
97 b_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
98 b_sock.o: ../../include/openssl/stack.h ../cryptlib.h
99 bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
101 bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
102 bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
103 bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
104 bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
105 bf_buff.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
106 bf_buff.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
107 bf_buff.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
108 bf_buff.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
109 bf_buff.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
110 bf_buff.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
111 bf_buff.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
112 bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h
113 bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
114 bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
115 bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
116 bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
117 bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
118 bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
119 bf_nbio.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
120 bf_nbio.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
121 bf_nbio.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
122 bf_nbio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
123 bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
124 bf_nbio.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
125 bf_nbio.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
126 bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
127 bf_nbio.o: ../cryptlib.h
128 bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
129 bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
130 bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
131 bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
132 bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
133 bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
134 bf_null.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
135 bf_null.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
136 bf_null.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
137 bf_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
138 bf_null.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
139 bf_null.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
140 bf_null.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
141 bf_null.o: ../../include/openssl/stack.h ../cryptlib.h
142 bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
143 bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
144 bio_cb.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
145 bio_cb.o: ../../include/openssl/stack.h ../cryptlib.h
146 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
147 bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
148 bio_err.o: ../../include/openssl/stack.h
149 bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
150 bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
151 bio_lib.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
152 bio_lib.o: ../../include/openssl/stack.h ../cryptlib.h
153 bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
154 bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
155 bss_acpt.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
156 bss_acpt.o: ../../include/openssl/stack.h ../cryptlib.h
157 bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
158 bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
159 bss_conn.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
160 bss_conn.o: ../../include/openssl/stack.h ../cryptlib.h
161 bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
162 bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
163 bss_fd.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
164 bss_fd.o: ../../include/openssl/stack.h ../cryptlib.h bss_sock.c
165 bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
166 bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
167 bss_file.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
168 bss_file.o: ../../include/openssl/stack.h ../cryptlib.h
169 bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
170 bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
171 bss_log.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
172 bss_log.o: ../../include/openssl/stack.h ../cryptlib.h
173 bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
174 bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
175 bss_mem.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
176 bss_mem.o: ../../include/openssl/stack.h ../cryptlib.h
177 bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
178 bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
179 bss_null.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
180 bss_null.o: ../../include/openssl/stack.h ../cryptlib.h
181 bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
182 bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
183 bss_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
184 bss_sock.o: ../../include/openssl/stack.h ../cryptlib.h