Obey $(PERL) when running util/mklink.pl.
[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         @$(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         @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) $(DEPFLAG) $(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/opensslconf.h
90 b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
91 b_dump.o: ../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/opensslconf.h
95 b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
96 b_print.o: ../cryptlib.h
97 b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
98 b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
99 b_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
100 b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
101 b_sock.o: ../cryptlib.h
102 bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
103 bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
104 bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
105 bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
106 bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
107 bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
108 bf_buff.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
109 bf_buff.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
110 bf_buff.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
111 bf_buff.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
112 bf_buff.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
113 bf_buff.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
114 bf_buff.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
115 bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h
116 bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117 bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
118 bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
119 bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
120 bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
121 bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
122 bf_nbio.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
123 bf_nbio.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
124 bf_nbio.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
125 bf_nbio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
126 bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
127 bf_nbio.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
128 bf_nbio.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
129 bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
130 bf_nbio.o: ../cryptlib.h
131 bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
132 bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
133 bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
134 bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
135 bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
136 bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
137 bf_null.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
138 bf_null.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
139 bf_null.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
140 bf_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
141 bf_null.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
142 bf_null.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
143 bf_null.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
144 bf_null.o: ../../include/openssl/stack.h ../cryptlib.h
145 bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
146 bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
147 bio_cb.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
148 bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
149 bio_cb.o: ../cryptlib.h
150 bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
151 bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
152 bio_err.o: ../../include/openssl/stack.h
153 bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
154 bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
155 bio_lib.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
156 bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
157 bio_lib.o: ../cryptlib.h
158 bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
159 bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
160 bss_acpt.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
161 bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
162 bss_acpt.o: ../cryptlib.h
163 bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
164 bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
165 bss_conn.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
166 bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
167 bss_conn.o: ../cryptlib.h
168 bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
169 bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
170 bss_fd.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
171 bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
172 bss_fd.o: ../cryptlib.h bss_sock.c
173 bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
174 bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
175 bss_file.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
176 bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
177 bss_file.o: ../cryptlib.h
178 bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
179 bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
180 bss_log.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
181 bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
182 bss_log.o: ../cryptlib.h
183 bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
184 bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
185 bss_mem.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
186 bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
187 bss_mem.o: ../cryptlib.h
188 bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
189 bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
190 bss_null.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
191 bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
192 bss_null.o: ../cryptlib.h
193 bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
194 bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
195 bss_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
196 bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
197 bss_sock.o: ../cryptlib.h