7bb6c3e166
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3508 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
24 lines
719 B
Makefile
24 lines
719 B
Makefile
include ../mapkeeper/Makefile.config
|
|
|
|
INC = -I ../stasis \
|
|
-I ../mapkeeper/thrift/gen-cpp/ \
|
|
-I $(THRIFT_DIR)/include/ \
|
|
-I $(THRIFT_DIR)/include/thrift \
|
|
-I ./sherpa
|
|
|
|
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
|
LIBNAME = logstore
|
|
|
|
ifeq (`uname`,"Linux")
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
|
../stasis/bin/libstasis.a
|
|
else
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
|
../stasis/bin/libstasis.a
|
|
endif
|
|
|
|
MAINSRC = $(wildcard main/*.cpp) $(wildcard sherpa/main/*.cc)
|
|
|
|
include ../stasis/config/Makefile.stasis
|