1 Star 0 Fork 0

hacrwang/tera

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
depends.mk.template 2.57 KB
一键复制 编辑 原始数据 按行查看 历史
tianye15 提交于 2018-07-18 23:42 . merge 2.11 to master
################################################################
# Note: Edit the variable below to help find your own package
# that tera depends on.
# If you build tera using build.sh or travis.yml, it will
# automatically config this for you.
################################################################
SOFA_PBRPC_PREFIX=./thirdparty
PROTOBUF_PREFIX=./thirdparty
SNAPPY_PREFIX=./thirdparty
ZOOKEEPER_PREFIX=./thirdparty
GFLAGS_PREFIX=./thirdparty
GLOG_PREFIX=./thirdparty
GTEST_PREFIX=./thirdparty
GPERFTOOLS_PREFIX=./thirdparty
INS_PREFIX=./thirdparty
BOOST_INCDIR=./thirdparty/boost_1_57_0
MONGOOSE_PREFIX=./thirdparty
SOFA_PBRPC_INCDIR = $(SOFA_PBRPC_PREFIX)/include
PROTOBUF_INCDIR = $(PROTOBUF_PREFIX)/include
SNAPPY_INCDIR = $(SNAPPY_PREFIX)/include
ZOOKEEPER_INCDIR = $(ZOOKEEPER_PREFIX)/include/zookeeper
GFLAGS_INCDIR = $(GFLAGS_PREFIX)/include
GLOG_INCDIR = $(GLOG_PREFIX)/include
GTEST_INCDIR = $(GTEST_PREFIX)/include
GPERFTOOLS_INCDIR = $(GPERFTOOLS_PREFIX)/include
INS_INCDIR = $(INS_PREFIX)/include
MONGOOSE_INCDIR = $(MONGOOSE_PREFIX)/include
SOFA_PBRPC_LIBDIR = $(SOFA_PBRPC_PREFIX)/lib
PROTOBUF_LIBDIR = $(PROTOBUF_PREFIX)/lib
SNAPPY_LIBDIR = $(SNAPPY_PREFIX)/lib
ZOOKEEPER_LIBDIR = $(ZOOKEEPER_PREFIX)/lib
GFLAGS_LIBDIR = $(GFLAGS_PREFIX)/lib
GLOG_LIBDIR = $(GLOG_PREFIX)/lib
GTEST_LIBDIR = $(GTEST_PREFIX)/lib
GPERFTOOLS_LIBDIR = $(GPERFTOOLS_PREFIX)/lib
INS_LIBDIR = $(INS_PREFIX)/lib
MONGOOSE_LIBDIR = $(MONGOOSE_PREFIX)/lib
PROTOC = $(PROTOBUF_PREFIX)/bin/protoc
################################################################
# Note: No need to modify things below.
################################################################
DEPS_INCPATH = -I$(SOFA_PBRPC_INCDIR) -I$(PROTOBUF_INCDIR) \
-I$(SNAPPY_INCDIR) -I$(ZOOKEEPER_INCDIR) \
-I$(GFLAGS_INCDIR) -I$(GLOG_INCDIR) -I$(GTEST_INCDIR) \
-I$(GPERFTOOLS_INCDIR) -I$(BOOST_INCDIR) -I$(INS_INCDIR) \
-I$(MONGOOSE_INCDIR)
DEPS_LDPATH = -L$(SOFA_PBRPC_LIBDIR) -L$(PROTOBUF_LIBDIR) \
-L$(SNAPPY_LIBDIR) -L$(ZOOKEEPER_LIBDIR) \
-L$(GFLAGS_LIBDIR) -L$(GLOG_LIBDIR) -L$(GTEST_LIBDIR) \
-L$(GPERFTOOLS_LIBDIR) -L$(INS_LIBDIR) -L${MONGOOSE_LIBDIR}
SO_DEPS_LDFLAGS = -lins_sdk -lsofa-pbrpc -lprotobuf -lsnappy -lzookeeper_mt \
-lgtest_main -lgtest -lglog -lgflags -lmongoose
DEPS_LDFLAGS = $(SO_DEPS_LDFLAGS) -ltcmalloc_and_profiler -lunwind
################################################################
# Install prefix
################################################################
INSTALL_PREFIX=/usr/local
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hcrwang/tera.git
git@gitee.com:hcrwang/tera.git
hcrwang
tera
tera
master

搜索帮助