-
Notifications
You must be signed in to change notification settings - Fork 5
/
makefile.inc.bak
47 lines (41 loc) · 958 Bytes
/
makefile.inc.bak
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
.SUFFIXES : .cpp .o
.PHONY: clean dep new cleanall local debug clear test
CXX = ccache g++ -g
BOOST_INCLUDE = /usr/local/include/boost-1_58
BOOST_LIB_VER = -gcc44-mt-d-1_58
OPT_CRYPT = -I../ShareLib \
-I/usr/include/mysql \
-I/usr/local/ssl/include \
-I/usr/local/include/botan-1.10 \
-I$(BOOST_INCLUDE)
OPT_LDOBJ = -L../ShareLib \
-L/usr/local/lib \
-L/usr/local/apr/lib \
-L/usr/lib/mysql \
-lSharelib \
-lmysqlclient \
-lboost_thread$(BOOST_LIB_VER) \
-lboost_system$(BOOST_LIB_VER) \
-llog4cxx \
-laprutil-1 \
-lapr-1 \
-lrt \
-lstdc++ \
-lexpat \
-lz \
-lpthread \
-ljsoncpp
OPT_VER=-DLC_VER=\"$(LC_VER)\"
CXXFLAGS = -D_THREAD_SAFE -finline-functions \
-funroll-loops \
-fdefer-pop \
-fstrength-reduce \
-Wno-write-strings \
-Wno-char-subscripts \
$(OPT_BIGENDIAN) \
$(OPT_LANG) \
$(OPT_DEBUG) \
$(OPT_DEF) \
$(OPT_TEST) \
$(OPT_VER) \
$(OPT_CRYPT)