add non-yahoo makefile for thrift server
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2924 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
5524b96bd9
commit
9727d0b39d
1 changed files with 23 additions and 0 deletions
23
sherpa/Makefile.local
Normal file
23
sherpa/Makefile.local
Normal file
|
@ -0,0 +1,23 @@
|
|||
CPPFLAGS =-I../../stasis -I.. -I. -I /usr/local/include/thrift
|
||||
CXXFLAGS =-g -O0
|
||||
LDFLAGS=-lprofiler -ltcmalloc -lpthread -llogstore -lstasis -L ../build -L ../../stasis/build/src/stasis -lthrift -Wl,-rpath,../build,-rpath,../../stasis/build/src/stasis,-rpath,/usr/local/lib
|
||||
|
||||
THRIFT_SRC = dht_persistent_store/persistent_store_constants.cpp dht_persistent_store/persistent_store_types.cpp dht_persistent_store/PersistentStore.cpp
|
||||
|
||||
all: main/lsm_client main/lsm_server main/lsm_shutdown
|
||||
|
||||
dht_thrift.jar :
|
||||
cd ../thrift/gen-java;
|
||||
bash -c 'javac \`find . -name *.java\` -cp /usr/local/lib/libthrift.jar:/usr/share/java/slf4j-api-1.5.11.jar'
|
||||
cd ../../sherpa
|
||||
|
||||
main/lsm_client : $(THRIFT_SRC)
|
||||
|
||||
main/lsm_shutdown : $(THRIFT_SRC)
|
||||
|
||||
main/lsm_server : LSMServerHandler.cc $(THRIFT_SRC)
|
||||
|
||||
clean:
|
||||
rm -f main/lsm_client main/lsm_server
|
||||
|
||||
# $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS)
|
Loading…
Reference in a new issue