2
0

Makefile 11 KB

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