1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- SUBDIRS = . tests
- AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
- AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
- AM_CPPFLAGS += -I$(top_srcdir)/src/lib/cc -I$(top_builddir)/src/lib/cc
- AM_CPPFLAGS += $(BOOST_INCLUDES)
- AM_CXXFLAGS = $(B10_CXXFLAGS)
- if USE_STATIC_LINK
- AM_LDFLAGS = -static
- endif
- pkglibexecdir = $(libexecdir)/@PACKAGE@
- CLEANFILES = spec_config.h dhcp6_messages.h dhcp6_messages.cc
- man_MANS = b10-dhcp6.8
- DISTCLEANFILES = $(man_MANS)
- EXTRA_DIST = $(man_MANS) b10-dhcp6.xml dhcp6.spec
- if GENERATE_DOCS
- b10-dhcp6.8: b10-dhcp6.xml
- @XSLTPROC@ --novalid --xinclude --nonet -o $@ \
- http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
- $(srcdir)/b10-dhcp6.xml
- else
- $(man_MANS):
- @echo Man generation disabled. Creating dummy $@. Configure with --enable-generate-docs to enable it.
- @echo Man generation disabled. Remove this file, configure with --enable-generate-docs, and rebuild BIND 10 > $@
- endif
- spec_config.h: spec_config.h.pre
- $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
- dhcp6_messages.h dhcp6_messages.cc: dhcp6_messages.mes
- $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/dhcp6/dhcp6_messages.mes
- BUILT_SOURCES = spec_config.h dhcp6_messages.h dhcp6_messages.cc
- pkglibexec_PROGRAMS = b10-dhcp6
- b10_dhcp6_SOURCES = main.cc
- b10_dhcp6_SOURCES += ctrl_dhcp6_srv.cc ctrl_dhcp6_srv.h
- b10_dhcp6_SOURCES += config_parser.cc config_parser.h
- b10_dhcp6_SOURCES += dhcp6_log.cc dhcp6_log.h
- b10_dhcp6_SOURCES += dhcp6_srv.cc dhcp6_srv.h
- nodist_b10_dhcp6_SOURCES = dhcp6_messages.h dhcp6_messages.cc
- EXTRA_DIST += dhcp6_messages.mes
- if USE_CLANGPP
- # Disable unused parameter warning caused by some of the
- # Boost headers when compiling with clang.
- b10_dhcp6_CXXFLAGS = -Wno-unused-parameter
- endif
- b10_dhcp6_LDADD = $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/log/libb10-log.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/dhcp/libb10-dhcp++.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/dhcp/libb10-dhcpsrv.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/config/libb10-cfgclient.la
- b10_dhcp6_LDADD += $(top_builddir)/src/lib/cc/libb10-cc.la
- b10_dhcp6dir = $(pkgdatadir)
- b10_dhcp6_DATA = dhcp6.spec
|