-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcommon.mk
29 lines (22 loc) · 1.01 KB
/
common.mk
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
# Hand-written file with variables common to all makefiles
# AM_CPPFLAGS = -DSQLITE_OMIT_LOAD_EXTENSION=1
AM_CPPFLAGS = -isystem "$(top_srcdir)" -I"$(top_srcdir)/src" -I"$(top_builddir)/src"
AM_CPPFLAGS += $(libsodium_CFLAGS) $(xdrpp_CFLAGS) $(libmedida_CFLAGS) \
$(soci_CFLAGS) $(sqlite3_CFLAGS) $(libasio_CFLAGS)
#$(libsecp256k1_LIBS) $(libbitcoin_crypto_base_LIBS)
# $(libunivalue_CFLAGS)
AM_CPPFLAGS += -isystem "$(top_srcdir)/lib" \
-isystem "$(top_srcdir)/lib/autocheck/include" \
-isystem "$(top_srcdir)/lib/cereal/include" \
-isystem "$(top_srcdir)/lib/util" \
-isystem "$(top_srcdir)/lib/soci/src/core" \
-isystem "$(top_srcdir)/lib/bitcoin/src" \
-isystem "$(top_srcdir)/lib/bitcoin/src/univalue/include" \
-isystem "$(top_srcdir)/lib/bitcoin/src/secp256k1/include" \
-isystem "$(top_srcdir)/lib/bitcoin/src/crypto"
#
# -isystem "/usr/include/boost/"
# -isystem "$(top_srcdir)/lib/bitcoin/src/univalue/include"
if USE_POSTGRES
AM_CPPFLAGS += -DUSE_POSTGRES=1 $(libpq_CFLAGS)
endif # USE_POSTGRES