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