summaryrefslogtreecommitdiffstats
path: root/doc/misc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:59:48 +0000
commit3b9b6d0b8e7f798023c9d109c490449d528fde80 (patch)
tree2e1c188dd7b8d7475cd163de9ae02c428343669b /doc/misc/Makefile.am
parentInitial commit. (diff)
downloadbind9-3b9b6d0b8e7f798023c9d109c490449d528fde80.tar.xz
bind9-3b9b6d0b8e7f798023c9d109c490449d528fde80.zip
Adding upstream version 1:9.18.19.upstream/1%9.18.19upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/misc/Makefile.am')
-rw-r--r--doc/misc/Makefile.am80
1 files changed, 80 insertions, 0 deletions
diff --git a/doc/misc/Makefile.am b/doc/misc/Makefile.am
new file mode 100644
index 0000000..8d7c80d
--- /dev/null
+++ b/doc/misc/Makefile.am
@@ -0,0 +1,80 @@
+include $(top_srcdir)/Makefile.top
+include $(top_srcdir)/Makefile.docs
+
+OPTIONS_FILES = \
+ rndc.grammar \
+ options \
+ primary.zoneopt \
+ secondary.zoneopt \
+ mirror.zoneopt \
+ forward.zoneopt \
+ hint.zoneopt \
+ stub.zoneopt \
+ static-stub.zoneopt \
+ redirect.zoneopt \
+ delegation-only.zoneopt \
+ in-view.zoneopt
+
+EXTRA_DIST = \
+ $(OPTIONS_FILES) \
+ checkgrammar.py \
+ parsegrammar.py \
+ sort-options.pl
+
+if MAINTAINER_MODE
+
+MAINTAINERCLEANFILES = $(OPTIONS_FILES)
+
+noinst_PROGRAMS = cfg_test
+
+cfg_test_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(LIBISC_CFLAGS) \
+ $(LIBDNS_CFLAGS) \
+ $(LIBISCCFG_CFLAGS)
+
+cfg_test_LDADD = \
+ $(LIBISC_LIBS) \
+ $(LIBDNS_LIBS) \
+ $(LIBISCCFG_LIBS)
+
+BUILT_SOURCES = \
+ $(OPTIONS_FILES)
+
+rndc.grammar: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --rndc --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
+
+options: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
+
+primary.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar primary > $@
+
+secondary.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar secondary > $@
+
+mirror.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar mirror > $@
+
+forward.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar forward > $@
+
+hint.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar hint > $@
+
+stub.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar stub > $@
+
+static-stub.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar static-stub > $@
+
+redirect.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar redirect > $@
+
+delegation-only.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar delegation-only > $@
+
+in-view.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar in-view > $@
+
+endif