Makefile.am 1.02 KB
Newer Older
1
SUBDIRS = . tests
2

Michal Vaner's avatar
Michal Vaner committed
3 4 5 6 7 8 9 10 11 12
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib

AM_CXXFLAGS = $(B10_CXXFLAGS)

if USE_STATIC_LINK
AM_LDFLAGS = -static
endif

pkglibexecdir = $(libexecdir)/@PACKAGE@

13 14
CLEANFILES = *.gcno *.gcda

15
man_MANS = b10-sockcreator.8
16
DISTCLEANFILES = $(man_MANS)
17 18
EXTRA_DIST = $(man_MANS) b10-sockcreator.xml

19
if GENERATE_DOCS
20 21

b10-sockcreator.8: b10-sockcreator.xml
22
	@XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-sockcreator.xml
23

24 25 26
else

$(man_MANS):
27 28
	@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 > $@
29

30 31
endif

32 33
pkglibexec_PROGRAMS = b10-sockcreator

34
b10_sockcreator_SOURCES = sockcreator.cc sockcreator.h main.cc
35 36
b10_sockcreator_LDADD  = $(top_builddir)/src/lib/util/io/libkea-util-io.la
b10_sockcreator_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la