]> Git Repo - secp256k1.git/blame - Makefile.am
Remove OpenSSL bignum implementation
[secp256k1.git] / Makefile.am
CommitLineData
78cd96b1
CF
1ACLOCAL_AMFLAGS = -I m4
2INCLUDES = $(SECP_INCLUDES)
3lib_LTLIBRARIES = libsecp256k1.la
8881212e 4noinst_LTLIBRARIES = libsecp256k1_common.la
78cd96b1
CF
5include_HEADERS = include/secp256k1.h
6noinst_HEADERS =
a9f5c8b8
PW
7noinst_HEADERS += src/scalar.h
8noinst_HEADERS += src/scalar_impl.h
78cd96b1 9noinst_HEADERS += src/group.h
11ab5622 10noinst_HEADERS += src/group_impl.h
78cd96b1 11noinst_HEADERS += src/num_gmp.h
11ab5622 12noinst_HEADERS += src/num_gmp_impl.h
78cd96b1 13noinst_HEADERS += src/ecdsa.h
11ab5622 14noinst_HEADERS += src/ecdsa_impl.h
e2f71f1e
PW
15noinst_HEADERS += src/eckey.h
16noinst_HEADERS += src/eckey_impl.h
78cd96b1 17noinst_HEADERS += src/ecmult.h
11ab5622 18noinst_HEADERS += src/ecmult_impl.h
949c1ebb
PW
19noinst_HEADERS += src/ecmult_gen.h
20noinst_HEADERS += src/ecmult_gen_impl.h
78cd96b1 21noinst_HEADERS += src/num.h
11ab5622 22noinst_HEADERS += src/num_impl.h
78cd96b1 23noinst_HEADERS += src/field_10x26.h
11ab5622 24noinst_HEADERS += src/field_10x26_impl.h
78cd96b1 25noinst_HEADERS += src/field_5x52.h
11ab5622
PW
26noinst_HEADERS += src/field_5x52_impl.h
27noinst_HEADERS += src/field_5x52_int128_impl.h
28noinst_HEADERS += src/field_5x52_asm_impl.h
78cd96b1
CF
29noinst_HEADERS += src/java/org_bitcoin_NativeSecp256k1.h
30noinst_HEADERS += src/util.h
11ab5622 31noinst_HEADERS += src/util_impl.h
78cd96b1 32noinst_HEADERS += src/field_gmp.h
11ab5622 33noinst_HEADERS += src/field_gmp_impl.h
78cd96b1 34noinst_HEADERS += src/field.h
11ab5622 35noinst_HEADERS += src/field_impl.h
78cd96b1 36
81b2faeb 37pkgconfigdir = $(libdir)/pkgconfig
c7ee71f7
AT
38pkgconfig_DATA = libsecp256k1.pc
39
8881212e 40libsecp256k1_common_la_SOURCES =
78cd96b1 41if USE_ASM
8881212e 42libsecp256k1_common_la_SOURCES += src/field_5x52_asm.asm
78cd96b1
CF
43endif
44
8881212e
PW
45libsecp256k1_la_SOURCES = src/secp256k1.c
46libsecp256k1_la_CPPFLAGS = -I$(top_srcdir)/include $(SECP_INCLUDES)
47libsecp256k1_la_LIBADD = libsecp256k1_common.la $(SECP_LIBS)
48
78cd96b1
CF
49noinst_PROGRAMS =
50if USE_BENCHMARK
51noinst_PROGRAMS += bench
52bench_SOURCES = src/bench.c
bae6a42b 53bench_LDADD = libsecp256k1.la $(SECP_LIBS)
78cd96b1
CF
54bench_LDFLAGS = -static
55endif
56
57if USE_TESTS
58noinst_PROGRAMS += tests
59tests_SOURCES = src/tests.c
60tests_CPPFLAGS = -DVERIFY $(SECP_TEST_INCLUDES)
8881212e 61tests_LDADD = libsecp256k1_common.la $(SECP_LIBS) $(SECP_TEST_LIBS)
78cd96b1
CF
62tests_LDFLAGS = -static
63TESTS = tests
64endif
65
d4090876 66EXTRA_DIST = autogen.sh nasm_lt.sh
78cd96b1
CF
67
68#x86_64 only
69if USE_ASM
70.asm.lo:
282ebc6d 71 $(LIBTOOL) --mode=compile --tag YASM $(srcdir)/nasm_lt.sh $(YASM) -f $(YASM_BINFMT) $(YAFLAGS) -I$(srcdir) -I. $< -o $@
78cd96b1 72endif
This page took 0.032048 seconds and 4 git commands to generate.