-
Notifications
You must be signed in to change notification settings - Fork 57
/
Makefile.am
111 lines (98 loc) · 3.49 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
AM_CPPFLAGS=-fPIC -DTHERON_XS\
-I${HADOOP_HOME}/include\
-I${JAVA_HOME}/include\
-I${JAVA_HOME}/include/linux \
-I${BOOST_HOME} \
-I${BOOST_HOME}/boost/serialization \
-I${GTEST_HOME}/include \
-I${CAF_HOME}/libcaf_io \
-I${CAF_HOME}/libcaf_core
#-L/usr/local/lib \-lprofiler
#-I/usr/local/include
AM_LDFLAGS= -lc -lm -lrt -lcaf_core -lcaf_io -lpthread -lboost_serialization -lboost_date_time -lboost_system \
-lconfig++ -lxs -lnuma -lreadline -lhistory -lz -ltinfo -Wl,--no-as-needed -ldl -rdynamic -lglog
if OPT_TCMALLOC
AM_CPPFLAGS+=-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
AM_LDFLAGS+=-ltcmalloc
endif
LDADD = \
Test/libtest.a \
Test/common/libcommon.a \
Test/utility/libutility.a \
node_manager/libnodemanager.a \
common/serialization/libserialization.a \
Client/libclient.a \
Client/Test/libtest.a \
Daemon/libdaemon.a \
Executor/libexecutor.a \
Executor/Test/libtest.a \
IndexManager/libindexmanager.a \
IndexManager/Test/libtest.a \
stmt_handler/libstmthandler.a \
sql_parser/Test/libparser_test.a \
sql_parser/parser/libparser.a \
sql_parser/ast_node/libast_node.a \
exec_tracker/libexec_tracker.a \
logical_operator/liblogicalqueryplan.a \
physical_operator/libphysicalqueryplan.a \
storage/libstorage.a \
Resource/libresouce.a \
catalog/libcatalog.a \
catalog/stat/libstat.a \
loader/libloader.a \
loader/test/libtest.a \
codegen/libcodegen.a\
common/libcommon.a \
common/Block/libblock.a \
common/Expression/libexpression.a \
common/expression/libexpression.a \
common/file_handle/libfilehandle.a \
common/file_handle/test/libtest.a \
common/log/liblog.a \
common/Schema/libschema.a \
common/Schema/Test/libtest.a \
common/types/libtypes.a \
common/types/Test/libtest.a \
common/types/ttmath/libttmath.a \
utility/libutility.a \
${CAF_HOME}/build/lib/libcaf_core.so \
${CAF_HOME}/build/lib/libcaf_io.so \
${BOOST_HOME}/stage/lib/libboost_serialization.a \
${BOOST_HOME}/stage/lib/libboost_serialization.so \
${BOOST_HOME}/stage/lib/libboost_system.so \
${HADOOP_HOME}/lib/native/libhdfs.so\
${JAVA_HOME}/jre/lib/amd64/server/libjvm.so\
${GTEST_HOME}/libgtest.a \
${GLOG_HOME}/.libs/libglog.so.0 \
-lLLVMJIT -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter \
-lLLVMMCParser -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis \
-lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMTarget -lLLVMRuntimeDyld \
-lLLVMExecutionEngine -lLLVMMC -lLLVMObject -lLLVMBitReader -lLLVMCore -lLLVMSupport -lLLVMMCParser
include_HEADERS = Config.h \
Debug.h \
Environment.h \
IDsGenerator.h \
configure.h
bin_PROGRAMS = claimsserver \
client \
test
client_SOURCES = Client.cpp \
Environment.cpp \
Config.cpp \
IDsGenerator.cpp
claimsserver_SOURCES = Config.cpp \
Environment.cpp \
IDsGenerator.cpp \
Server.cpp
test_SOURCES = Test/gtest_main.cpp\
Environment.cpp \
IDsGenerator.cpp \
Config.cpp
#node_SOURCES = Config.cpp \
# node_manager/node_main.cpp
SUBDIRS= catalog Client common Daemon Executor IndexManager\
loader physical_operator logical_operator Resource \
storage Test utility codegen sql_parser stmt_handler node_manager exec_tracker
DIST_SUBDIRS = catalog Client common Daemon Executor IndexManager\
loader physical_operator logical_operator Resource \
storage Test utility codegen sql_parser stmt_handler node_manager exec_tracker