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