1NULL= 2SUBDIRS= \ 3 build \ 4 calc_tickadj \ 5 ntp-wait \ 6 ntpsweep \ 7 ntptrace \ 8 lib \ 9 update-leap \ 10 $(NULL) 11 12man1_MANS= 13man8_MANS= 14 15DISTCLEANFILES= config.log $(man_MANS) 16 17run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" AUTOGEN_DNE_DATE=-D \ 18 autogen -L ../sntp/include -L ../sntp/ag-tpl --writable 19std_def_list = \ 20 $(top_srcdir)/sntp/include/debug-opt.def \ 21 $(top_srcdir)/sntp/include/autogen-version.def \ 22 $(top_srcdir)/sntp/include/copyright.def \ 23 $(top_srcdir)/sntp/include/homerc.def \ 24 $(top_srcdir)/sntp/include/ntp.lic \ 25 $(top_srcdir)/sntp/include/version.def \ 26 $(NULL) 27 28noinst_SCRIPTS = \ 29 ntpver \ 30 plot_summary \ 31 summary \ 32 $(NULL) 33 34install-data-local: install-html 35 36EXTRA_DIST = \ 37 deprecated \ 38 monitoring \ 39 invoke-plot_summary.texi \ 40 invoke-plot_summary.menu \ 41 plot_summary.1plot_summaryman \ 42 plot_summary.1plot_summarymdoc \ 43 plot_summary.mdoc.in \ 44 plot_summary.man.in \ 45 plot_summary.texi \ 46 plot_summary.html \ 47 plot_summary-opts \ 48 plot_summary-opts.def \ 49 rc \ 50 invoke-summary.texi \ 51 invoke-summary.menu \ 52 summary.1summaryman \ 53 summary.1summarymdoc \ 54 summary.mdoc.in \ 55 summary.man.in \ 56 summary.texi \ 57 summary.html \ 58 summary-opts \ 59 summary-opts.def \ 60 stats \ 61 $(NULL) 62 63noinst_DATA = \ 64 invoke-plot_summary.texi \ 65 invoke-plot_summary.menu \ 66 plot_summary.1plot_summaryman \ 67 plot_summary.1plot_summarymdoc \ 68 plot_summary.mdoc.in \ 69 plot_summary.man.in \ 70 plot_summary.texi \ 71 plot_summary.html \ 72 invoke-summary.texi \ 73 invoke-summary.menu \ 74 summary.1summaryman \ 75 summary.1summarymdoc \ 76 summary.mdoc.in \ 77 summary.man.in \ 78 summary.texi \ 79 summary.html \ 80 $(NULL) 81 82#OPTTPL = ../sntp/ag-tpl/perlopt.tpl 83OPTTPL = $(std_def_list) 84 85## 86 87plot_summary: $(srcdir)/plot_summary-opts 88 89$(srcdir)/plot_summary-opts: plot_summary-opts.def $(OPTTPL) 90 $(run_ag) plot_summary-opts.def 91 92### Nroff 93 94$(srcdir)/plot_summary.1plot_summaryman: $(srcdir)/plot_summary-opts.def $(std_def_list) 95 $(run_ag) -DMAN_SECTION=1plot_summaryman -Tagman-cmd.tpl plot_summary-opts.def 96 97$(srcdir)/plot_summary.man.in: $(srcdir)/plot_summary.1plot_summaryman $(top_srcdir)/sntp/scripts/mansec2subst.sed 98 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/plot_summary.1plot_summaryman > $(srcdir)/plot_summary.man.in+ 99 mv $(srcdir)/plot_summary.man.in+ $(srcdir)/plot_summary.man.in 100 101### Mdoc 102 103$(srcdir)/plot_summary.1plot_summarymdoc: $(srcdir)/plot_summary-opts.def $(std_def_list) 104 $(run_ag) -DMAN_SECTION=1plot_summarymdoc -Tagmdoc-cmd.tpl plot_summary-opts.def 105 106$(srcdir)/plot_summary.mdoc.in: $(srcdir)/plot_summary.1plot_summarymdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed 107 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/plot_summary.1plot_summarymdoc > $(srcdir)/plot_summary.mdoc.in+ 108 mv $(srcdir)/plot_summary.mdoc.in+ $(srcdir)/plot_summary.mdoc.in 109 110### Manpage (local) 111 112plot_summary.1: $(srcdir)/plot_summary.$(MANTAGFMT).in $(top_builddir)/config.status 113 $(top_builddir)/config.status --file=plot_summary.1+:$(srcdir)/plot_summary.$(MANTAGFMT).in 114 mv plot_summary.1+ plot_summary.1 115 116### Texinfo 117 118$(srcdir)/invoke-plot_summary.menu: $(srcdir)/invoke-plot_summary.texi 119 @: do-nothing action to avoid default SCCS get, .menu built with .texi 120 121$(srcdir)/invoke-plot_summary.texi: plot_summary-opts $(srcdir)/plot_summary-opts.def $(std_def_list) 122 $(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section plot_summary-opts.def 123 $(top_srcdir)/scripts/build/check--help $@ 124 125### HTML 126 127$(srcdir)/plot_summary.html: $(srcdir)/invoke-plot_summary.menu $(srcdir)/invoke-plot_summary.texi $(srcdir)/plot_summary.texi $(top_srcdir)/sntp/include/version.texi 128 cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o plot_summary.html plot_summary.texi || true ) 129 130 131## 132 133summary: $(srcdir)/summary-opts 134 135$(srcdir)/summary-opts: summary-opts.def $(OPTTPL) 136 $(run_ag) summary-opts.def 137 138### Nroff 139 140$(srcdir)/summary.1summaryman: $(srcdir)/summary-opts.def $(std_def_list) 141 $(run_ag) -DMAN_SECTION=1summaryman -Tagman-cmd.tpl summary-opts.def 142 143$(srcdir)/summary.man.in: $(srcdir)/summary.1summaryman $(top_srcdir)/sntp/scripts/mansec2subst.sed 144 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/summary.1summaryman > $(srcdir)/summary.man.in+ 145 mv $(srcdir)/summary.man.in+ $(srcdir)/summary.man.in 146 147### Mdoc 148 149$(srcdir)/summary.1summarymdoc: $(srcdir)/summary-opts.def $(std_def_list) 150 $(run_ag) -DMAN_SECTION=1summarymdoc -Tagmdoc-cmd.tpl summary-opts.def 151 152$(srcdir)/summary.mdoc.in: $(srcdir)/summary.1summarymdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed 153 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/summary.1summarymdoc > $(srcdir)/summary.mdoc.in+ 154 mv $(srcdir)/summary.mdoc.in+ $(srcdir)/summary.mdoc.in 155 156### Manpage (local) 157 158summary.1: $(srcdir)/summary.$(MANTAGFMT).in $(top_builddir)/config.status 159 $(top_builddir)/config.status --file=summary.1+:$(srcdir)/summary.$(MANTAGFMT).in 160 mv summary.1+ summary.1 161 162### Texinfo 163 164$(srcdir)/invoke-summary.menu: $(srcdir)/invoke-summary.texi 165 @: do-nothing action to avoid default SCCS get, .menu built with .texi 166 167$(srcdir)/invoke-summary.texi: summary-opts $(srcdir)/summary-opts.def $(std_def_list) 168 $(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section summary-opts.def 169 $(top_srcdir)/scripts/build/check--help $@ 170 171### HTML 172 173$(srcdir)/summary.html: $(srcdir)/invoke-summary.menu $(srcdir)/invoke-summary.texi $(srcdir)/summary.texi $(top_srcdir)/sntp/include/version.texi 174 cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o summary.html summary.texi || true ) 175 176