Makefile 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. #
  2. # SSLeay/crypto/ts/Makefile
  3. #
  4. DIR= ts
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES= -I.. -I../../include
  8. CFLAG = -g
  9. INSTALL_PREFIX=
  10. OPENSSLDIR= /usr/local/ssl
  11. INSTALLTOP=/usr/local/ssl
  12. MAKEDEPPROG= makedepend
  13. MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
  14. MAKEFILE= Makefile
  15. AR= ar r
  16. PEX_LIBS=
  17. EX_LIBS=
  18. CFLAGS= $(INCLUDES) $(CFLAG)
  19. GENERAL= Makefile
  20. TEST=
  21. APPS=
  22. LIB=$(TOP)/libcrypto.a
  23. LIBSRC= ts_err.c ts_req_utils.c ts_req_print.c ts_rsp_utils.c ts_rsp_print.c \
  24. ts_rsp_sign.c ts_rsp_verify.c ts_verify_ctx.c ts_lib.c ts_conf.c \
  25. ts_asn1.c
  26. LIBOBJ= ts_err.o ts_req_utils.o ts_req_print.o ts_rsp_utils.o ts_rsp_print.o \
  27. ts_rsp_sign.o ts_rsp_verify.o ts_verify_ctx.o ts_lib.o ts_conf.o \
  28. ts_asn1.o
  29. SRC= $(LIBSRC)
  30. EXHEADER= ts.h
  31. HEADER= $(EXHEADER)
  32. ALL= $(GENERAL) $(SRC) $(HEADER)
  33. top:
  34. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  35. test:
  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. lint:
  57. lint -DLINT $(INCLUDES) $(SRC)>fluff
  58. depend:
  59. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
  60. dclean:
  61. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  62. mv -f Makefile.new $(MAKEFILE)
  63. clean:
  64. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
  65. # DO NOT DELETE THIS LINE -- make depend depends on it.
  66. ts_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  67. ts_asn1.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  68. ts_asn1.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  69. ts_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  70. ts_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  71. ts_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  72. ts_asn1.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  73. ts_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  74. ts_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  75. ts_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  76. ts_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
  77. ts_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  78. ts_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  79. ts_asn1.o: ../../include/openssl/ts.h ../../include/openssl/x509.h
  80. ts_asn1.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  81. ts_asn1.o: ts_asn1.c
  82. ts_conf.o: ../../e_os.h ../../include/openssl/asn1.h
  83. ts_conf.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  84. ts_conf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  85. ts_conf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  86. ts_conf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  87. ts_conf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  88. ts_conf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  89. ts_conf.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  90. ts_conf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  91. ts_conf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  92. ts_conf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  93. ts_conf.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  94. ts_conf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  95. ts_conf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  96. ts_conf.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  97. ts_conf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  98. ts_conf.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_conf.c
  99. ts_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  100. ts_err.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
  101. ts_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  102. ts_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  103. ts_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  104. ts_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  105. ts_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  106. ts_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  107. ts_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  108. ts_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  109. ts_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  110. ts_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  111. ts_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  112. ts_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  113. ts_err.o: ../../include/openssl/x509v3.h ts_err.c
  114. ts_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
  115. ts_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  116. ts_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  117. ts_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  118. ts_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  119. ts_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  120. ts_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  121. ts_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  122. ts_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  123. ts_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  124. ts_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
  125. ts_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  126. ts_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  127. ts_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  128. ts_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ts.h ts_lib.c
  129. ts_req_print.o: ../../e_os.h ../../include/openssl/asn1.h
  130. ts_req_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  131. ts_req_print.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
  132. ts_req_print.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  133. ts_req_print.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  134. ts_req_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  135. ts_req_print.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  136. ts_req_print.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  137. ts_req_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  138. ts_req_print.o: ../../include/openssl/opensslconf.h
  139. ts_req_print.o: ../../include/openssl/opensslv.h
  140. ts_req_print.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  141. ts_req_print.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  142. ts_req_print.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  143. ts_req_print.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  144. ts_req_print.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  145. ts_req_print.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_print.c
  146. ts_req_utils.o: ../../e_os.h ../../include/openssl/asn1.h
  147. ts_req_utils.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  148. ts_req_utils.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  149. ts_req_utils.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  150. ts_req_utils.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  151. ts_req_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  152. ts_req_utils.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  153. ts_req_utils.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  154. ts_req_utils.o: ../../include/openssl/objects.h
  155. ts_req_utils.o: ../../include/openssl/opensslconf.h
  156. ts_req_utils.o: ../../include/openssl/opensslv.h
  157. ts_req_utils.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  158. ts_req_utils.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  159. ts_req_utils.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  160. ts_req_utils.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  161. ts_req_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  162. ts_req_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_utils.c
  163. ts_rsp_print.o: ../../e_os.h ../../include/openssl/asn1.h
  164. ts_rsp_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  165. ts_rsp_print.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
  166. ts_rsp_print.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  167. ts_rsp_print.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  168. ts_rsp_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  169. ts_rsp_print.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  170. ts_rsp_print.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  171. ts_rsp_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  172. ts_rsp_print.o: ../../include/openssl/opensslconf.h
  173. ts_rsp_print.o: ../../include/openssl/opensslv.h
  174. ts_rsp_print.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  175. ts_rsp_print.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  176. ts_rsp_print.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  177. ts_rsp_print.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  178. ts_rsp_print.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  179. ts_rsp_print.o: ../cryptlib.h ts.h ts_rsp_print.c
  180. ts_rsp_sign.o: ../../e_os.h ../../include/openssl/asn1.h
  181. ts_rsp_sign.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  182. ts_rsp_sign.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  183. ts_rsp_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  184. ts_rsp_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  185. ts_rsp_sign.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  186. ts_rsp_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  187. ts_rsp_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  188. ts_rsp_sign.o: ../../include/openssl/objects.h
  189. ts_rsp_sign.o: ../../include/openssl/opensslconf.h
  190. ts_rsp_sign.o: ../../include/openssl/opensslv.h
  191. ts_rsp_sign.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  192. ts_rsp_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  193. ts_rsp_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  194. ts_rsp_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  195. ts_rsp_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  196. ts_rsp_sign.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_sign.c
  197. ts_rsp_utils.o: ../../e_os.h ../../include/openssl/asn1.h
  198. ts_rsp_utils.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  199. ts_rsp_utils.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  200. ts_rsp_utils.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  201. ts_rsp_utils.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  202. ts_rsp_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  203. ts_rsp_utils.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  204. ts_rsp_utils.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  205. ts_rsp_utils.o: ../../include/openssl/objects.h
  206. ts_rsp_utils.o: ../../include/openssl/opensslconf.h
  207. ts_rsp_utils.o: ../../include/openssl/opensslv.h
  208. ts_rsp_utils.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  209. ts_rsp_utils.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  210. ts_rsp_utils.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  211. ts_rsp_utils.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  212. ts_rsp_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  213. ts_rsp_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_utils.c
  214. ts_rsp_verify.o: ../../e_os.h ../../include/openssl/asn1.h
  215. ts_rsp_verify.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  216. ts_rsp_verify.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  217. ts_rsp_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  218. ts_rsp_verify.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  219. ts_rsp_verify.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  220. ts_rsp_verify.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  221. ts_rsp_verify.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  222. ts_rsp_verify.o: ../../include/openssl/objects.h
  223. ts_rsp_verify.o: ../../include/openssl/opensslconf.h
  224. ts_rsp_verify.o: ../../include/openssl/opensslv.h
  225. ts_rsp_verify.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  226. ts_rsp_verify.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  227. ts_rsp_verify.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  228. ts_rsp_verify.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  229. ts_rsp_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  230. ts_rsp_verify.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_verify.c
  231. ts_verify_ctx.o: ../../e_os.h ../../include/openssl/asn1.h
  232. ts_verify_ctx.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  233. ts_verify_ctx.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  234. ts_verify_ctx.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  235. ts_verify_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  236. ts_verify_ctx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  237. ts_verify_ctx.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  238. ts_verify_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  239. ts_verify_ctx.o: ../../include/openssl/objects.h
  240. ts_verify_ctx.o: ../../include/openssl/opensslconf.h
  241. ts_verify_ctx.o: ../../include/openssl/opensslv.h
  242. ts_verify_ctx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  243. ts_verify_ctx.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  244. ts_verify_ctx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  245. ts_verify_ctx.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h
  246. ts_verify_ctx.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  247. ts_verify_ctx.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_verify_ctx.c