Restore ERRC definitions that are needed to compile the library.
[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 ERRC=bio_err
19 GENERAL=Makefile
20 TEST=
21 APPS=
22
23 LIB=$(TOP)/libcrypto.a
24 LIBSRC= bio_lib.c bio_cb.c $(ERRC).c \
25         bss_mem.c bss_null.c bss_fd.c \
26         bss_file.c bss_sock.c bss_conn.c \
27         bf_null.c bf_buff.c b_print.c b_dump.c \
28         b_sock.c bss_acpt.c bf_nbio.c bss_log.c
29 LIBOBJ= bio_lib.o bio_cb.o $(ERRC).o \
30         bss_mem.o bss_null.o bss_fd.o \
31         bss_file.o bss_sock.o bss_conn.o \
32         bf_null.o bf_buff.o b_print.o b_dump.o \
33         b_sock.o bss_acpt.o bf_nbio.o bss_log.o
34
35 SRC= $(LIBSRC)
36
37 EXHEADER= bio.h
38 HEADER= bss_file.c $(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)
50         @touch lib
51
52 files:
53         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
54
55 links:
56         @$(TOP)/util/point.sh Makefile.ssl Makefile
57         @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
58         @$(TOP)/util/mklink.sh ../../test $(TEST)
59         @$(TOP)/util/mklink.sh ../../apps $(APPS)
60
61 install:
62         @for i in $(EXHEADER); \
63         do  \
64         (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
65         chmod 644 $(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         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
78
79 dclean:
80         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81         mv -f Makefile.new $(MAKEFILE)
82
83 clean:
84         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
85
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
87
88 b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
89 b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
90 b_dump.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
91 b_dump.o: ../../include/openssl/stack.h ../cryptlib.h
92 b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
93 b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
94 b_print.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
95 b_print.o: ../../include/openssl/stack.h ../cryptlib.h
96 b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
97 b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
98 b_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
99 b_sock.o: ../../include/openssl/stack.h ../cryptlib.h
100 bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
101 bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
102 bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
103 bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
104 bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
105 bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
106 bf_buff.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
107 bf_buff.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
108 bf_buff.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
109 bf_buff.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
110 bf_buff.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
111 bf_buff.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
112 bf_buff.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
113 bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h
114 bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
115 bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
116 bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
117 bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
118 bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
119 bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
120 bf_nbio.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
121 bf_nbio.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
122 bf_nbio.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
123 bf_nbio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
124 bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
125 bf_nbio.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
126 bf_nbio.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
127 bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
128 bf_nbio.o: ../cryptlib.h
129 bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
130 bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
131 bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
132 bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
133 bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
134 bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
135 bf_null.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
136 bf_null.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
137 bf_null.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
138 bf_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
139 bf_null.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
140 bf_null.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
141 bf_null.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
142 bf_null.o: ../../include/openssl/stack.h ../cryptlib.h
143 bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
144 bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
145 bio_cb.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
146 bio_cb.o: ../../include/openssl/stack.h ../cryptlib.h
147 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
148 bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
149 bio_err.o: ../../include/openssl/stack.h
150 bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
151 bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
152 bio_lib.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
153 bio_lib.o: ../../include/openssl/stack.h ../cryptlib.h
154 bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
155 bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
156 bss_acpt.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
157 bss_acpt.o: ../../include/openssl/stack.h ../cryptlib.h
158 bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
159 bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
160 bss_conn.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
161 bss_conn.o: ../../include/openssl/stack.h ../cryptlib.h
162 bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
163 bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
164 bss_fd.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
165 bss_fd.o: ../../include/openssl/stack.h ../cryptlib.h bss_sock.c
166 bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
167 bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
168 bss_file.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
169 bss_file.o: ../../include/openssl/stack.h ../cryptlib.h
170 bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
171 bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
172 bss_log.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
173 bss_log.o: ../../include/openssl/stack.h ../cryptlib.h
174 bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
175 bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
176 bss_mem.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
177 bss_mem.o: ../../include/openssl/stack.h ../cryptlib.h
178 bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
179 bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
180 bss_null.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
181 bss_null.o: ../../include/openssl/stack.h ../cryptlib.h
182 bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
183 bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
184 bss_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
185 bss_sock.o: ../../include/openssl/stack.h ../cryptlib.h