Makefile.am 1.09 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
SUBDIRS = . tests

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

CLEANFILES = *.gcno *.gcda

lib_LTLIBRARIES = libdhcp.la
libdhcp_la_SOURCES  =
libdhcp_la_SOURCES += libdhcp.cc libdhcp.h
13
libdhcp_la_SOURCES += option.cc option.h
14
15
libdhcp_la_SOURCES += option6_ia.cc option6_ia.h
libdhcp_la_SOURCES += option6_iaaddr.cc option6_iaaddr.h
16
libdhcp_la_SOURCES += option6_addrlst.cc option6_addrlst.h
17
18
19
20
libdhcp_la_SOURCES += dhcp6.h
libdhcp_la_SOURCES += pkt6.cc pkt6.h

EXTRA_DIST  = README
Tomek Mrugalski's avatar
Tomek Mrugalski committed
21
#EXTRA_DIST += log_messages.mes
22
23
24
25
26
27
28
29
30
31
32
33
34
35

# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
# B10_CXXFLAGS)
libdhcp_la_CXXFLAGS = $(AM_CXXFLAGS)
if USE_GXX
libdhcp_la_CXXFLAGS += -Wall
endif
if USE_CLANGPP
# Same for clang++, but we need to turn off -Werror completely.
libdhcp_la_CXXFLAGS += -Wall
endif
libdhcp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
libdhcp_la_LDFLAGS  = $(LOG4CPLUS_LDFLAGS)
libdhcp_la_LIBADD   = $(top_builddir)/src/lib/util/libutil.la