Makefile revision 238405
1142425Snectar# 2160814Ssimon# OpenSSL/crypto/bio/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= bio 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include 9142425SnectarCFLAG=-g 10142425SnectarMAKEFILE= Makefile 11142425SnectarAR= ar r 12142425Snectar 13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 14142425Snectar 15142425SnectarGENERAL=Makefile 16142425SnectarTEST= 17142425SnectarAPPS= 18142425Snectar 19142425SnectarLIB=$(TOP)/libcrypto.a 20142425SnectarLIBSRC= bio_lib.c bio_cb.c bio_err.c \ 21142425Snectar bss_mem.c bss_null.c bss_fd.c \ 22142425Snectar bss_file.c bss_sock.c bss_conn.c \ 23142425Snectar bf_null.c bf_buff.c b_print.c b_dump.c \ 24160814Ssimon b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \ 25160814Ssimon bss_dgram.c 26142425Snectar# bf_lbuf.c 27142425SnectarLIBOBJ= bio_lib.o bio_cb.o bio_err.o \ 28142425Snectar bss_mem.o bss_null.o bss_fd.o \ 29142425Snectar bss_file.o bss_sock.o bss_conn.o \ 30142425Snectar bf_null.o bf_buff.o b_print.o b_dump.o \ 31160814Ssimon b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \ 32160814Ssimon bss_dgram.o 33142425Snectar# bf_lbuf.o 34142425Snectar 35142425SnectarSRC= $(LIBSRC) 36142425Snectar 37142425SnectarEXHEADER= bio.h 38160814SsimonHEADER= bio_lcl.h $(EXHEADER) 39142425Snectar 40142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 41142425Snectar 42142425Snectartop: 43142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 44142425Snectar 45142425Snectarall: lib 46142425Snectar 47142425Snectarlib: $(LIBOBJ) 48238405Sjkim $(AR) $(LIB) $(LIBOBJ) 49142425Snectar $(RANLIB) $(LIB) || echo Never mind. 50142425Snectar @touch lib 51142425Snectar 52142425Snectarfiles: 53142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 54142425Snectar 55142425Snectarlinks: 56142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 57142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 58142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 59142425Snectar 60142425Snectarinstall: 61160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 62160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist; \ 63142425Snectar do \ 64142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 65142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 66142425Snectar done; 67142425Snectar 68142425Snectartags: 69142425Snectar ctags $(SRC) 70142425Snectar 71142425Snectartests: 72142425Snectar 73142425Snectarlint: 74142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 75142425Snectar 76142425Snectardepend: 77160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 78142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 79142425Snectar 80142425Snectardclean: 81142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 82142425Snectar mv -f Makefile.new $(MAKEFILE) 83142425Snectar 84142425Snectarclean: 85142425Snectar rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 86142425Snectar 87142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 88142425Snectar 89142425Snectarb_dump.o: ../../e_os.h ../../include/openssl/bio.h 90142425Snectarb_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 91142425Snectarb_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 92142425Snectarb_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 93160814Ssimonb_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 94160814Ssimonb_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 95160814Ssimonb_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c bio_lcl.h 96142425Snectarb_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h 97142425Snectarb_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 98142425Snectarb_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 99142425Snectarb_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 100160814Ssimonb_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 101160814Ssimonb_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 102160814Ssimonb_print.o: ../../include/openssl/symhacks.h ../cryptlib.h b_print.c 103142425Snectarb_sock.o: ../../e_os.h ../../include/openssl/bio.h 104142425Snectarb_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 105238405Sjkimb_sock.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h 106238405Sjkimb_sock.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 107238405Sjkimb_sock.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 108238405Sjkimb_sock.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 109238405Sjkimb_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 110238405Sjkimb_sock.o: ../cryptlib.h b_sock.c 111142425Snectarbf_buff.o: ../../e_os.h ../../include/openssl/bio.h 112142425Snectarbf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 113142425Snectarbf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 114142425Snectarbf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 115160814Ssimonbf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 116160814Ssimonbf_buff.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 117160814Ssimonbf_buff.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_buff.c 118142425Snectarbf_nbio.o: ../../e_os.h ../../include/openssl/bio.h 119142425Snectarbf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 120142425Snectarbf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 121142425Snectarbf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 122142425Snectarbf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 123142425Snectarbf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 124142425Snectarbf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 125142425Snectarbf_nbio.o: ../cryptlib.h bf_nbio.c 126142425Snectarbf_null.o: ../../e_os.h ../../include/openssl/bio.h 127142425Snectarbf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 128142425Snectarbf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 129142425Snectarbf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 130160814Ssimonbf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 131160814Ssimonbf_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 132160814Ssimonbf_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bf_null.c 133142425Snectarbio_cb.o: ../../e_os.h ../../include/openssl/bio.h 134142425Snectarbio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 135142425Snectarbio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 136142425Snectarbio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 137160814Ssimonbio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 138160814Ssimonbio_cb.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 139160814Ssimonbio_cb.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_cb.c 140142425Snectarbio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 141142425Snectarbio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 142142425Snectarbio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 143160814Ssimonbio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 144160814Ssimonbio_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 145160814Ssimonbio_err.o: ../../include/openssl/symhacks.h bio_err.c 146142425Snectarbio_lib.o: ../../e_os.h ../../include/openssl/bio.h 147142425Snectarbio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 148142425Snectarbio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 149142425Snectarbio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 150160814Ssimonbio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 151160814Ssimonbio_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 152160814Ssimonbio_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lib.c 153142425Snectarbss_acpt.o: ../../e_os.h ../../include/openssl/bio.h 154142425Snectarbss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 155142425Snectarbss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 156142425Snectarbss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 157160814Ssimonbss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 158160814Ssimonbss_acpt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 159160814Ssimonbss_acpt.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_acpt.c 160142425Snectarbss_bio.o: ../../e_os.h ../../include/openssl/bio.h 161142425Snectarbss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 162142425Snectarbss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 163142425Snectarbss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 164160814Ssimonbss_bio.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 165160814Ssimonbss_bio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 166160814Ssimonbss_bio.o: bss_bio.c 167142425Snectarbss_conn.o: ../../e_os.h ../../include/openssl/bio.h 168142425Snectarbss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 169142425Snectarbss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 170142425Snectarbss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 171160814Ssimonbss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 172160814Ssimonbss_conn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 173160814Ssimonbss_conn.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_conn.c 174160814Ssimonbss_dgram.o: ../../e_os.h ../../include/openssl/bio.h 175160814Ssimonbss_dgram.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 176160814Ssimonbss_dgram.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 177160814Ssimonbss_dgram.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 178160814Ssimonbss_dgram.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 179160814Ssimonbss_dgram.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 180160814Ssimonbss_dgram.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_dgram.c 181142425Snectarbss_fd.o: ../../e_os.h ../../include/openssl/bio.h 182142425Snectarbss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 183142425Snectarbss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 184142425Snectarbss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 185160814Ssimonbss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 186160814Ssimonbss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 187160814Ssimonbss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_fd.c 188142425Snectarbss_file.o: ../../e_os.h ../../include/openssl/bio.h 189142425Snectarbss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 190142425Snectarbss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 191142425Snectarbss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 192160814Ssimonbss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 193160814Ssimonbss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 194160814Ssimonbss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_file.c 195142425Snectarbss_log.o: ../../e_os.h ../../include/openssl/bio.h 196142425Snectarbss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 197142425Snectarbss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 198142425Snectarbss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 199160814Ssimonbss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 200160814Ssimonbss_log.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 201160814Ssimonbss_log.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_log.c 202142425Snectarbss_mem.o: ../../e_os.h ../../include/openssl/bio.h 203142425Snectarbss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 204142425Snectarbss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 205142425Snectarbss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 206160814Ssimonbss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 207160814Ssimonbss_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 208160814Ssimonbss_mem.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_mem.c 209142425Snectarbss_null.o: ../../e_os.h ../../include/openssl/bio.h 210142425Snectarbss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 211142425Snectarbss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 212142425Snectarbss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 213160814Ssimonbss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 214160814Ssimonbss_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 215160814Ssimonbss_null.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_null.c 216142425Snectarbss_sock.o: ../../e_os.h ../../include/openssl/bio.h 217142425Snectarbss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 218142425Snectarbss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 219142425Snectarbss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 220160814Ssimonbss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 221160814Ssimonbss_sock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 222160814Ssimonbss_sock.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_sock.c 223