-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.aix
23 lines (15 loc) · 1.24 KB
/
Makefile.aix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Customise for local installations
IIB_INSTALL_LOCATION=/opt/ibm/iib-10.0.0.5
BOOST_LOCATION=/Development/boost/boost_1_60_0
XLC_LOCATION=/opt/IBM/xlC/13.1.3
all:: statsdsw-xlC13.lil statsdsw-gcc630.lil
statsdsw-xlC13.lil:: StatsdStatsWriter.cpp UdpSocket.cpp StatsdStatsWriter.hpp UdpSocket.hpp Compat.hpp
$(XLC_LOCATION)/bin/xlC_r -DAVOID_CXX11 -qsuppress=1540-0198 -qlanglvl=extended0x -q64 -qmkshrobj -o statsdsw-xlC13.lil StatsdStatsWriter.cpp UdpSocket.cpp $(BOOST_LOCATION)/libs/system/src/error_code.cpp -I. -I$(BOOST_LOCATION) -I$(IIB_INSTALL_LOCATION)/server/include/plugin -lpthread -L$(IIB_INSTALL_LOCATION)/server/lib -limbdfplg
statsdsw-gcc630.lil:: StatsdStatsWriter.cpp UdpSocket.cpp StatsdStatsWriter.hpp UdpSocket.hpp
g++ -shared -fPIC -maix64 -D_LP64 -DBIP_CXX11_SUPPORT -Wno-deprecated-declarations -Wno-overflow -o statsdsw-gcc630.lil StatsdStatsWriter.cpp UdpSocket.cpp $(BOOST_LOCATION)/libs/system/src/error_code.cpp -I. -I$(BOOST_LOCATION) -I$(IIB_INSTALL_LOCATION)/server/include/plugin -lpthread -L$(IIB_INSTALL_LOCATION)/server/lib -limbdfplg
test-xlC:: statsdsw-xlC13.lil
cd test && make -f Makefile.aix xlC
test-gcc:: statsdsw-gcc630.lil
cd test && make -f Makefile.aix gcc
test-all:: all
cd test && make -f Makefile.aix all