Makefile 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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_utl.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_utl.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. $(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_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
  59. dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  60. dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  61. dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  62. dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/fips.h
  63. dsa_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  64. dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  65. dsa_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  66. dsa_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_asn1.c
  67. dsa_depr.o: ../../e_os.h ../../include/openssl/asn1.h
  68. dsa_depr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  69. dsa_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  70. dsa_depr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  71. dsa_depr.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  72. dsa_depr.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  73. dsa_depr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  74. dsa_depr.o: ../../include/openssl/opensslconf.h
  75. dsa_depr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  76. dsa_depr.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  77. dsa_depr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  78. dsa_depr.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_depr.c
  79. dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  80. dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  81. dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  82. dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  83. dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  84. dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  85. dsa_err.o: dsa_err.c
  86. dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
  87. dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  88. dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  89. dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  90. dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  91. dsa_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  92. dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  93. dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  94. dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  95. dsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  96. dsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  97. dsa_gen.o: ../cryptlib.h dsa_gen.c
  98. dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  99. dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  100. dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  101. dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  102. dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  103. dsa_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  104. dsa_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  105. dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_key.c
  106. dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
  107. dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  108. dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  109. dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  110. dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  111. dsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  112. dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  113. dsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  114. dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  115. dsa_lib.o: ../cryptlib.h dsa_lib.c
  116. dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
  117. dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  118. dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  119. dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  120. dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  121. dsa_ossl.o: ../../include/openssl/opensslconf.h
  122. dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  123. dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  124. dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  125. dsa_ossl.o: ../cryptlib.h dsa_ossl.c
  126. dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
  127. dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  128. dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  129. dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  130. dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/fips.h
  131. dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  132. dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  133. dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  134. dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  135. dsa_sign.o: ../cryptlib.h dsa_sign.c
  136. dsa_utl.o: ../../e_os.h ../../include/openssl/asn1.h
  137. dsa_utl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  138. dsa_utl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  139. dsa_utl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  140. dsa_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  141. dsa_utl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  142. dsa_utl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  143. dsa_utl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  144. dsa_utl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  145. dsa_utl.o: ../cryptlib.h dsa_utl.c
  146. dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
  147. dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
  148. dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  149. dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
  150. dsa_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  151. dsa_vrf.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  152. dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  153. dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  154. dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  155. dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c