forked from dogecoinfoundation/libdogecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
111 lines (100 loc) · 2.76 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
ACLOCAL_AMFLAGS = -I build-aux/m4
AUTOMAKE_OPTIONS = serial-tests
.PHONY: gen
.INTERMEDIATE: $(GENBIN)
DIST_SUBDIRS = src/secp256k1
LIBSECP256K1=src/secp256k1/libsecp256k1.la
$(LIBSECP256K1): $(wildcard src/secp256k1/src/*) $(wildcard src/secp256k1/include/*)
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
lib_LTLIBRARIES = libdogecoin.la
includedir = $(includedir)/dogecoin
include_HEADERS = \
include/dogecoin/address.h \
include/dogecoin/crypto/aes.h \
include/dogecoin/crypto/base58.h \
include/dogecoin/bip32.h \
include/dogecoin/buffer.h \
include/dogecoin/compat/byteswap.h \
include/dogecoin/chainparams.h \
include/dogecoin/cstr.h \
include/dogecoin/dogecoin.h \
include/dogecoin/crypto/ecc.h \
include/dogecoin/crypto/hash.h \
include/dogecoin/crypto/key.h \
include/dogecoin/mem.h \
include/dogecoin/compat/portable_endian.h \
include/dogecoin/crypto/random.h \
include/dogecoin/crypto/rmd160.h \
include/dogecoin/script.h \
include/dogecoin/crypto/segwit_addr.h \
include/dogecoin/serialize.h \
include/dogecoin/crypto/sha2.h \
include/dogecoin/tool.h \
include/dogecoin/tx.h \
include/dogecoin/utils.h \
include/dogecoin/vector.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdogecoin.pc
libdogecoin_la_SOURCES = \
src/address.c \
src/crypto/aes.c \
src/crypto/base58.c \
src/bip32.c \
src/buffer.c \
src/chainparams.c \
src/cstr.c \
src/crypto/ecc.c \
src/crypto/key.c \
src/mem.c \
src/crypto/random.c \
src/crypto/rmd160.c \
src/script.c \
src/crypto/segwit_addr.c \
src/serialize.c \
src/crypto/sha2.c \
src/cli/such.c \
src/cli/tool.c \
src/tx.c \
src/utils.c \
src/vector.c
libdogecoin_la_CFLAGS = -I$(top_srcdir)/include
libdogecoin_la_LIBADD = $(LIBSECP256K1)
if USE_TESTS
noinst_PROGRAMS = tests
tests_LDADD = libdogecoin.la
tests_SOURCES = \
test/address_tests.c \
test/aes_tests.c \
test/base58_tests.c \
test/bip32_tests.c \
test/buffer_tests.c \
test/cstr_tests.c \
test/ecc_tests.c \
test/hash_tests.c \
test/key_tests.c \
test/mem_tests.c \
test/random_tests.c \
test/rmd160_tests.c \
test/serialize_tests.c \
test/sha2_tests.c \
test/tool_tests.c \
test/tx_tests.c \
test/utest.h \
test/unittester.c \
test/utils_tests.c \
test/vector_tests.c
tests_CFLAGS = $(libdogecoin_la_CFLAGS)
tests_CPPFLAGS = -I$(top_srcdir)/src
tests_LDFLAGS = -static
TESTS = tests
endif
instdir=$(prefix)/bin
inst_PROGRAMS = such
such_LDADD = libdogecoin.la
such_SOURCES = \
src/cli/such.c
such_CFLAGS = $(libdogecoin_la_CFLAGS)
such_CPPFLAGS = -I$(top_srcdir)/src
such_LDFLAGS = -static
clean-local:
-$(MAKE) -C src/secp256k1 clean