Makefile 12 KB

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