2
0

Makefile 11 KB

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