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 \
B
Ben Laurie 已提交
30 31
	b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
	bss_dgram.c
32
#	bf_lbuf.c
33
LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
34 35 36
	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 已提交
37 38
	b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
	bss_dgram.o
39
#	bf_lbuf.o
40 41 42

SRC= $(LIBSRC)

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

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

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

all:	lib

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

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

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

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

tags:
	ctags $(SRC)

tests:

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

depend:
82
	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
83 84

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

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

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

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