]>
Commit | Line | Data |
---|---|---|
6fac238f | 1 | ACLOCAL_AMFLAGS = -I build-aux/m4 |
f9aac5b0 | 2 | |
78cd96b1 | 3 | lib_LTLIBRARIES = libsecp256k1.la |
78cd96b1 CF |
4 | include_HEADERS = include/secp256k1.h |
5 | noinst_HEADERS = | |
a9f5c8b8 | 6 | noinst_HEADERS += src/scalar.h |
1d52a8b1 PW |
7 | noinst_HEADERS += src/scalar_4x64.h |
8 | noinst_HEADERS += src/scalar_8x32.h | |
a9f5c8b8 | 9 | noinst_HEADERS += src/scalar_impl.h |
1d52a8b1 PW |
10 | noinst_HEADERS += src/scalar_4x64_impl.h |
11 | noinst_HEADERS += src/scalar_8x32_impl.h | |
78cd96b1 | 12 | noinst_HEADERS += src/group.h |
11ab5622 | 13 | noinst_HEADERS += src/group_impl.h |
78cd96b1 | 14 | noinst_HEADERS += src/num_gmp.h |
11ab5622 | 15 | noinst_HEADERS += src/num_gmp_impl.h |
78cd96b1 | 16 | noinst_HEADERS += src/ecdsa.h |
11ab5622 | 17 | noinst_HEADERS += src/ecdsa_impl.h |
e2f71f1e PW |
18 | noinst_HEADERS += src/eckey.h |
19 | noinst_HEADERS += src/eckey_impl.h | |
78cd96b1 | 20 | noinst_HEADERS += src/ecmult.h |
11ab5622 | 21 | noinst_HEADERS += src/ecmult_impl.h |
949c1ebb PW |
22 | noinst_HEADERS += src/ecmult_gen.h |
23 | noinst_HEADERS += src/ecmult_gen_impl.h | |
78cd96b1 | 24 | noinst_HEADERS += src/num.h |
11ab5622 | 25 | noinst_HEADERS += src/num_impl.h |
78cd96b1 | 26 | noinst_HEADERS += src/field_10x26.h |
11ab5622 | 27 | noinst_HEADERS += src/field_10x26_impl.h |
78cd96b1 | 28 | noinst_HEADERS += src/field_5x52.h |
11ab5622 PW |
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 | |
78cd96b1 CF |
32 | noinst_HEADERS += src/java/org_bitcoin_NativeSecp256k1.h |
33 | noinst_HEADERS += src/util.h | |
861f9a59 GM |
34 | noinst_HEADERS += src/testrand.h |
35 | noinst_HEADERS += src/testrand_impl.h | |
78cd96b1 | 36 | noinst_HEADERS += src/field.h |
11ab5622 | 37 | noinst_HEADERS += src/field_impl.h |
6558a267 | 38 | noinst_HEADERS += src/bench.h |
78cd96b1 | 39 | |
81b2faeb | 40 | pkgconfigdir = $(libdir)/pkgconfig |
c7ee71f7 AT |
41 | pkgconfig_DATA = libsecp256k1.pc |
42 | ||
8881212e PW |
43 | libsecp256k1_la_SOURCES = src/secp256k1.c |
44 | libsecp256k1_la_CPPFLAGS = -I$(top_srcdir)/include $(SECP_INCLUDES) | |
67935050 | 45 | libsecp256k1_la_LIBADD = $(SECP_LIBS) |
e2d66a2c | 46 | |
8881212e | 47 | |
78cd96b1 CF |
48 | noinst_PROGRAMS = |
49 | if USE_BENCHMARK | |
000bdf6d | 50 | noinst_PROGRAMS += bench_verify bench_recover bench_sign bench_inv |
504c63d7 PW |
51 | bench_verify_SOURCES = src/bench_verify.c |
52 | bench_verify_LDADD = libsecp256k1.la $(SECP_LIBS) | |
53 | bench_verify_LDFLAGS = -static | |
000bdf6d PW |
54 | bench_recover_SOURCES = src/bench_recover.c |
55 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) | |
56 | bench_recover_LDFLAGS = -static | |
fa5c13ff PW |
57 | bench_sign_SOURCES = src/bench_sign.c |
58 | bench_sign_LDADD = libsecp256k1.la $(SECP_LIBS) | |
59 | bench_sign_LDFLAGS = -static | |
ae2679b6 | 60 | bench_inv_SOURCES = src/bench_inv.c |
67935050 | 61 | bench_inv_LDADD = $(SECP_LIBS) |
ae2679b6 | 62 | bench_inv_LDFLAGS = -static |
e2274c58 | 63 | bench_inv_CPPFLAGS = $(SECP_INCLUDES) |
78cd96b1 CF |
64 | endif |
65 | ||
66 | if USE_TESTS | |
67 | noinst_PROGRAMS += tests | |
68 | tests_SOURCES = src/tests.c | |
e2274c58 | 69 | tests_CPPFLAGS = -DVERIFY $(SECP_INCLUDES) $(SECP_TEST_INCLUDES) |
67935050 | 70 | tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS) |
78cd96b1 CF |
71 | tests_LDFLAGS = -static |
72 | TESTS = tests | |
73 | endif | |
74 | ||
67935050 | 75 | EXTRA_DIST = autogen.sh |