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