@ -251,8 +251,8 @@ util/build_version.cc: FORCE
else mv -f $@ -t $@ ; fi
else mv -f $@ -t $@ ; fi
LIBOBJECTS = $( LIB_SOURCES:.cc= .o)
LIBOBJECTS = $( LIB_SOURCES:.cc= .o)
LIBOBJECTS += $( TOOL_SOURCES:.cc= .o)
LIBOBJECTS += $( TOOL_LIB_ SOURCES:.cc= .o)
MOCKOBJECTS = $( MOCK_SOURCES:.cc= .o)
MOCKOBJECTS = $( MOCK_LIB_ SOURCES:.cc= .o)
GTEST = $( GTEST_DIR) /gtest/gtest-all.o
GTEST = $( GTEST_DIR) /gtest/gtest-all.o
TESTUTIL = ./util/testutil.o
TESTUTIL = ./util/testutil.o
@ -262,7 +262,7 @@ VALGRIND_VER := $(join $(VALGRIND_VER),valgrind)
VALGRIND_OPTS = --error-exitcode= $( VALGRIND_ERROR) --leak-check= full
VALGRIND_OPTS = --error-exitcode= $( VALGRIND_ERROR) --leak-check= full
BENCHTOOLOBJECTS = $( BENCH_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
BENCHTOOLOBJECTS = $( BENCH_LIB_ SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
TESTS = \
TESTS = \
db_test \
db_test \
@ -464,7 +464,7 @@ $(SHARED3): $(SHARED4)
e n d i f
e n d i f
$(SHARED4) :
$(SHARED4) :
$( CXX) $( PLATFORM_SHARED_LDFLAGS) $( SHARED3) $( CXXFLAGS) $( PLATFORM_SHARED_CFLAGS) $( LIB_SOURCES) $( TOOL_SOURCES) \
$( CXX) $( PLATFORM_SHARED_LDFLAGS) $( SHARED3) $( CXXFLAGS) $( PLATFORM_SHARED_CFLAGS) $( LIB_SOURCES) $( TOOL_LIB_ SOURCES) \
$( LDFLAGS) -o $@
$( LDFLAGS) -o $@
e n d i f # PLATFORM_SHARED_EXT
e n d i f # PLATFORM_SHARED_EXT
@ -816,7 +816,7 @@ $(LIBRARY): $(LIBOBJECTS)
$( AM_V_AR) rm -f $@
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $( LIBOBJECTS)
$( AM_V_at) $( AR) $( ARFLAGS) $@ $( LIBOBJECTS)
$(TOOLS_LIBRARY) : $( BENCH_SOURCES :.cc =.o ) $( TOOL_SOURCES :.cc =.o ) $( LIB_SOURCES :.cc =.o ) $( TESTUTIL )
$(TOOLS_LIBRARY) : $( BENCH_LIB_ SOURCES :.cc =.o ) $( TOOL_LIB _SOURCES :.cc =.o ) $( LIB_SOURCES :.cc =.o ) $( TESTUTIL )
$( AM_V_AR) rm -f $@
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
@ -1406,7 +1406,7 @@ endif
# Source files dependencies detection
# Source files dependencies detection
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
all_sources = $( LIB_SOURCES) $( TEST_BENCH_SOURCES) $( MOCK _SOURCES)
all_sources = $( LIB_SOURCES) $( MAIN_SOURCES) $( MOCK_LIB_SOURCES) $( TOOL_LIB_SOURCES) $( BENCH_LIB_SOURCES) $( TEST_LIB _SOURCES)
DEPFILES = $( all_sources:.cc= .d)
DEPFILES = $( all_sources:.cc= .d)
# Add proper dependency support so changing a .h file forces a .cc file to
# Add proper dependency support so changing a .h file forces a .cc file to