2011-05-11 22:27:48 +00:00
|
|
|
ROOT=/home/y
|
|
|
|
include $(ROOT)/share/yahoo_cfg/Make.defs
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2011-05-11 22:27:48 +00:00
|
|
|
USE_OSE = no
|
2010-09-15 22:53:30 +00:00
|
|
|
|
2011-05-11 22:27:48 +00:00
|
|
|
LIB_NAME = LSMServer
|
|
|
|
SHLIB_VERSION = 1
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2011-05-11 22:27:48 +00:00
|
|
|
CXXSRC = LSMServerHandler.cc
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2011-05-11 22:27:48 +00:00
|
|
|
LCLEAN += *~
|
|
|
|
WARN += -Werror -Wall
|
2011-08-23 00:10:43 +00:00
|
|
|
LINC += -I. -I /usr/local/include/thrift -I /home/y/include64/stasis -I .. -I ../../thrift/gen-cpp
|
2010-09-15 21:53:51 +00:00
|
|
|
|
2011-05-11 22:27:48 +00:00
|
|
|
LDLIBS += -L/usr/local/lib
|
|
|
|
LDFLAGS += -Wl,-rpath,/home/y/lib64 -Wl,-rpath,../build
|
|
|
|
|
|
|
|
|
|
|
|
# Poor packaging for yicu
|
|
|
|
LINC += -I/home/y/include/yicu
|
|
|
|
|
2011-08-23 00:10:43 +00:00
|
|
|
LDLIBS += -lthrift -lmapkeeper -lstasis -llogstore -L ../build -L ../../thrift/gen-cpp
|
2011-05-11 22:27:48 +00:00
|
|
|
|
|
|
|
# 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)
|