Makefile 10.5 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
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
12
INSTALLTOP=/usr/local/ssl
B
Ben Laurie 已提交
13
MAKE=		make
14 15
MAKEDEPPROG=	makedepend
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
B
Ben Laurie 已提交
16
MAKEFILE=	Makefile
17 18 19 20 21 22 23 24 25
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
26
LIBSRC= bio_lib.c bio_cb.c bio_err.c \
27 28 29
	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 \
30
	b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
31
#	bf_lbuf.c
32
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
33 34 35
	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 \
36
	b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o
37
#	bf_lbuf.o
38 39 40

SRC= $(LIBSRC)

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

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

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

all:	lib

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

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

links:
60 61 62
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
63 64

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

tags:
	ctags $(SRC)

tests:

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

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

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

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

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

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