Debian Codegraph @

doc/misc/Makefile.am

raw
1 include $(top_srcdir)/Makefile.top
2 include $(top_srcdir)/Makefile.docs
3
4 OPTIONS_FILES = \
5 rndc.grammar \
6 options \
7 primary.zoneopt \
8 secondary.zoneopt \
9 mirror.zoneopt \
10 forward.zoneopt \
11 hint.zoneopt \
12 stub.zoneopt \
13 static-stub.zoneopt \
14 redirect.zoneopt \
15 in-view.zoneopt
16
17 EXTRA_DIST = \
18 $(OPTIONS_FILES) \
19 checkgrammar.py \
20 parsegrammar.py \
21 sort-options.pl
22
23 if MAINTAINER_MODE
24
25 MAINTAINERCLEANFILES = $(OPTIONS_FILES)
26
27 noinst_PROGRAMS = cfg_test
28
29 cfg_test_CPPFLAGS = \
30 $(AM_CPPFLAGS) \
31 $(LIBISC_CFLAGS) \
32 $(LIBDNS_CFLAGS) \
33 $(LIBISCCFG_CFLAGS)
34
35 cfg_test_LDADD = \
36 $(LIBISC_LIBS) \
37 $(LIBDNS_LIBS) \
38 $(LIBISCCFG_LIBS)
39
40 BUILT_SOURCES += \
41 $(OPTIONS_FILES)
42
43 rndc.grammar: cfg_test
44 $(AM_V_CFG_TEST)$(builddir)/cfg_test --rndc --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
45
46 options: cfg_test
47 $(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
48
49 primary.zoneopt: cfg_test
50 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar primary > $@
51
52 secondary.zoneopt: cfg_test
53 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar secondary > $@
54
55 mirror.zoneopt: cfg_test
56 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar mirror > $@
57
58 forward.zoneopt: cfg_test
59 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar forward > $@
60
61 hint.zoneopt: cfg_test
62 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar hint > $@
63
64 stub.zoneopt: cfg_test
65 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar stub > $@
66
67 static-stub.zoneopt: cfg_test
68 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar static-stub > $@
69
70 redirect.zoneopt: cfg_test
71 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar redirect > $@
72
73 in-view.zoneopt: cfg_test
74 $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar in-view > $@
75
76 endif