@ -1,5 +1,5 @@
AM_CPPFLAGS = $( INCLUDES) \
AM_CPPFLAGS = $( INCLUDES) \
-I$( top_ builddir) /src /obj \
-I$( builddir) /obj \
$( BDB_CPPFLAGS) \
$( BDB_CPPFLAGS) \
$( BOOST_CPPFLAGS) $( BOOST_INCLUDES)
$( BOOST_CPPFLAGS) $( BOOST_INCLUDES)
AM_CPPFLAGS += $( LEVELDB_CPPFLAGS)
AM_CPPFLAGS += $( LEVELDB_CPPFLAGS)
@ -8,10 +8,10 @@ AM_LDFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS += -I$( builddir)
AM_CPPFLAGS += -I$( builddir)
i f E M B E D D E D _ L E V E L D B
i f E M B E D D E D _ L E V E L D B
LEVELDB_CPPFLAGS += -I$( top_ srcdir) /src /leveldb/include
LEVELDB_CPPFLAGS += -I$( srcdir) /leveldb/include
LEVELDB_CPPFLAGS += -I$( top_ srcdir) /src /leveldb/helpers/memenv
LEVELDB_CPPFLAGS += -I$( srcdir) /leveldb/helpers/memenv
LIBLEVELDB += $( top_ builddir) /src /leveldb/libleveldb.a
LIBLEVELDB += $( builddir) /leveldb/libleveldb.a
LIBMEMENV += $( top_ builddir) /src /leveldb/libmemenv.a
LIBMEMENV += $( builddir) /leveldb/libmemenv.a
# NOTE: This dependency is not strictly necessary, but without it make may try to build both in parallel, which breaks the LevelDB build system in a race
# NOTE: This dependency is not strictly necessary, but without it make may try to build both in parallel, which breaks the LevelDB build system in a race
$(LIBLEVELDB) : $( LIBMEMENV )
$(LIBLEVELDB) : $( LIBMEMENV )
@ -101,7 +101,7 @@ JSON_H = \
json/json_spirit_writer_template.h
json/json_spirit_writer_template.h
obj/build.h : FORCE
obj/build.h : FORCE
@$( MKDIR_P) $( abs_top_ builddir) /src /obj
@$( MKDIR_P) $( builddir) /obj
@$( top_srcdir) /share/genbuild.sh $( abs_top_builddir) /src/obj/build.h \
@$( top_srcdir) /share/genbuild.sh $( abs_top_builddir) /src/obj/build.h \
$( abs_top_srcdir)
$( abs_top_srcdir)
version.o : obj /build .h
version.o : obj /build .h
@ -164,7 +164,7 @@ libbitcoin_cli_a_SOURCES = \
rpcclient.cpp \
rpcclient.cpp \
$( BITCOIN_CORE_H)
$( BITCOIN_CORE_H)
nodist_libbitcoin_common_a_SOURCES = $( top_ srcdir) /src /obj/build.h
nodist_libbitcoin_common_a_SOURCES = $( srcdir) /obj/build.h
#
#
# bitcoind binary #
# bitcoind binary #