aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.include
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2013-09-09 02:02:28 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-11 09:57:28 +0100
commiteb12a14da777341e19035947f41c3e08470acd44 (patch)
tree6ecbe6298f518eec14000177b257ce30e5a49209 /src/Makefile.include
parentfb4a31a26c5fbbedf6f67a24f4c6ad3dba70f7f5 (diff)
configure: Simplify common AM_CPPFLAGS and AM_LDFLAGS to a Makefile.common
Diffstat (limited to 'src/Makefile.include')
-rw-r--r--src/Makefile.include8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.include b/src/Makefile.include
index 352471061d..8c2274a287 100644
--- a/src/Makefile.include
+++ b/src/Makefile.include
@@ -1,5 +1,9 @@
-# Helper for rules and subdir Makefiles to find parent targets.
-# Flags and other non-target variables should not be set here.
+AM_CPPFLAGS = $(INCLUDES) \
+ -I$(top_builddir)/src/obj \
+ -I$(top_srcdir)/src/leveldb/include \
+ $(BDB_CPPFLAGS) \
+ $(BOOST_INCLUDES)
+AM_LDFLAGS = $(PTHREAD_CFLAGS)
LIBBITCOIN=$(top_builddir)/src/libbitcoin.a
LIBLEVELDB=$(top_builddir)/src/leveldb/libleveldb.a