Makefile 11 KB

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