@ -10,6 +10,7 @@ CFLAGS += ${EXTRA_CFLAGS}
CXXFLAGS += ${ EXTRA_CXXFLAGS }
CXXFLAGS += ${ EXTRA_CXXFLAGS }
LDFLAGS += $( EXTRA_LDFLAGS)
LDFLAGS += $( EXTRA_LDFLAGS)
MACHINE ?= $( shell uname -m)
MACHINE ?= $( shell uname -m)
ARFLAGS = rs
i f n e q ( $( MAKECMDGOALS ) , d b g )
i f n e q ( $( MAKECMDGOALS ) , d b g )
OPT += -O2 -fno-omit-frame-pointer
OPT += -O2 -fno-omit-frame-pointer
@ -36,6 +37,10 @@ AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $( am__v_GEN_$( AM_DEFAULT_VERBOSITY) )
am__v_GEN_ = $( am__v_GEN_$( AM_DEFAULT_VERBOSITY) )
am__v_GEN_0 = @echo " GEN " $@ ;
am__v_GEN_0 = @echo " GEN " $@ ;
am__v_GEN_1 =
am__v_GEN_1 =
AM_V_at = $( am__v_at_$( V) )
am__v_at_ = $( am__v_at_$( AM_DEFAULT_VERBOSITY) )
am__v_at_0 = @
am__v_at_1 =
AM_V_CC = $( am__v_CC_$( V) )
AM_V_CC = $( am__v_CC_$( V) )
am__v_CC_ = $( am__v_CC_$( AM_DEFAULT_VERBOSITY) )
am__v_CC_ = $( am__v_CC_$( AM_DEFAULT_VERBOSITY) )
@ -47,6 +52,10 @@ AM_V_CCLD = $(am__v_CCLD_$(V))
am__v_CCLD_ = $( am__v_CCLD_$( AM_DEFAULT_VERBOSITY) )
am__v_CCLD_ = $( am__v_CCLD_$( AM_DEFAULT_VERBOSITY) )
am__v_CCLD_0 = @echo " CCLD " $@ ;
am__v_CCLD_0 = @echo " CCLD " $@ ;
am__v_CCLD_1 =
am__v_CCLD_1 =
AM_V_AR = $( am__v_AR_$( V) )
am__v_AR_ = $( am__v_AR_$( AM_DEFAULT_VERBOSITY) )
am__v_AR_0 = @echo " AR " $@ ;
am__v_AR_1 =
AM_LINK = $( AM_V_CCLD) $( CXX) $^ $( EXEC_LDFLAGS) -o $@ $( LDFLAGS) $( COVERAGEFLAGS)
AM_LINK = $( AM_V_CCLD) $( CXX) $^ $( EXEC_LDFLAGS) -o $@ $( LDFLAGS) $( COVERAGEFLAGS)
@ -356,8 +365,8 @@ package:
# Unit tests and tools
# Unit tests and tools
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
$(LIBRARY) : $( LIBOBJECTS )
$(LIBRARY) : $( LIBOBJECTS )
rm -f $@
$( AM_V_AR) rm -f $@
$( AR) -rs $@ $( LIBOBJECTS)
$( AM_V_at) $( AR) $( ARFLAGS) $@ $( LIBOBJECTS)
db_bench : db /db_bench .o $( LIBOBJECTS ) $( TESTUTIL )
db_bench : db /db_bench .o $( LIBOBJECTS ) $( TESTUTIL )
$( AM_LINK)
$( AM_LINK)