CLEANFILES = $(abs_top_builddir)/logger_lockfile
+# config.h may be included by headers supplied for building user-written
+# hooks libraries, so we need to include it in the distribution.
+pkginclude_HEADERS = config.h
+
if HAVE_GTEST_SOURCE
noinst_LIBRARIES = libgtest.a
libgtest_a_CXXFLAGS = $(GTEST_INCLUDES) $(AM_CXXFLAGS)
EXTRA_DIST = README libdhcp++.dox
+# Specify the headers for copying into the installation directory tree. User-
+# written libraries may need access to all libdhcp++ headers.
+libb10_dhcp___includedir = $(pkgincludedir)/dhcp
+libb10_dhcp___include_HEADERS = \
+ dhcp4.h \
+ dhcp6.h \
+ duid.h \
+ hwaddr.h \
+ iface_mgr.h \
+ libdhcp++.h \
+ option.h \
+ option4_addrlst.h \
+ option6_addrlst.h \
+ option6_ia.h \
+ option6_iaaddr.h \
+ option_custom.h \
+ option_data_types.h \
+ option_definition.h \
+ option_int.h \
+ option_int_array.h \
+ option_space.h \
+ option_string.h \
+ pkt4.h \
+ pkt6.h \
+ pkt_filter.h \
+ pkt_filter_inet.h \
+ pkt_filter_lpf.h \
+ protocol_util.h \
+ std_option_defs.h
+
if USE_CLANGPP
# Disable unused parameter warning caused by some of the
# Boost headers when compiling with clang.
libb10_hooks_la_LIBADD += $(top_builddir)/src/lib/util/libb10-util.la
libb10_hooks_la_LIBADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
+# Specify the headers for copying into the installation directory tree. User-
+# written libraries only need the definitions from the headers for the
+# CalloutHandle and LibraryHandle objects.
+libb10_hooks_includedir = $(pkgincludedir)/hooks
+libb10_hooks_include_HEADERS = \
+ callout_handle.h \
+ library_handle.h
if USE_CLANGPP
# Disable unused parameter warning caused by some of the
libb10_log_la_LIBADD += interprocess/libb10-log_interprocess.la
libb10_log_la_LIBADD += $(LOG4CPLUS_LIBS)
libb10_log_la_LDFLAGS = -no-undefined -version-info 1:0:0
+
+# Specify the headers for copying into the installation directory tree. User-
+# written libraries only need the definitions for logger.h and dependencies.
+libb10_log_includedir = $(pkgincludedir)/log
+libb10_log_include_HEADERS = \
+ log_formatter.h \
+ logger.h \
+ logger_level.h \
+ macros.h \
+ message_types.h
+
CLEANFILES = *.gcno *.gcda
-noinst_PROGRAMS = message
+bin_PROGRAMS = message
message_SOURCES = message.cc
message_LDADD = $(top_builddir)/src/lib/log/libb10-log.la