Makefile 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. #
  2. # OpenSSL/crypto/dh/Makefile
  3. #
  4. DIR= dh
  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= dhtest.c
  14. APPS=
  15. LIB=$(TOP)/libcrypto.a
  16. LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c dh_depr.c \
  17. dh_ameth.c dh_pmeth.c dh_prn.c
  18. LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o dh_depr.o \
  19. dh_ameth.o dh_pmeth.o dh_prn.o
  20. SRC= $(LIBSRC)
  21. EXHEADER= dh.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. dh_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
  59. dh_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  60. dh_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  61. dh_ameth.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  62. dh_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  63. dh_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  64. dh_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  65. dh_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  66. dh_ameth.o: ../../include/openssl/opensslconf.h
  67. dh_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  68. dh_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  69. dh_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  70. dh_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  71. dh_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
  72. dh_ameth.o: dh_ameth.c
  73. dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
  74. dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  75. dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  76. dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  77. dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  78. dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  79. dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  80. dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  81. dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  82. dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c
  83. dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  84. dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  85. dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  86. dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  87. dh_check.o: ../../include/openssl/opensslconf.h
  88. dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  89. dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  90. dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c
  91. dh_depr.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  92. dh_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  93. dh_depr.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  94. dh_depr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  95. dh_depr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  96. dh_depr.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  97. dh_depr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  98. dh_depr.o: ../cryptlib.h dh_depr.c
  99. dh_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  100. dh_err.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  101. dh_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  102. dh_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  103. dh_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  104. dh_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  105. dh_err.o: dh_err.c
  106. dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  107. dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  108. dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  109. dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  110. dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  111. dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  112. dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  113. dh_gen.o: ../cryptlib.h dh_gen.c
  114. dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
  115. dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  116. dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  117. dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  118. dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  119. dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  120. dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  121. dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c
  122. dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
  123. dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  124. dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  125. dh_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  126. dh_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  127. dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  128. dh_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  129. dh_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  130. dh_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  131. dh_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  132. dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  133. dh_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  134. dh_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  135. dh_lib.o: ../cryptlib.h dh_lib.c
  136. dh_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
  137. dh_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  138. dh_pmeth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  139. dh_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  140. dh_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  141. dh_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  142. dh_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  143. dh_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  144. dh_pmeth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  145. dh_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  146. dh_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  147. dh_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  148. dh_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  149. dh_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h
  150. dh_pmeth.o: dh_pmeth.c
  151. dh_prn.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
  152. dh_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  153. dh_prn.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
  154. dh_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  155. dh_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  156. dh_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  157. dh_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  158. dh_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  159. dh_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_prn.c