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

Michal Vaner's avatar
Michal Vaner committed
3 4
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib

5
AM_CXXFLAGS = $(KEA_CXXFLAGS)
Michal Vaner's avatar
Michal Vaner committed
6 7 8 9 10 11 12

if USE_STATIC_LINK
AM_LDFLAGS = -static
endif

pkglibexecdir = $(libexecdir)/@PACKAGE@

13 14
CLEANFILES = *.gcno *.gcda

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

19
if GENERATE_DOCS
20

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

24 25 26
else

$(man_MANS):
27
	@echo Man generation disabled.  Creating dummy $@.  Configure with --enable-generate-docs to enable it.
28
	@echo Man generation disabled.  Remove this file, configure with --enable-generate-docs, and rebuild Kea > $@
29

30 31
endif

32
pkglibexec_PROGRAMS = kea-sockcreator
33

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