Update dependencies.
[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 ERR=bio
19 ERRC=bio_err
20 GENERAL=Makefile
21 TEST=
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= bio_lib.c bio_cb.c $(ERRC).c \
26         bss_mem.c bss_null.c bss_fd.c \
27         bss_file.c bss_sock.c bss_conn.c \
28         bf_null.c bf_buff.c b_print.c b_dump.c \
29         b_sock.c bss_acpt.c bf_nbio.c bss_log.c
30 LIBOBJ= bio_lib.o bio_cb.o $(ERRC).o \
31         bss_mem.o bss_null.o bss_fd.o \
32         bss_file.o bss_sock.o bss_conn.o \
33         bf_null.o bf_buff.o b_print.o b_dump.o \
34         b_sock.o bss_acpt.o bf_nbio.o bss_log.o
35
36 SRC= $(LIBSRC)
37
38 EXHEADER= bio.h bss_file.c
39 HEADER= $(EXHEADER)
40
41 ALL=    $(GENERAL) $(SRC) $(HEADER)
42
43 top:
44         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
45
46 all:    lib
47
48 lib:    $(LIBOBJ)
49         $(AR) $(LIB) $(LIBOBJ)
50         sh $(TOP)/util/ranlib.sh $(LIB)
51         @touch lib
52
53 files:
54         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
55
56 links:
57         /bin/rm -f Makefile
58         $(TOP)/util/point.sh Makefile.ssl Makefile;
59         $(TOP)/util/mklink.sh ../../include $(EXHEADER)
60         $(TOP)/util/mklink.sh ../../test $(TEST)
61         $(TOP)/util/mklink.sh ../../apps $(APPS)
62
63 install:
64         @for i in $(EXHEADER) bss_file.c ; \
65         do  \
66         (cp $$i $(INSTALLTOP)/include/$$i; \
67         chmod 644 $(INSTALLTOP)/include/$$i ); \
68         done;
69
70 tags:
71         ctags $(SRC)
72
73 tests:
74
75 lint:
76         lint -DLINT $(INCLUDES) $(SRC)>fluff
77
78 depend:
79         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
80
81 dclean:
82         perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
83         mv -f Makefile.new $(MAKEFILE)
84
85 clean:
86         /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
87
88 errors: $(ERRC).c
89
90 $(ERRC).c: $(ERR).err
91         perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
92         perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
93
94 # DO NOT DELETE THIS LINE -- make depend depends on it.
95
96 b_dump.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
97 b_dump.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
98 b_print.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
99 b_print.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
100 b_sock.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
101 b_sock.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
102 bf_buff.o: ../../include/asn1.h ../../include/blowfish.h ../../include/bn.h
103 bf_buff.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
104 bf_buff.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
105 bf_buff.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
106 bf_buff.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
107 bf_buff.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
108 bf_buff.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
109 bf_buff.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
110 bf_buff.o: bio.h
111 bf_nbio.o: ../../include/asn1.h ../../include/blowfish.h ../../include/bn.h
112 bf_nbio.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
113 bf_nbio.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
114 bf_nbio.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
115 bf_nbio.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
116 bf_nbio.o: ../../include/objects.h ../../include/rand.h ../../include/rc2.h
117 bf_nbio.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
118 bf_nbio.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
119 bf_nbio.o: ../cryptlib.h ../crypto.h bio.h
120 bf_null.o: ../../include/asn1.h ../../include/blowfish.h ../../include/bn.h
121 bf_null.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
122 bf_null.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
123 bf_null.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
124 bf_null.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
125 bf_null.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
126 bf_null.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
127 bf_null.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
128 bf_null.o: bio.h
129 bio_cb.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
130 bio_cb.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
131 bio_err.o: ../../include/err.h ../../include/stack.h ../crypto.h bio.h
132 bio_lib.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
133 bio_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
134 bss_acpt.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
135 bss_acpt.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
136 bss_conn.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
137 bss_conn.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
138 bss_fd.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
139 bss_fd.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h bss_sock.c
140 bss_file.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
141 bss_file.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
142 bss_log.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
143 bss_log.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
144 bss_mem.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
145 bss_mem.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
146 bss_null.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
147 bss_null.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h
148 bss_sock.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
149 bss_sock.o: ../../include/stack.h ../cryptlib.h ../crypto.h bio.h