@ -382,6 +382,8 @@ VALGRIND_OPTS = --error-exitcode=$(VALGRIND_ERROR) --leak-check=full
BENCHTOOLOBJECTS = $( BENCH_LIB_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
BENCHTOOLOBJECTS = $( BENCH_LIB_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
ANALYZETOOLOBJECTS = $( ANALYZER_LIB_SOURCES:.cc= .o)
EXPOBJECTS = $( EXP_LIB_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
EXPOBJECTS = $( EXP_LIB_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
TESTS = \
TESTS = \
@ -1041,7 +1043,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_LIB_SOURCES :.cc =.o ) $( TOOL_LIB_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 ) $( ANALYZER_LIB_SOURCES :.cc =.o )
$( AM_V_AR) rm -f $@
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
@ -1052,6 +1054,9 @@ librocksdb_env_basic_test.a: env/env_basic_test.o $(LIBOBJECTS) $(TESTHARNESS)
db_bench : tools /db_bench .o $( BENCHTOOLOBJECTS )
db_bench : tools /db_bench .o $( BENCHTOOLOBJECTS )
$( AM_LINK)
$( AM_LINK)
trace_analyzer : tools /trace_analyzer .o $( ANALYZETOOLOBJECTS ) $( LIBOBJECTS )
$( AM_LINK)
cache_bench : cache /cache_bench .o $( LIBOBJECTS ) $( TESTUTIL )
cache_bench : cache /cache_bench .o $( LIBOBJECTS ) $( TESTUTIL )
$( AM_LINK)
$( AM_LINK)
@ -1459,10 +1464,7 @@ options_util_test: utilities/options/options_util_test.o $(LIBOBJECTS) $(TESTHAR
db_bench_tool_test : tools /db_bench_tool_test .o $( BENCHTOOLOBJECTS ) $( TESTHARNESS )
db_bench_tool_test : tools /db_bench_tool_test .o $( BENCHTOOLOBJECTS ) $( TESTHARNESS )
$( AM_LINK)
$( AM_LINK)
trace_analyzer : tools /trace_analyzer .o $( LIBOBJECTS )
trace_analyzer_test : tools /trace_analyzer_test .o $( LIBOBJECTS ) $( ANALYZETOOLOBJECTS ) $( TESTHARNESS )
$( AM_LINK)
trace_analyzer_test : tools /trace_analyzer_test .o $( BENCHTOOLOBJECTS ) $( TESTHARNESS )
$( AM_LINK)
$( AM_LINK)
event_logger_test : util /event_logger_test .o $( LIBOBJECTS ) $( TESTHARNESS )
event_logger_test : util /event_logger_test .o $( LIBOBJECTS ) $( TESTHARNESS )
@ -1923,7 +1925,7 @@ endif
# Source files dependencies detection
# Source files dependencies detection
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
all_sources = $( LIB_SOURCES) $( MAIN_SOURCES) $( MOCK_LIB_SOURCES) $( TOOL_LIB_SOURCES) $( BENCH_LIB_SOURCES) $( TEST_LIB_SOURCES) $( EXP_LIB_SOURCES)
all_sources = $( LIB_SOURCES) $( MAIN_SOURCES) $( MOCK_LIB_SOURCES) $( TOOL_LIB_SOURCES) $( BENCH_LIB_SOURCES) $( TEST_LIB_SOURCES) $( EXP_LIB_SOURCES) $( ANALYZER_LIB_SOURCES)
DEPFILES = $( all_sources:.cc= .cc.d)
DEPFILES = $( all_sources:.cc= .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