2011-12-22 04:37:40 +00:00
|
|
|
include ../mapkeeper/Makefile.config
|
|
|
|
|
2011-12-21 21:05:29 +00:00
|
|
|
INC = -I ../stasis \
|
|
|
|
-I ../mapkeeper/thrift/gen-cpp/ \
|
2011-12-22 04:37:40 +00:00
|
|
|
-I $(THRIFT_DIR)/include/ \
|
|
|
|
-I $(THRIFT_DIR)/include/thrift \
|
2011-12-21 21:05:29 +00:00
|
|
|
-I ./sherpa
|
|
|
|
|
|
|
|
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
|
|
|
LIBNAME = logstore
|
|
|
|
|
2011-12-22 04:37:40 +00:00
|
|
|
ifeq (`uname`,"Linux")
|
2011-12-21 21:05:29 +00:00
|
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
|
|
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
|
|
|
../stasis/bin/libstasis.a
|
2011-12-22 04:37:40 +00:00
|
|
|
else
|
|
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
|
|
sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
|
|
|
../stasis/bin/libstasis.a
|
|
|
|
endif
|
|
|
|
|
2011-12-21 21:05:29 +00:00
|
|
|
MAINSRC = $(wildcard main/*.cpp) $(wildcard sherpa/main/*.cc)
|
|
|
|
|
2011-12-22 04:37:40 +00:00
|
|
|
include ../stasis/config/Makefile.stasis
|