Makefile 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. #
  2. # OpenSSL/crypto/dsa/Makefile
  3. #
  4. DIR= dsa
  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=dsatest.c
  14. APPS=
  15. LIB=$(TOP)/libcrypto.a
  16. LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \
  17. dsa_err.c dsa_ossl.c dsa_depr.c dsa_ameth.c dsa_pmeth.c dsa_prn.c
  18. LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \
  19. dsa_err.o dsa_ossl.o dsa_depr.o dsa_ameth.o dsa_pmeth.o dsa_prn.o
  20. SRC= $(LIBSRC)
  21. EXHEADER= dsa.h
  22. HEADER= dsa_locl.h $(EXHEADER)
  23. ALL= $(GENERAL) $(SRC) $(HEADER)
  24. top:
  25. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  26. all: lib
  27. lib: $(LIBOBJ)
  28. $(ARX) $(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) -- $(PROGS) $(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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  57. # DO NOT DELETE THIS LINE -- make depend depends on it.
  58. dsa_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
  59. dsa_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  60. dsa_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  61. dsa_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  62. dsa_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  63. dsa_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  64. dsa_ameth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  65. dsa_ameth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  66. dsa_ameth.o: ../../include/openssl/objects.h
  67. dsa_ameth.o: ../../include/openssl/opensslconf.h
  68. dsa_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  69. dsa_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  70. dsa_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  71. dsa_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  72. dsa_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
  73. dsa_ameth.o: dsa_ameth.c
  74. dsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
  75. dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  76. dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  77. dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  78. dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  79. dsa_asn1.o: ../../include/openssl/opensslconf.h
  80. dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  81. dsa_asn1.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  82. dsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  83. dsa_asn1.o: ../cryptlib.h dsa_asn1.c
  84. dsa_depr.o: ../../e_os.h ../../include/openssl/asn1.h
  85. dsa_depr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  86. dsa_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  87. dsa_depr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  88. dsa_depr.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  89. dsa_depr.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  90. dsa_depr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  91. dsa_depr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  92. dsa_depr.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  93. dsa_depr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  94. dsa_depr.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_depr.c
  95. dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  96. dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  97. dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  98. dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  99. dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  100. dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  101. dsa_err.o: dsa_err.c
  102. dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
  103. dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  104. dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  105. dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  106. dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  107. dsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  108. dsa_gen.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  109. dsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  110. dsa_gen.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  111. dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  112. dsa_gen.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_gen.c dsa_locl.h
  113. dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  114. dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  115. dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  116. dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  117. dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  118. dsa_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  119. dsa_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  120. dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_key.c
  121. dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
  122. dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  123. dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  124. dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  125. dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  126. dsa_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  127. dsa_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  128. dsa_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  129. dsa_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  130. dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  131. dsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  132. dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  133. dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  134. dsa_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  135. dsa_lib.o: ../cryptlib.h dsa_lib.c
  136. dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
  137. dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  138. dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  139. dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  140. dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  141. dsa_ossl.o: ../../include/openssl/opensslconf.h
  142. dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  143. dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  144. dsa_ossl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  145. dsa_ossl.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_ossl.c
  146. dsa_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
  147. dsa_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  148. dsa_pmeth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  149. dsa_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  150. dsa_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  151. dsa_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  152. dsa_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  153. dsa_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  154. dsa_pmeth.o: ../../include/openssl/objects.h
  155. dsa_pmeth.o: ../../include/openssl/opensslconf.h
  156. dsa_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  157. dsa_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  158. dsa_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  159. dsa_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  160. dsa_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h
  161. dsa_pmeth.o: dsa_locl.h dsa_pmeth.c
  162. dsa_prn.o: ../../e_os.h ../../include/openssl/asn1.h
  163. dsa_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  164. dsa_prn.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  165. dsa_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  166. dsa_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  167. dsa_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  168. dsa_prn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  169. dsa_prn.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  170. dsa_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  171. dsa_prn.o: ../cryptlib.h dsa_prn.c
  172. dsa_sign.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  173. dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  174. dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  175. dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  176. dsa_sign.o: ../../include/openssl/opensslconf.h
  177. dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  178. dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  179. dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  180. dsa_sign.o: ../cryptlib.h dsa_sign.c
  181. dsa_vrf.o: ../../e_os.h ../../include/openssl/bio.h
  182. dsa_vrf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  183. dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  184. dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  185. dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  186. dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  187. dsa_vrf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  188. dsa_vrf.o: ../cryptlib.h dsa_vrf.c