0d21fcb2ff
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3797 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
25 lines
764 B
Makefile
25 lines
764 B
Makefile
|
|
include ../mapkeeper/Makefile.config
|
|
|
|
INC = -I ../stasis \
|
|
-I ../mapkeeper/thrift/gen-cpp/ \
|
|
-I $(THRIFT_DIR)/include/ \
|
|
-I $(THRIFT_DIR)/include/thrift \
|
|
-I ./servers/mapkeeper
|
|
|
|
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
|
LIBNAME = blsm
|
|
|
|
ifeq ($(shell uname),Linux)
|
|
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
-lrt servers/mapkeeper/bLSMRequestHandler.cpp bin/libblsm.a \
|
|
../stasis/bin/libstasis.a
|
|
else
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
|
servers/mapkeeper/bLSMRequestHandler.cpp bin/libblsm.a \
|
|
../stasis/bin/libstasis.a
|
|
endif
|
|
|
|
MAINSRC = $(wildcard servers/native-XXX/*.cpp) $(wildcard servers/mapkeeper/main/*.cpp)
|
|
|
|
include ../stasis/config/Makefile.stasis
|