# sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_LTLIBRARIES = libariba_dht.la # compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # read the autotools book 11.4 for setting the versioning number # this is different from normal versioning schemes and important # to set correctly as the runtime linker chooses the correct lib # depending on the versioning information here! This is not the # project version number!! libariba_dht_la_LDFLAGS = -version-info 1:0:0 # compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AM_CPPFLAGS = -DLINUX -D_LINUX -I../../ -D_REENTRANT AM_CPPFLAGS += $(BOOST_CPPFLAGS) if DEBUG AM_CPPFLAGS += -ggdb -DDEBUG -D_DEBUG -O0 endif if PROFILING AM_CPPFLAGS += -pg endif if OMNET AM_CPPFLAGS += -fPIC -DUNDERLAY_OMNET endif # linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AM_LDFLAGS = -L../../ariba -lariba AM_LDFLAGS += $(BOOST_SYSTEM_LDFLAGS) LIBS += $(BOOST_SYSTEM_LIBS) if PROFILING AM_LDFLAGS += -pg endif if OMNET AM_LDFLAGS += -shared -rdynamic endif # sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libariba_dht_ladir = ${pkgincludedir} #needed to fix autotools bug ariba_dht_CPPFLAGS = $(AM_CPPFLAGS) libariba_dht_la_SOURCES = \ Dht.cpp \ messages/DhtMessage.cpp nobase_libariba_dht_la_HEADERS = \ Dht.h \ messages/DhtMessage.h \ DhtAnswerInterface.h