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