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
B
Ben Laurie 已提交
10
MAKEFILE=	Makefile
11 12 13 14 15 16 17 18 19
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

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

SRC= $(LIBSRC)

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

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

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

all:	lib

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

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

links:
56 57 58
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59 60

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

tags:
	ctags $(SRC)

tests:

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

depend:
77
	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
78
	$(MAKEDEPEND) -- $(CFLAG) $(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

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