]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1870] moved src/bin/host under example/
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 28 Sep 2012 23:37:47 +0000 (16:37 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 11 Oct 2012 17:04:30 +0000 (10:04 -0700)
(at least for now) there's no way to transform xml doc to other formats.
only xml is provided for reference.

examples/host/.gitignore [moved from src/bin/host/.gitignore with 100% similarity]
examples/host/Makefile.am [new file with mode: 0644]
examples/host/README [moved from src/bin/host/README with 100% similarity]
examples/host/b10-host.xml [moved from src/bin/host/b10-host.xml with 100% similarity]
examples/host/host.cc [moved from src/bin/host/host.cc with 100% similarity]
src/bin/Makefile.am
src/bin/host/Makefile.am [deleted file]

diff --git a/examples/host/Makefile.am b/examples/host/Makefile.am
new file mode 100644 (file)
index 0000000..79d6f35
--- /dev/null
@@ -0,0 +1,6 @@
+AM_CPPFLAGS = $(BOOST_INCLUDES) $(BIND10_INCLUDES)
+
+bin_PROGRAMS = b10-host
+b10_host_SOURCES = host.cc
+b10_host_LDFLAGS = ${BIND10_LDFLAGS}
+b10_host_LDADD = ${BIND10_LDADD}
similarity index 100%
rename from src/bin/host/README
rename to examples/host/README
similarity index 100%
rename from src/bin/host/host.cc
rename to examples/host/host.cc
index 7af44f9b8f5959f060a1ccadef06f946932086b4..0b4c1ae796e0cc8f59c00fcd61470bc97336b1b3 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = bind10 bindctl cfgmgr ddns loadzone msgq host cmdctl auth xfrin \
+SUBDIRS = bind10 bindctl cfgmgr ddns loadzone msgq cmdctl auth xfrin \
        xfrout usermgr zonemgr stats tests resolver sockcreator dhcp4 dhcp6 \
        dbutil sysinfo
 
diff --git a/src/bin/host/Makefile.am b/src/bin/host/Makefile.am
deleted file mode 100644 (file)
index 42ef954..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-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
-AM_CPPFLAGS += $(BOOST_INCLUDES)
-
-AM_CXXFLAGS = $(B10_CXXFLAGS)
-
-if USE_STATIC_LINK
-AM_LDFLAGS = -static
-endif
-
-CLEANFILES = *.gcno *.gcda
-
-bin_PROGRAMS = b10-host
-b10_host_SOURCES = host.cc
-b10_host_LDADD = $(top_builddir)/src/lib/dns/libb10-dns++.la
-b10_host_LDADD += $(top_builddir)/src/lib/util/libb10-util.la
-b10_host_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
-
-man_MANS = b10-host.1
-DISTCLEANFILES = $(man_MANS)
-EXTRA_DIST = $(man_MANS) b10-host.xml
-
-.PHONY: man
-if GENERATE_DOCS
-
-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
-
-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