]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/bio/Makefile.ssl
Don't use $(EXHEADER) directly in for loops, as most shells will break
[thirdparty/openssl.git] / crypto / bio / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/crypto/bio/Makefile
3#
4
5DIR= bio
6TOP= ../..
7CC= cc
41d2a336 8INCLUDES= -I.. -I$(TOP) -I../../include
d02b48c6 9CFLAG=-g
e5f3045f
BM
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
d02b48c6
RE
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
cf1b7d96
RL
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
d02b48c6
RE
16MAKEFILE= Makefile.ssl
17AR= ar r
18
19CFLAGS= $(INCLUDES) $(CFLAG)
20
d02b48c6
RE
21GENERAL=Makefile
22TEST=
23APPS=
24
25LIB=$(TOP)/libcrypto.a
73934800 26LIBSRC= bio_lib.c bio_cb.c bio_err.c \
d02b48c6
RE
27 bss_mem.c bss_null.c bss_fd.c \
28 bss_file.c bss_sock.c bss_conn.c \
29 bf_null.c bf_buff.c b_print.c b_dump.c \
9e06f6f6 30 b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
645749ef 31# bf_lbuf.c
73934800 32LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
d02b48c6
RE
33 bss_mem.o bss_null.o bss_fd.o \
34 bss_file.o bss_sock.o bss_conn.o \
35 bf_null.o bf_buff.o b_print.o b_dump.o \
9e06f6f6 36 b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o
645749ef 37# bf_lbuf.o
d02b48c6
RE
38
39SRC= $(LIBSRC)
40
8d697db1 41EXHEADER= bio.h
9e7bd9b5 42HEADER= bss_file.c $(EXHEADER)
d02b48c6
RE
43
44ALL= $(GENERAL) $(SRC) $(HEADER)
45
46top:
47 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48
49all: lib
50
51lib: $(LIBOBJ)
52 $(AR) $(LIB) $(LIBOBJ)
4e20b1a6 53 $(RANLIB) $(LIB) || echo Never mind.
d02b48c6
RE
54 @touch lib
55
56files:
99aab161 57 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
58
59links:
79b42e76 60 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
1314c344
BM
61 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
62 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
63 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
d02b48c6
RE
64
65install:
a2ac429d 66 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
d02b48c6 67 do \
e5f3045f
BM
68 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
69 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
d02b48c6
RE
70 done;
71
72tags:
73 ctags $(SRC)
74
75tests:
76
77lint:
78 lint -DLINT $(INCLUDES) $(SRC)>fluff
79
80depend:
001ab3ab 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
d02b48c6
RE
82
83dclean:
99aab161 84 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
85 mv -f Makefile.new $(MAKEFILE)
86
87clean:
bb8f3c58 88 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 89
d02b48c6 90# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 91
41d2a336
RL
92b_dump.o: ../../e_os.h ../../include/openssl/bio.h
93b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 94b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 95b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
96b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97b_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
98b_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c
7ef6e3fe 99b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
41d2a336 100b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 101b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 102b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
103b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104b_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
105b_print.o: ../../include/openssl/symhacks.h ../cryptlib.h b_print.c
41d2a336
RL
106b_sock.o: ../../e_os.h ../../include/openssl/bio.h
107b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 108b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 109b_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
110b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
111b_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112b_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h b_sock.c
d66ace9d 113bf_buff.o: ../../e_os.h ../../include/openssl/bio.h
dbad1690 114bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
dbad1690 115bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
d66ace9d 116bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
117bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
118bf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119bf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_buff.c
d66ace9d 120bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h
dbad1690 121bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
dbad1690 122bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
d66ace9d 123bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
f8000b93
RL
124bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
125bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
126bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
534aaf37 127bf_nbio.o: ../cryptlib.h bf_nbio.c
d66ace9d 128bf_null.o: ../../e_os.h ../../include/openssl/bio.h
dbad1690 129bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
dbad1690 130bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
d66ace9d 131bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
132bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
133bf_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
134bf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_null.c
41d2a336
RL
135bio_cb.o: ../../e_os.h ../../include/openssl/bio.h
136bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 137bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 138bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
139bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
140bio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141bio_cb.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_cb.c
bf57da07 142bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
cf1b7d96
RL
143bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
144bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
145bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146bio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147bio_err.o: ../../include/openssl/symhacks.h bio_err.c
41d2a336
RL
148bio_lib.o: ../../e_os.h ../../include/openssl/bio.h
149bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 150bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 151bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
152bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153bio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154bio_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lib.c
41d2a336
RL
155bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h
156bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 157bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 158bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
159bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
160bss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
161bss_acpt.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_acpt.c
41d2a336
RL
162bss_bio.o: ../../e_os.h ../../include/openssl/bio.h
163bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
cf1b7d96
RL
164bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
165bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
c57bc2dc
GT
166bss_bio.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
167bss_bio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
168bss_bio.o: bss_bio.c
41d2a336
RL
169bss_conn.o: ../../e_os.h ../../include/openssl/bio.h
170bss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 171bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 172bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
173bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
174bss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
175bss_conn.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_conn.c
41d2a336
RL
176bss_fd.o: ../../e_os.h ../../include/openssl/bio.h
177bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 178bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 179bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
180bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181bss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182bss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_fd.c
41d2a336
RL
183bss_file.o: ../../e_os.h ../../include/openssl/bio.h
184bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 185bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 186bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
187bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188bss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189bss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_file.c
41d2a336
RL
190bss_log.o: ../../e_os.h ../../include/openssl/bio.h
191bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 192bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 193bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
194bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195bss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196bss_log.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_log.c
41d2a336
RL
197bss_mem.o: ../../e_os.h ../../include/openssl/bio.h
198bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 199bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 200bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
201bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
202bss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
203bss_mem.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_mem.c
41d2a336
RL
204bss_null.o: ../../e_os.h ../../include/openssl/bio.h
205bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 206bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 207bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
208bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
209bss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
210bss_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_null.c
41d2a336
RL
211bss_sock.o: ../../e_os.h ../../include/openssl/bio.h
212bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 213bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 214bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
215bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
216bss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
217bss_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_sock.c