diff options
Diffstat (limited to 'src/lib/libcrypto/bio/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/bio/Makefile.ssl | 170 |
1 files changed, 144 insertions, 26 deletions
diff --git a/src/lib/libcrypto/bio/Makefile.ssl b/src/lib/libcrypto/bio/Makefile.ssl index 42e11e1c94..f54c7ee1f0 100644 --- a/src/lib/libcrypto/bio/Makefile.ssl +++ b/src/lib/libcrypto/bio/Makefile.ssl | |||
@@ -7,36 +7,36 @@ TOP= ../.. | |||
7 | CC= cc | 7 | CC= cc |
8 | INCLUDES= -I.. -I../../include | 8 | INCLUDES= -I.. -I../../include |
9 | CFLAG=-g | 9 | CFLAG=-g |
10 | INSTALL_PREFIX= | ||
11 | OPENSSLDIR= /usr/local/ssl | ||
10 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
11 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
12 | MAKEDEPEND= makedepend -f Makefile.ssl | 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
13 | MAKEFILE= Makefile.ssl | 15 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | 16 | AR= ar r |
15 | 17 | ||
16 | CFLAGS= $(INCLUDES) $(CFLAG) | 18 | CFLAGS= $(INCLUDES) $(CFLAG) |
17 | 19 | ||
18 | ERR=bio | ||
19 | ERRC=bio_err | ||
20 | GENERAL=Makefile | 20 | GENERAL=Makefile |
21 | TEST= | 21 | TEST= |
22 | APPS= | 22 | APPS= |
23 | 23 | ||
24 | LIB=$(TOP)/libcrypto.a | 24 | LIB=$(TOP)/libcrypto.a |
25 | LIBSRC= bio_lib.c bio_cb.c $(ERRC).c \ | 25 | LIBSRC= bio_lib.c bio_cb.c bio_err.c \ |
26 | bss_mem.c bss_null.c bss_fd.c \ | 26 | bss_mem.c bss_null.c bss_fd.c \ |
27 | bss_file.c bss_sock.c bss_conn.c \ | 27 | bss_file.c bss_sock.c bss_conn.c \ |
28 | bf_null.c bf_buff.c b_print.c b_dump.c \ | 28 | bf_null.c bf_buff.c b_print.c b_dump.c \ |
29 | b_sock.c bss_acpt.c bf_nbio.c | 29 | b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c |
30 | LIBOBJ= bio_lib.o bio_cb.o $(ERRC).o \ | 30 | LIBOBJ= bio_lib.o bio_cb.o bio_err.o \ |
31 | bss_mem.o bss_null.o bss_fd.o \ | 31 | bss_mem.o bss_null.o bss_fd.o \ |
32 | bss_file.o bss_sock.o bss_conn.o \ | 32 | bss_file.o bss_sock.o bss_conn.o \ |
33 | bf_null.o bf_buff.o b_print.o b_dump.o \ | 33 | bf_null.o bf_buff.o b_print.o b_dump.o \ |
34 | b_sock.o bss_acpt.o bf_nbio.o | 34 | b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o |
35 | 35 | ||
36 | SRC= $(LIBSRC) | 36 | SRC= $(LIBSRC) |
37 | 37 | ||
38 | EXHEADER= bio.h bss_file.c | 38 | EXHEADER= bio.h |
39 | HEADER= $(EXHEADER) | 39 | HEADER= bss_file.c $(EXHEADER) |
40 | 40 | ||
41 | ALL= $(GENERAL) $(SRC) $(HEADER) | 41 | ALL= $(GENERAL) $(SRC) $(HEADER) |
42 | 42 | ||
@@ -47,24 +47,23 @@ all: lib | |||
47 | 47 | ||
48 | lib: $(LIBOBJ) | 48 | lib: $(LIBOBJ) |
49 | $(AR) $(LIB) $(LIBOBJ) | 49 | $(AR) $(LIB) $(LIBOBJ) |
50 | sh $(TOP)/util/ranlib.sh $(LIB) | 50 | $(RANLIB) $(LIB) |
51 | @touch lib | 51 | @touch lib |
52 | 52 | ||
53 | files: | 53 | files: |
54 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 54 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
55 | 55 | ||
56 | links: | 56 | links: |
57 | /bin/rm -f Makefile | 57 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
58 | $(TOP)/util/point.sh Makefile.ssl Makefile; | 58 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
59 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 59 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
60 | $(TOP)/util/mklink.sh ../../test $(TEST) | 60 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
61 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
62 | 61 | ||
63 | install: | 62 | install: |
64 | @for i in $(EXHEADER) bss_file.c ; \ | 63 | @for i in $(EXHEADER); \ |
65 | do \ | 64 | do \ |
66 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 65 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
67 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 66 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
68 | done; | 67 | done; |
69 | 68 | ||
70 | tags: | 69 | tags: |
@@ -76,17 +75,136 @@ lint: | |||
76 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
77 | 76 | ||
78 | depend: | 77 | depend: |
79 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 78 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
80 | 79 | ||
81 | dclean: | 80 | dclean: |
82 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
83 | mv -f Makefile.new $(MAKEFILE) | 82 | mv -f Makefile.new $(MAKEFILE) |
84 | 83 | ||
85 | clean: | 84 | clean: |
86 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 85 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
87 | |||
88 | errors: | ||
89 | perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h | ||
90 | perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c | ||
91 | 86 | ||
92 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 87 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
88 | |||
89 | b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
90 | b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
91 | b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
92 | b_dump.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
93 | b_dump.o: ../../include/openssl/stack.h ../cryptlib.h | ||
94 | b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
95 | b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
96 | b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
97 | b_print.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
98 | b_print.o: ../../include/openssl/stack.h ../cryptlib.h | ||
99 | b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
100 | b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
101 | b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
102 | b_sock.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
103 | b_sock.o: ../../include/openssl/stack.h ../cryptlib.h | ||
104 | bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
105 | bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
106 | bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | ||
107 | bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
108 | bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
109 | bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | ||
110 | bf_buff.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
111 | bf_buff.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | ||
112 | bf_buff.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | ||
113 | bf_buff.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
114 | bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | ||
115 | bf_buff.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | ||
116 | bf_buff.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | ||
117 | bf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
118 | bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h | ||
119 | bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
120 | bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
121 | bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | ||
122 | bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
123 | bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
124 | bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | ||
125 | bf_nbio.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
126 | bf_nbio.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | ||
127 | bf_nbio.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | ||
128 | bf_nbio.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
129 | bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h | ||
130 | bf_nbio.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | ||
131 | bf_nbio.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | ||
132 | bf_nbio.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
133 | bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
134 | bf_nbio.o: ../cryptlib.h | ||
135 | bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
136 | bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
137 | bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | ||
138 | bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
139 | bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
140 | bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | ||
141 | bf_null.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
142 | bf_null.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | ||
143 | bf_null.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | ||
144 | bf_null.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
145 | bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | ||
146 | bf_null.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | ||
147 | bf_null.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | ||
148 | bf_null.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
149 | bf_null.o: ../../include/openssl/stack.h ../cryptlib.h | ||
150 | bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
151 | bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
152 | bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
153 | bio_cb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
154 | bio_cb.o: ../../include/openssl/stack.h ../cryptlib.h | ||
155 | bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
156 | bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h | ||
157 | bio_err.o: ../../include/openssl/stack.h | ||
158 | bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
159 | bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
160 | bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
161 | bio_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
162 | bio_lib.o: ../../include/openssl/stack.h ../cryptlib.h | ||
163 | bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
164 | bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
165 | bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
166 | bss_acpt.o: ../../include/openssl/opensslconf.h | ||
167 | bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
168 | bss_acpt.o: ../cryptlib.h | ||
169 | bss_bio.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
170 | bss_bio.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h | ||
171 | bss_bio.o: ../../include/openssl/stack.h | ||
172 | bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
173 | bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
174 | bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
175 | bss_conn.o: ../../include/openssl/opensslconf.h | ||
176 | bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
177 | bss_conn.o: ../cryptlib.h | ||
178 | bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
179 | bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
180 | bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
181 | bss_fd.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
182 | bss_fd.o: ../../include/openssl/stack.h ../cryptlib.h bss_sock.c | ||
183 | bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
184 | bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
185 | bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
186 | bss_file.o: ../../include/openssl/opensslconf.h | ||
187 | bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
188 | bss_file.o: ../cryptlib.h | ||
189 | bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
190 | bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
191 | bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
192 | bss_log.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
193 | bss_log.o: ../../include/openssl/stack.h ../cryptlib.h | ||
194 | bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
195 | bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
196 | bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
197 | bss_mem.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
198 | bss_mem.o: ../../include/openssl/stack.h ../cryptlib.h | ||
199 | bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
200 | bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
201 | bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
202 | bss_null.o: ../../include/openssl/opensslconf.h | ||
203 | bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
204 | bss_null.o: ../cryptlib.h | ||
205 | bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
206 | bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | ||
207 | bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
208 | bss_sock.o: ../../include/openssl/opensslconf.h | ||
209 | bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h | ||
210 | bss_sock.o: ../cryptlib.h | ||