Makefile.am 799 Bytes
Newer Older
1
2
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
3
AM_CPPFLAGS += $(BOOST_INCLUDES)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
4

5
6
AM_CXXFLAGS = $(B10_CXXFLAGS)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
7
8
9
10
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif

11
12
CLEANFILES = *.gcno *.gcda

13
14
15
bin_PROGRAMS = b10-host
b10_host_SOURCES = host.cc
b10_host_LDADD = $(top_builddir)/src/lib/dns/libdns++.la
16
b10_host_LDADD += $(top_builddir)/src/lib/util/libb10-util.la
17
b10_host_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
18

19
20
21
22
23
24
25
26
27
28
29
30
man_MANS = b10-host.1
EXTRA_DIST = $(man_MANS) b10-host.xml

.PHONY: man
if ENABLE_MAN

man: b10-host.1

b10-host.1: b10-host.xml
	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-host.xml

endif