Makefile.am 611 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
lib_LTLIBRARIES = libperfdhcp++.la
libperfdhcp___la_SOURCES = command_options.cc command_options.h
libperfdhcp___la_CXXFLAGS = $(AM_CXXFLAGS)
libperfdhcp___la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
19

20
pkglibexec_PROGRAMS  = perfdhcp
21
22
perfdhcp_SOURCES  = perfdhcp.c

23