stasis-bLSM/y/Makefile.y
sears bc2103625e move y* stuff to y directory
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3780 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
2012-02-22 23:46:49 +00:00

38 lines
791 B
Makefile

ROOT=/home/y
include $(ROOT)/share/yahoo_cfg/Make.defs
USE_OSE = no
LIB_NAME = LSMServer
SHLIB_VERSION = 1
CXXSRC = LSMServerHandler.cc
LCLEAN += *~
WARN += -Werror -Wall
LINC += -I. -I /usr/local/include/thrift -I /home/y/include64/stasis -I .. -I ../../thrift/gen-cpp
LDLIBS += -L/usr/local/lib
LDFLAGS += -Wl,-rpath,/home/y/lib64 -Wl,-rpath,../build
# Poor packaging for yicu
LINC += -I/home/y/include/yicu
LDLIBS += -lthrift -lmapkeeper -lstasis -llogstore -L ../build -L ../../thrift/gen-cpp
# Need to remove potential warnings in yapache.
LDEF += -DEAPI
LDEF += -D_FILE_OFFSET_BITS=64
ifdef UNIT_TEST
CXXFLAGS += -O0 -g -DUNIT_TEST
endif
ifdef DEBUG
CXXFLAGS += -O0 -g
endif
include $(ROOT)/share/yahoo_cfg/Make.rules
$(SOTARGET): $(OBJS)