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 \
|
2012-02-24 21:42:59 +00:00
|
|
|
-I ./servers/mapkeeper
|
2011-12-21 21:05:29 +00:00
|
|
|
|
|
|
|
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-24 21:42:59 +00:00
|
|
|
-lrt servers/mapkeeper/bLSMRequestHandler.cpp 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-24 21:42:59 +00:00
|
|
|
servers/mapkeeper/bLSMRequestHandler.cpp bin/libblsm.a \
|
2011-12-22 04:37:40 +00:00
|
|
|
../stasis/bin/libstasis.a
|
|
|
|
endif
|
|
|
|
|
2012-02-24 21:42:59 +00:00
|
|
|
MAINSRC = $(wildcard servers/native-XXX/*.cpp) $(wildcard servers/mapkeeper/main/*.cpp)
|
2011-12-21 21:05:29 +00:00
|
|
|
|
2011-12-22 04:37:40 +00:00
|
|
|
include ../stasis/config/Makefile.stasis
|