2012-01-11 23:32:42 +00:00
|
|
|
|
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)
|
2012-02-22 23:12:28 +00:00
|
|
|
LIBNAME = blsm
|
2011-12-21 21:05:29 +00:00
|
|
|
|
2012-01-11 23:32:42 +00:00
|
|
|
ifeq ($(shell uname),Linux)
|
|
|
|
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
2012-02-22 23:12:28 +00:00
|
|
|
-lrt sherpa/LSMServerHandler.cc bin/libblsm.a \
|
2011-12-21 21:05:29 +00:00
|
|
|
../stasis/bin/libstasis.a
|
2011-12-22 04:37:40 +00:00
|
|
|
else
|
|
|
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
2012-02-22 23:12:28 +00:00
|
|
|
sherpa/LSMServerHandler.cc bin/libblsm.a \
|
2011-12-22 04:37:40 +00:00
|
|
|
../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
|