Makefile 11.0 KB
Newer Older
1 2 3 4 5 6 7
#
# SSLeay/crypto/bio/Makefile
#

DIR=	bio
TOP=	../..
CC=	cc
8
INCLUDES= -I.. -I$(TOP) -I../../include
9
CFLAG=-g
10 11
MAKEDEPPROG=	makedepend
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
B
Ben Laurie 已提交
12
MAKEFILE=	Makefile
13 14 15 16 17 18 19 20 21
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
22
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
23 24 25
	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 \
B
Ben Laurie 已提交
26 27
	b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
	bss_dgram.c
28
#	bf_lbuf.c
29
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
30 31 32
	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 \
B
Ben Laurie 已提交
33 34
	b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
	bss_dgram.o
35
#	bf_lbuf.o
36 37 38

SRC= $(LIBSRC)

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

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

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

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
51
	$(RANLIB) $(LIB) || echo Never mind.
52 53 54
	@touch lib

files:
B
Ben Laurie 已提交
55
	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
56 57

links:
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:
A
Andy Polyakov 已提交
63
	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
64
	@headerlist="$(EXHEADER)"; for i in $$headerlist; \
65
	do  \
66 67
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
68 69 70 71 72 73 74 75 76 77 78
	done;

tags:
	ctags $(SRC)

tests:

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

depend:
79
	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
80 81

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

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

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

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