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

AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
5
6
AM_CXXFLAGS = $(B10_CXXFLAGS)

7
8
9
10
11
12
# 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)

13
14
CLEANFILES = *.gcno *.gcda

15
lib_LTLIBRARIES = libb10-dhcp++.la
16
libb10_dhcp___la_SOURCES  =
17
libb10_dhcp___la_SOURCES += dhcp6.h dhcp4.h
18
libb10_dhcp___la_SOURCES += duid.cc duid.h
19
libb10_dhcp___la_SOURCES += hwaddr.cc hwaddr.h
20
libb10_dhcp___la_SOURCES += iface_mgr.cc iface_mgr.h
21
libb10_dhcp___la_SOURCES += iface_mgr_bsd.cc
22
23
libb10_dhcp___la_SOURCES += iface_mgr_linux.cc
libb10_dhcp___la_SOURCES += iface_mgr_sun.cc
24
libb10_dhcp___la_SOURCES += libdhcp++.cc libdhcp++.h
25
libb10_dhcp___la_SOURCES += option4_addrlst.cc option4_addrlst.h
26
27
28
libb10_dhcp___la_SOURCES += option6_ia.cc option6_ia.h
libb10_dhcp___la_SOURCES += option6_iaaddr.cc option6_iaaddr.h
libb10_dhcp___la_SOURCES += option6_addrlst.cc option6_addrlst.h
29
libb10_dhcp___la_SOURCES += option_int.h
30
libb10_dhcp___la_SOURCES += option_int_array.h
31
32
33
34
libb10_dhcp___la_SOURCES += option.cc option.h
libb10_dhcp___la_SOURCES += option_custom.cc option_custom.h
libb10_dhcp___la_SOURCES += option_data_types.cc option_data_types.h
libb10_dhcp___la_SOURCES += option_definition.cc option_definition.h
35
libb10_dhcp___la_SOURCES += option_space.cc option_space.h
36
libb10_dhcp___la_SOURCES += protocol_util.cc protocol_util.h
37
libb10_dhcp___la_SOURCES += pkt6.cc pkt6.h
38
libb10_dhcp___la_SOURCES += pkt4.cc pkt4.h
39
40
libb10_dhcp___la_SOURCES += pkt_filter.h
libb10_dhcp___la_SOURCES += pkt_filter_inet.cc pkt_filter_inet.h
41
libb10_dhcp___la_SOURCES += pkt_filter_lpf.cc pkt_filter_lpf.h
42
libb10_dhcp___la_SOURCES += std_option_defs.h
43

44
45
46
libb10_dhcp___la_CXXFLAGS = $(AM_CXXFLAGS)
libb10_dhcp___la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
libb10_dhcp___la_LIBADD   = $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
47
libb10_dhcp___la_LIBADD  += $(top_builddir)/src/lib/dns/libb10-dns++.la
48
49
50
libb10_dhcp___la_LIBADD  += $(top_builddir)/src/lib/util/libb10-util.la
libb10_dhcp___la_LDFLAGS  = -no-undefined -version-info 2:0:0

51
EXTRA_DIST  = README libdhcp++.dox
52

53
if USE_CLANGPP
54
55
# Disable unused parameter warning caused by some of the
# Boost headers when compiling with clang.
56
libb10_dhcp___la_CXXFLAGS += -Wno-unused-parameter
57
endif