close Warning: Can't use blame annotator:
No changeset 10577 in the repository

source: source/services/dht/Makefile.am@ 10653

Last change on this file since 10653 was 10653, checked in by Michael Tänzer, 12 years ago

Merge the ASIO branch back into trunk

File size: 1.4 KB
RevLine 
1# sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2
3lib_LTLIBRARIES = libariba_dht.la
4
5# compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6# read the autotools book 11.4 for setting the versioning number
7# this is different from normal versioning schemes and important
8# to set correctly as the runtime linker chooses the correct lib
9# depending on the versioning information here! This is not the
10# project version number!!
11
12libariba_dht_la_LDFLAGS = -version-info 1:0:0
13
14# compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
16AM_CPPFLAGS = -DLINUX -D_LINUX -I../../ -D_REENTRANT
17AM_CPPFLAGS += $(BOOST_CPPFLAGS)
18
19if DEBUG
20AM_CPPFLAGS += -ggdb -DDEBUG -D_DEBUG -O0
21endif
22
23if PROFILING
24AM_CPPFLAGS += -pg
25endif
26
27if OMNET
28AM_CPPFLAGS += -fPIC -DUNDERLAY_OMNET
29endif
30
31# linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
33AM_LDFLAGS = -L../../ariba -lariba
34AM_LDFLAGS += $(BOOST_SYSTEM_LDFLAGS)
35LIBS += $(BOOST_SYSTEM_LIBS)
36
37if PROFILING
38AM_LDFLAGS += -pg
39endif
40
41if OMNET
42AM_LDFLAGS += -shared -rdynamic
43endif
44
45# sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
47libariba_dht_ladir = ${pkgincludedir}
48
49#needed to fix autotools bug
50ariba_dht_CPPFLAGS = $(AM_CPPFLAGS)
51
52libariba_dht_la_SOURCES = \
53 Dht.cpp \
54 messages/DhtMessage.cpp
55
56nobase_libariba_dht_la_HEADERS = \
57 Dht.h \
58 messages/DhtMessage.h \
59 DhtAnswerInterface.h
60
Note: See TracBrowser for help on using the repository browser.