2012-02-22 23:42:54 +00:00
|
|
|
THRIFT_DIR = /home/sears/local/thrift
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2012-02-22 23:42:54 +00:00
|
|
|
CPPFLAGS =-I../../../stasis -I../.. -I. -I $(THRIFT_DIR)/include/thrift -I../../../mapkeeper/thrift/gen-cpp
|
|
|
|
CXXFLAGS =-g -O3
|
2010-09-15 22:53:30 +00:00
|
|
|
|
2012-02-22 23:42:54 +00:00
|
|
|
LDFLAGS=-lpthread -lblsm -lstasis -lmapkeeper -lthrift \
|
|
|
|
-L $(THRIFT_DIR)/lib -L ../../../mapkeeper/thrift/gen-cpp \
|
|
|
|
-L ../../build -L ../../../stasis/build/src/stasis \
|
|
|
|
-Wl,-rpath,\$$ORIGIN/../../../build \
|
|
|
|
-Wl,-rpath,\$$ORIGIN/../../../../stasis/build/src/stasis \
|
|
|
|
-Wl,-rpath,\$$ORIGIN/../../../../mapkeeper/thrift/gen-cpp \
|
|
|
|
-Wl,-rpath,/usr/local/lib \
|
|
|
|
-Wl,-rpath,$(THRIFT_DIR)/lib
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2012-02-22 23:42:54 +00:00
|
|
|
all: main/blsm_client main/blsm_server
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2012-02-22 23:42:54 +00:00
|
|
|
main/blsm_client :
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2012-02-23 00:42:46 +00:00
|
|
|
main/blsm_server : blsmRequestHandler.cpp
|
2011-05-11 22:27:48 +00:00
|
|
|
|
2012-02-22 23:42:54 +00:00
|
|
|
clean:
|
|
|
|
rm -f main/blsm_client main/blsm_server
|