@ -439,6 +439,8 @@ BENCHTOOLOBJECTS = $(BENCH_LIB_SOURCES:.cc=.o) $(LIBOBJECTS) $(TESTUTIL)
ANALYZETOOLOBJECTS = $( ANALYZER_LIB_SOURCES:.cc= .o)
ANALYZETOOLOBJECTS = $( ANALYZER_LIB_SOURCES:.cc= .o)
STRESSTOOLOBJECTS = $( STRESS_LIB_SOURCES:.cc= .o) $( LIBOBJECTS) $( TESTUTIL)
EXPOBJECTS = $( LIBOBJECTS) $( TESTUTIL)
EXPOBJECTS = $( LIBOBJECTS) $( TESTUTIL)
TESTS = \
TESTS = \
@ -662,6 +664,7 @@ endif
e n d i f
e n d i f
LIBRARY = ${ LIBNAME } .a
LIBRARY = ${ LIBNAME } .a
TOOLS_LIBRARY = ${ LIBNAME } _tools.a
TOOLS_LIBRARY = ${ LIBNAME } _tools.a
STRESS_LIBRARY = ${ LIBNAME } _stress.a
ROCKSDB_MAJOR = $( shell egrep "ROCKSDB_MAJOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
ROCKSDB_MAJOR = $( shell egrep "ROCKSDB_MAJOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
ROCKSDB_MINOR = $( shell egrep "ROCKSDB_MINOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
ROCKSDB_MINOR = $( shell egrep "ROCKSDB_MINOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
@ -751,6 +754,8 @@ static_lib: $(LIBRARY)
shared_lib : $( SHARED )
shared_lib : $( SHARED )
stress_lib : $( STRESS_LIBRARY )
tools : $( TOOLS )
tools : $( TOOLS )
tools_lib : $( TOOLS_LIBRARY )
tools_lib : $( TOOLS_LIBRARY )
@ -1135,6 +1140,10 @@ $(TOOLS_LIBRARY): $(BENCH_LIB_SOURCES:.cc=.o) $(TOOL_LIB_SOURCES:.cc=.o) $(LIB_S
$( AM_V_AR) rm -f $@
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
$(STRESS_LIBRARY) : $( LIB_SOURCES :.cc =.o ) $( TESTUTIL ) $( ANALYZER_LIB_SOURCES :.cc =.o ) $( STRESS_LIB_SOURCES :.cc =.o )
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
librocksdb_env_basic_test.a : env /env_basic_test .o $( LIBOBJECTS ) $( TESTHARNESS )
librocksdb_env_basic_test.a : env /env_basic_test .o $( LIBOBJECTS ) $( TESTHARNESS )
$( AM_V_AR) rm -f $@
$( AM_V_AR) rm -f $@
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
$( AM_V_at) $( AR) $( ARFLAGS) $@ $^
@ -1165,7 +1174,7 @@ memtablerep_bench: memtable/memtablerep_bench.o $(LIBOBJECTS) $(TESTUTIL)
filter_bench : util /filter_bench .o $( LIBOBJECTS ) $( TESTUTIL )
filter_bench : util /filter_bench .o $( LIBOBJECTS ) $( TESTUTIL )
$( AM_LINK)
$( AM_LINK)
db_stress : tools /db_stress_tool .o tools /db_stress .o $( LIB OBJECTS ) $( TESTUTIL )
db_stress : tools /db_stress .o $( STRESSTOO LOBJECTS)
$( AM_LINK)
$( AM_LINK)
write_stress : tools /write_stress .o $( LIBOBJECTS ) $( TESTUTIL )
write_stress : tools /write_stress .o $( LIBOBJECTS ) $( TESTUTIL )
@ -2038,7 +2047,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) $( ANALYZER_LIB_SOURCES)
all_sources = $( LIB_SOURCES) $( MAIN_SOURCES) $( MOCK_LIB_SOURCES) $( TOOL_LIB_SOURCES) $( BENCH_LIB_SOURCES) $( TEST_LIB_SOURCES) $( ANALYZER_LIB_SOURCES) $( STRESS_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