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

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

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

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

SRC= $(LIBSRC)

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

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

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

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
48
	$(RANLIB) $(LIB)
49 50 51
	@touch lib

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

links:
55
	@$(TOP)/util/point.sh Makefile.ssl Makefile
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:
61
	@for i in $(EXHEADER); \
62
	do  \
63 64
	(cp $$i $(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
65 66 67 68 69 70 71 72 73 74 75
	done;

tags:
	ctags $(SRC)

tests:

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

depend:
76
	$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
77 78

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

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

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

B
Bodo Möller 已提交
87 88
b_dump.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
b_dump.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
89 90 91
b_dump.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
b_dump.o: ../cryptlib.h
B
Bodo Möller 已提交
92 93
b_print.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
b_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
94 95 96
b_print.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
b_print.o: ../cryptlib.h
B
Bodo Möller 已提交
97 98
b_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
b_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
99 100 101
b_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
b_sock.o: ../cryptlib.h
B
Bodo Möller 已提交
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
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
bf_buff.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
bf_buff.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
bf_buff.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
bf_buff.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
bf_buff.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
bf_buff.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
bf_buff.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
bf_buff.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
bf_buff.o: ../../include/openssl/stack.h ../cryptlib.h
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
bf_nbio.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
bf_nbio.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
bf_nbio.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
bf_nbio.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
bf_nbio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
bf_nbio.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
bf_nbio.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
bf_nbio.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
bf_nbio.o: ../cryptlib.h
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
bf_null.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
bf_null.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
bf_null.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
bf_null.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
bf_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
bf_null.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
bf_null.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
bf_null.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h
bf_null.o: ../../include/openssl/stack.h ../cryptlib.h
bio_cb.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bio_cb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
147 148 149
bio_cb.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bio_cb.o: ../cryptlib.h
B
Bodo Möller 已提交
150 151 152 153 154
bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
bio_err.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
bio_err.o: ../../include/openssl/stack.h
bio_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bio_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
155 156 157
bio_lib.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bio_lib.o: ../cryptlib.h
B
Bodo Möller 已提交
158 159
bss_acpt.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_acpt.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
160 161 162
bss_acpt.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_acpt.o: ../cryptlib.h
B
Bodo Möller 已提交
163 164
bss_conn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_conn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
165 166 167
bss_conn.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_conn.o: ../cryptlib.h
B
Bodo Möller 已提交
168 169
bss_fd.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_fd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
170 171 172
bss_fd.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_fd.o: ../cryptlib.h bss_sock.c
B
Bodo Möller 已提交
173 174
bss_file.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_file.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
175 176 177
bss_file.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_file.o: ../cryptlib.h
B
Bodo Möller 已提交
178 179
bss_log.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_log.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
180 181 182
bss_log.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_log.o: ../cryptlib.h
B
Bodo Möller 已提交
183 184
bss_mem.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_mem.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
185 186 187
bss_mem.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_mem.o: ../cryptlib.h
B
Bodo Möller 已提交
188 189
bss_null.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
190 191 192
bss_null.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_null.o: ../cryptlib.h
B
Bodo Möller 已提交
193 194
bss_sock.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
bss_sock.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
195 196 197
bss_sock.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
bss_sock.o: ../cryptlib.h