Makefile.am 729 Bytes
Newer Older
1
SUBDIRS = . tests
2

3
4
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log
5
AM_CPPFLAGS += $(BOOST_INCLUDES)
6

7
8
AM_CXXFLAGS = $(B10_CXXFLAGS)

9
10
AM_LDFLAGS = $(CLOCK_GETTIME_LDFLAGS)
AM_LDFLAGS += -lm
11
12
13
14
if USE_STATIC_LINK
AM_LDFLAGS += -static
endif

15
16
17
18
19
# We have to suppress errors because we are compiling C code with CXX
# We have to do this to link with new C++ pieces of code
perfdhcp_CXXFLAGS = $(AM_CXXFLAGS)
perfdhcp_CXXFLAGS += -Wno-error -Wno-writestrings

20
pkglibexec_PROGRAMS  = perfdhcp
21
perfdhcp_SOURCES  = perfdhcp.cc
22
perfdhcp_SOURCES += command_options.cc command_options.h
23
24

perfdhcp_LDADD = $(top_builddir)/src/lib/exceptions/libexceptions.la