Makefile.ssl 10.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
#
# SSLeay/crypto/bio/Makefile
#

DIR=	bio
TOP=	../..
CC=	cc
INCLUDES= -I.. -I../../include
CFLAG=-g
10 11
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
12 13
INSTALLTOP=/usr/local/ssl
MAKE=		make -f Makefile.ssl
14
MAKEDEPEND=	$(TOP)/util/domd $(TOP)
15 16 17 18 19 20 21 22 23 24
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
25
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
26 27 28
	bss_mem.c bss_null.c bss_fd.c \
	bss_file.c bss_sock.c bss_conn.c \
	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 bss_bio.c
30
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
31 32 33
	bss_mem.o bss_null.o bss_fd.o \
	bss_file.o bss_sock.o bss_conn.o \
	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 bss_bio.o
35 36 37

SRC= $(LIBSRC)

38
EXHEADER= bio.h
B
Bodo Möller 已提交
39
HEADER=	bss_file.c $(EXHEADER)
40 41 42 43 44 45 46 47 48 49

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
50
	$(RANLIB) $(LIB)
51 52 53
	@touch lib

files:
54
	$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
55 56

links:
57
	@$(TOP)/util/point.sh Makefile.ssl Makefile
58 59 60
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
61 62

install:
63
	@for i in $(EXHEADER); \
64
	do  \
65 66
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
67 68 69 70 71 72 73 74 75 76 77
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
78
	$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
79 80

dclean:
81
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
82 83 84
	mv -f Makefile.new $(MAKEFILE)

clean:
85
	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
86 87

# DO NOT DELETE THIS LINE -- make depend depends on it.
B
Ben Laurie 已提交
88

B
Bodo Möller 已提交
89
b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
90 91
b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
92
b_dump.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
93 94
b_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
b_dump.o: ../cryptlib.h
B
Bodo Möller 已提交
95
b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
96 97
b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
98
b_print.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
99 100
b_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
b_print.o: ../cryptlib.h
B
Bodo Möller 已提交
101
b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
102 103
b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
104
b_sock.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
105 106
b_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
b_sock.o: ../cryptlib.h
B
Bodo Möller 已提交
107 108 109 110 111
bf_buff.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
bf_buff.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
bf_buff.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
bf_buff.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
112 113 114 115 116 117 118 119 120 121
bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
bf_buff.o: ../../include/openssl/err.h ../../include/openssl/evp.h
bf_buff.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
bf_buff.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
bf_buff.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h
bf_buff.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
bf_buff.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
bf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
122 123 124 125 126
bf_nbio.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
bf_nbio.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
bf_nbio.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
bf_nbio.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
127 128 129 130 131 132 133 134 135 136 137
bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
bf_nbio.o: ../../include/openssl/err.h ../../include/openssl/evp.h
bf_nbio.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
bf_nbio.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
bf_nbio.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
bf_nbio.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
bf_nbio.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
bf_nbio.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
bf_nbio.o: ../cryptlib.h
B
Bodo Möller 已提交
138 139 140 141 142
bf_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
bf_null.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
bf_null.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
bf_null.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
143 144 145 146 147 148 149 150 151 152
bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
bf_null.o: ../../include/openssl/err.h ../../include/openssl/evp.h
bf_null.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
bf_null.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
bf_null.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h
bf_null.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
bf_null.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
bf_null.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
bf_null.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
153
bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
154 155
bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
156
bio_cb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
157 158
bio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bio_cb.o: ../cryptlib.h
B
Bodo Möller 已提交
159 160
bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
161
bio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
B
Bodo Möller 已提交
162
bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
163 164
bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
165
bio_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
166 167
bio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bio_lib.o: ../cryptlib.h
B
Bodo Möller 已提交
168
bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
169 170
bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
171
bss_acpt.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
172 173
bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_acpt.o: ../../include/openssl/stack.h ../cryptlib.h
174
bss_bio.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
U
Ulf Möller 已提交
175 176 177 178
bss_bio.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
bss_bio.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_bio.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_bio.o: ../../include/openssl/stack.h
B
Bodo Möller 已提交
179
bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
180 181
bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
182
bss_conn.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
183 184
bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_conn.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
185
bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
186 187
bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
188
bss_fd.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
189 190
bss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bss_fd.o: ../cryptlib.h bss_sock.c
B
Bodo Möller 已提交
191
bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
192 193
bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
194
bss_file.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
195 196
bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_file.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
197
bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
198 199
bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
200
bss_log.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
201 202
bss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bss_log.o: ../cryptlib.h
B
Bodo Möller 已提交
203
bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
204 205
bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
206
bss_mem.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
D
 
Dr. Stephen Henson 已提交
207 208
bss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bss_mem.o: ../cryptlib.h
B
Bodo Möller 已提交
209
bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
210 211
bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
212
bss_null.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
213 214
bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_null.o: ../../include/openssl/stack.h ../cryptlib.h
B
Bodo Möller 已提交
215
bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
216 217
bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
B
Bodo Möller 已提交
218
bss_sock.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
219 220
bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
bss_sock.o: ../../include/openssl/stack.h ../cryptlib.h