You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ACLOCAL_AMFLAGS = -I build-aux/m4
  2. lib_LTLIBRARIES = libsecp256k1.la
  3. include_HEADERS = include/secp256k1.h
  4. noinst_HEADERS =
  5. noinst_HEADERS += src/scalar.h
  6. noinst_HEADERS += src/scalar_4x64.h
  7. noinst_HEADERS += src/scalar_8x32.h
  8. noinst_HEADERS += src/scalar_impl.h
  9. noinst_HEADERS += src/scalar_4x64_impl.h
  10. noinst_HEADERS += src/scalar_8x32_impl.h
  11. noinst_HEADERS += src/group.h
  12. noinst_HEADERS += src/group_impl.h
  13. noinst_HEADERS += src/num_gmp.h
  14. noinst_HEADERS += src/num_gmp_impl.h
  15. noinst_HEADERS += src/ecdsa.h
  16. noinst_HEADERS += src/ecdsa_impl.h
  17. noinst_HEADERS += src/eckey.h
  18. noinst_HEADERS += src/eckey_impl.h
  19. noinst_HEADERS += src/ecmult.h
  20. noinst_HEADERS += src/ecmult_impl.h
  21. noinst_HEADERS += src/ecmult_gen.h
  22. noinst_HEADERS += src/ecmult_gen_impl.h
  23. noinst_HEADERS += src/num.h
  24. noinst_HEADERS += src/num_impl.h
  25. noinst_HEADERS += src/field_10x26.h
  26. noinst_HEADERS += src/field_10x26_impl.h
  27. noinst_HEADERS += src/field_5x52.h
  28. noinst_HEADERS += src/field_5x52_impl.h
  29. noinst_HEADERS += src/field_5x52_int128_impl.h
  30. noinst_HEADERS += src/field_5x52_asm_impl.h
  31. noinst_HEADERS += src/java/org_bitcoin_NativeSecp256k1.h
  32. noinst_HEADERS += src/util.h
  33. noinst_HEADERS += src/testrand.h
  34. noinst_HEADERS += src/testrand_impl.h
  35. noinst_HEADERS += src/field_gmp.h
  36. noinst_HEADERS += src/field_gmp_impl.h
  37. noinst_HEADERS += src/field.h
  38. noinst_HEADERS += src/field_impl.h
  39. noinst_HEADERS += src/bench.h
  40. pkgconfigdir = $(libdir)/pkgconfig
  41. pkgconfig_DATA = libsecp256k1.pc
  42. libsecp256k1_la_SOURCES = src/secp256k1.c
  43. libsecp256k1_la_CPPFLAGS = -I$(top_srcdir)/include $(SECP_INCLUDES)
  44. libsecp256k1_la_LIBADD = $(SECP_LIBS)
  45. noinst_PROGRAMS =
  46. if USE_BENCHMARK
  47. noinst_PROGRAMS += bench_verify bench_recover bench_sign bench_inv
  48. bench_verify_SOURCES = src/bench_verify.c
  49. bench_verify_LDADD = libsecp256k1.la $(SECP_LIBS)
  50. bench_verify_LDFLAGS = -static
  51. bench_recover_SOURCES = src/bench_recover.c
  52. bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS)
  53. bench_recover_LDFLAGS = -static
  54. bench_sign_SOURCES = src/bench_sign.c
  55. bench_sign_LDADD = libsecp256k1.la $(SECP_LIBS)
  56. bench_sign_LDFLAGS = -static
  57. bench_inv_SOURCES = src/bench_inv.c
  58. bench_inv_LDADD = $(SECP_LIBS)
  59. bench_inv_LDFLAGS = -static
  60. bench_inv_CPPFLAGS = $(SECP_INCLUDES)
  61. endif
  62. if USE_TESTS
  63. noinst_PROGRAMS += tests
  64. tests_SOURCES = src/tests.c
  65. tests_CPPFLAGS = -DVERIFY $(SECP_INCLUDES) $(SECP_TEST_INCLUDES)
  66. tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS)
  67. tests_LDFLAGS = -static
  68. TESTS = tests
  69. endif
  70. EXTRA_DIST = autogen.sh