Allow optional hostnames on the command line for ntpq and ntpdc.
bk: 442674adt-We722lqVcUzo3ovMfNfw
### Y2Kfixes
check_PROGRAMS = @MAKE_CHECK_Y2K@
EXTRA_PROGRAMS = check_y2k ntpdsim
-run_ag = cd $(srcdir) && autogen -L $(top_srcdir)/include
+run_ag = cd $(srcdir) && autogen -L ../include
check-local: @MAKE_CHECK_Y2K@
test -z "@MAKE_CHECK_Y2K@" || ./@MAKE_CHECK_Y2K@
refclock_zyfer.c
$(srcdir)/ntpd-opts.h: ntpd-opts.c
-$(srcdir)/ntpd-opts.c: ntpd-opts.def ntpdbase-opts.def
+$(srcdir)/ntpd-opts.c: ntpd-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) ntpd-opts.def
-$(srcdir)/ntpd.1: ntpd-opts.def ntpdbase-opts.def
+$(srcdir)/ntpd.1: ntpd-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Tagman1.tpl -bntpd ntpd-opts.def
-$(srcdir)/ntpd-opts.texi $(srcdir)/ntpd-opts.menu: ntpd-opts.def
+$(srcdir)/ntpd-opts.texi $(srcdir)/ntpd-opts.menu: ntpd-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpd-opts.def
$(srcdir)/ntpdsim-opts.h: ntpdsim-opts.c
-$(srcdir)/ntpdsim-opts.c: ntpdsim-opts.def ntpdbase-opts.def
+$(srcdir)/ntpdsim-opts.c: ntpdsim-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) ntpdsim-opts.def
-$(srcdir)/ntpdsim.1: ntpdsim-opts.def ntpdbase-opts.def
+$(srcdir)/ntpdsim.1: ntpdsim-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Tagman1.tpl -bntpdsim ntpdsim-opts.def
-$(srcdir)/ntpdsim-opts.texi $(srcdir)/ntpdsim-opts.menu: ntpdsim-opts.def
+$(srcdir)/ntpdsim-opts.texi $(srcdir)/ntpdsim-opts.menu: ntpdsim-opts.def ntpdbase-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpdsim-opts.def
$(PROGRAMS): $(LDADD)
BUILT_SOURCES+= ntpdc-opts.c ntpdc-opts.h ntpdc.1 ntpdc-opts.texi \
ntpdc-opts.menu
man_MANS= ntpdc.1
-run_ag= cd $(srcdir) && autogen -L $(top_srcdir)/include
+run_ag= cd $(srcdir) && autogen -L ../include
$(srcdir)/ntpdc-opts.h: ntpdc-opts.c
-$(srcdir)/ntpdc-opts.c: ntpdc-opts.def
+$(srcdir)/ntpdc-opts.c: ntpdc-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) ntpdc-opts.def
-$(srcdir)/ntpdc.1: ntpdc-opts.def
+$(srcdir)/ntpdc.1: ntpdc-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Tagman1.tpl -bntpdc ntpdc-opts.def
-$(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu: ntpdc-opts.def
+$(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu: ntpdc-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpdc-opts.def
ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
homerc = $HOME, ".";
long-opts;
config-header = config.h;
+argument = '[ host ...]';
#ifndef __windows__
rcfile = ".ntprc";
EXTRA_DIST= ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
BUILT_SOURCES= ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
man_MANS= ntpq.1
-run_ag= cd $(srcdir) && autogen -L $(top_srcdir)/include
+run_ag= cd $(srcdir) && autogen -L ../include
ntpq_SOURCES= ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
$(srcdir)/ntpq-opts.h: ntpq-opts.c
-$(srcdir)/ntpq-opts.c: ntpq-opts.def
+$(srcdir)/ntpq-opts.c: ntpq-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) ntpq-opts.def
-$(srcdir)/ntpq.1: ntpq-opts.def
+$(srcdir)/ntpq.1: ntpq-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
-$(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu: ntpq-opts.def
+$(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu: ntpq-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
$(PROGRAMS): $(LDADD)
homerc = $HOME, ".";
long-opts;
config-header = config.h;
+argument = '[ host ...]';
#ifndef __windows__
rcfile = ".ntprc";
_EndOfDoc_;
};
+#include debug-opt.def
+
flag = {
name = peers;
value = p;
_EndOfDoc_;
};
-flag = {
- name = debug-level;
- value = d;
- max = NOLIMIT;
- descrip = "Increase output debug message level";
- doc = <<- _EndOfDoc_
- Increase the debugging message output level. Can be supplied multiple times.
- _EndOfDoc_;
-};
-
-flag = {
- name = set-debug-level;
- value = D;
- max = NOLIMIT;
- descrip = "Set the output debug message level";
- arg-type = string;
- flag-code = <<- _EOS_
- DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
- _EOS_;
- doc = <<- _EndOfDoc_
- Set the output debugging level. Can be supplied multiple times,
- but each overrides the previous value(s).
- _EndOfDoc_;
-};
-
flag = {
name = numeric;
value = n;
BUILT_SOURCES= ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
ntp-keygen-opts.texi ntp-keygen-opts.menu
man_MANS= ntp-keygen.1
-run_ag= cd $(srcdir) && autogen -L $(top_srcdir)/include
+run_ag= cd $(srcdir) && autogen -L ../include
$(srcdir)/ntp-keygen-opts.h: ntp-keygen-opts.c
-$(srcdir)/ntp-keygen-opts.c: ntp-keygen-opts.def
+$(srcdir)/ntp-keygen-opts.c: ntp-keygen-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) ntp-keygen-opts.def
-$(srcdir)/ntp-keygen.1: ntp-keygen-opts.def
+$(srcdir)/ntp-keygen.1: ntp-keygen-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Tagman1.tpl -bntp-keygen ntp-keygen-opts.def
-$(srcdir)/ntp-keygen-opts.texi $(srcdir)/ntp-keygen-opts.menu: ntp-keygen-opts.def
+$(srcdir)/ntp-keygen-opts.texi $(srcdir)/ntp-keygen-opts.menu: ntp-keygen-opts.def $(top_srcdir)/include/debug-opt.def
$(run_ag) -Taginfo.tpl -DLEVEL=section ntp-keygen-opts.def