Makefile 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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= $(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) -- $(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/buffer.h
  60. dsa_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  61. dsa_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  62. dsa_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  63. dsa_ameth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  64. dsa_ameth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  65. dsa_ameth.o: ../../include/openssl/objects.h
  66. dsa_ameth.o: ../../include/openssl/opensslconf.h
  67. dsa_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  68. dsa_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  69. dsa_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  70. dsa_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  71. dsa_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
  72. dsa_ameth.o: dsa_ameth.c
  73. dsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
  74. dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  75. dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  76. dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  77. dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  78. dsa_asn1.o: ../../include/openssl/opensslconf.h
  79. dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  80. dsa_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  81. dsa_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_asn1.c
  82. dsa_depr.o: ../../e_os.h ../../include/openssl/asn1.h
  83. dsa_depr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  84. dsa_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  85. dsa_depr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  86. dsa_depr.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  87. dsa_depr.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  88. dsa_depr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  89. dsa_depr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  90. dsa_depr.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  91. dsa_depr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  92. dsa_depr.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_depr.c
  93. dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  94. dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  95. dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  96. dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  97. dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  98. dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  99. dsa_err.o: dsa_err.c
  100. dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
  101. dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  102. dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  103. dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  104. dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  105. dsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  106. dsa_gen.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  107. dsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  108. dsa_gen.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  109. dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  110. dsa_gen.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_gen.c
  111. dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  112. dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  113. dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  114. dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  115. dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  116. dsa_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  117. dsa_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  118. dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_key.c
  119. dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
  120. dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  121. dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  122. dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  123. dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  124. dsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  125. dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  126. dsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  127. dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  128. dsa_lib.o: ../cryptlib.h dsa_lib.c
  129. dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
  130. dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  131. dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  132. dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  133. dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  134. dsa_ossl.o: ../../include/openssl/opensslconf.h
  135. dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  136. dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  137. dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  138. dsa_ossl.o: ../cryptlib.h dsa_ossl.c
  139. dsa_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
  140. dsa_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  141. dsa_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  142. dsa_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  143. dsa_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  144. dsa_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  145. dsa_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  146. dsa_pmeth.o: ../../include/openssl/objects.h
  147. dsa_pmeth.o: ../../include/openssl/opensslconf.h
  148. dsa_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  149. dsa_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
  150. dsa_pmeth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  151. dsa_pmeth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  152. dsa_pmeth.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  153. dsa_pmeth.o: ../cryptlib.h ../evp/evp_locl.h dsa_pmeth.c
  154. dsa_prn.o: ../../e_os.h ../../include/openssl/asn1.h
  155. dsa_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  156. dsa_prn.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  157. dsa_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  158. dsa_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  159. dsa_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  160. dsa_prn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  161. dsa_prn.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  162. dsa_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  163. dsa_prn.o: ../cryptlib.h dsa_prn.c
  164. dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
  165. dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  166. dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  167. dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  168. dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  169. dsa_sign.o: ../../include/openssl/opensslconf.h
  170. dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  171. dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  172. dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  173. dsa_sign.o: ../cryptlib.h dsa_sign.c
  174. dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
  175. dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
  176. dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  177. dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  178. dsa_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  179. dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  180. dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  181. dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  182. dsa_vrf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  183. dsa_vrf.o: ../cryptlib.h dsa_vrf.c