Makefile.am 1.6 KB
Newer Older
1
2
3
4
5
SUBDIRS = . tests

AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)

6
7
AM_CXXFLAGS = $(B10_CXXFLAGS)

8
9
10
11
12
13
# Some versions of GCC warn about some versions of Boost regarding
# missing initializer for members in its posix_time.
# https://svn.boost.org/trac/boost/ticket/3477
# But older GCC compilers don't have the flag.
AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)

14
15
CLEANFILES = *.gcno *.gcda

16
17
lib_LTLIBRARIES = libdhcp++.la
libdhcp___la_SOURCES  =
18
libdhcp___la_SOURCES += libdhcp++.cc libdhcp++.h
19
libdhcp___la_SOURCES += iface_mgr.cc iface_mgr.h
20
21
libdhcp___la_SOURCES += iface_mgr_linux.cc
libdhcp___la_SOURCES += iface_mgr_bsd.cc
22
libdhcp___la_SOURCES += iface_mgr_sun.cc
23
24
25
26
libdhcp___la_SOURCES += option.cc option.h
libdhcp___la_SOURCES += option6_ia.cc option6_ia.h
libdhcp___la_SOURCES += option6_iaaddr.cc option6_iaaddr.h
libdhcp___la_SOURCES += option6_addrlst.cc option6_addrlst.h
27
libdhcp___la_SOURCES += option4_addrlst.cc option4_addrlst.h
28
29
30
libdhcp___la_SOURCES += dhcp6.h dhcp4.h
libdhcp___la_SOURCES += pkt6.cc pkt6.h
libdhcp___la_SOURCES += pkt4.cc pkt4.h
31

32
EXTRA_DIST  = README
Tomek Mrugalski's avatar
Tomek Mrugalski committed
33
#EXTRA_DIST += log_messages.mes
34

35
36
libdhcp___la_CXXFLAGS = $(AM_CXXFLAGS)
libdhcp___la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
37
38
39
libdhcp___la_LIBADD   = $(top_builddir)/src/lib/asiolink/libasiolink.la
libdhcp___la_LIBADD  += $(top_builddir)/src/lib/util/libutil.la
libdhcp___la_LDFLAGS  = -no-undefined -version-info 1:0:0
40
41

if USE_CLANGPP
42
43
# Disable unused parameter warning caused by some of the
# Boost headers when compiling with clang.
44
45
libdhcp___la_CXXFLAGS += -Wno-unused-parameter
endif