Virgin import of ntpd 4.1.1a
This commit is contained in:
parent
224ba2bd37
commit
ce265a549d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/ntp/dist/; revision=106163
@ -169,5 +169,5 @@ References
|
||||
50. mailto:tsuruoka@nc.fukuoka-u.ac.jp
|
||||
51. mailto:vixie@vix.com
|
||||
52. mailto:Ulrich.Windl@rz.uni-regensburg.de
|
||||
53. file://localhost/backroom/ntp4/html/index.htm
|
||||
53. file://localhost/backroom/ntp-stable/html/index.htm
|
||||
54. mailto:mills@udel.edu
|
||||
|
File diff suppressed because it is too large
Load Diff
6152
contrib/ntp/ChangeLog-4.1.0
Normal file
6152
contrib/ntp/ChangeLog-4.1.0
Normal file
File diff suppressed because it is too large
Load Diff
@ -22,12 +22,15 @@ SUBDIRS = \
|
||||
EXTRA_DIST = \
|
||||
COPYRIGHT \
|
||||
ChangeLog \
|
||||
ChangeLog-4.1.0 \
|
||||
NEWS \
|
||||
NOTES.y2kfixes \
|
||||
README.bk \
|
||||
README.cvs \
|
||||
README.des \
|
||||
README.hackers \
|
||||
README.rsa \
|
||||
README.versions \
|
||||
TODO \
|
||||
WHERE-TO-START \
|
||||
acconfig.h \
|
||||
@ -44,7 +47,8 @@ EXTRA_DIST = \
|
||||
results.y2kfixes \
|
||||
conf \
|
||||
html \
|
||||
ports
|
||||
ports \
|
||||
version
|
||||
|
||||
DISTCLEANFILES = .warning
|
||||
|
||||
@ -54,15 +58,40 @@ ETAGS_ARGS = Makefile.am configure.in acconfig.h
|
||||
# HMS: make ports be the last directory...
|
||||
# DIST_HOOK_DIRS = conf html scripts ports
|
||||
|
||||
BUILT_SOURCES = $(srcdir)/COPYRIGHT
|
||||
# HMS: Keep .warning first, as that way it gets printed first.
|
||||
BUILT_SOURCES = .warning $(srcdir)/COPYRIGHT $(srcdir)/version
|
||||
|
||||
$(srcdir)/COPYRIGHT: html/copyright.htm
|
||||
( echo "This file is automatically generated from html/copyright.htm" ; lynx -dump $(srcdir)/html/copyright.htm ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
|
||||
|
||||
# HMS: The next bit is still suboptimal. If bk is present but this NTP
|
||||
# repo is not a bk repo, we'll get an error message from the prs command.
|
||||
# Unfortunately, I haven't found the necessary magic to redirect this error
|
||||
# output to /dev/null under ancient/unique shells like the one Ultrix uses.
|
||||
# We'll also get an error of srcdir or version is unwritable.
|
||||
$(srcdir)/version: FRC.version
|
||||
-(bk version) >/dev/null 2>&1 && \
|
||||
cd $(srcdir) && \
|
||||
x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
|
||||
case "$$x" in '') ;; *) echo $$x > version ;; esac
|
||||
|
||||
dist-hook:
|
||||
@find $(distdir) -type d -name CVS -print | xargs rm -rf
|
||||
@find $(distdir) -type d -name SCCS -print | xargs rm -rf
|
||||
|
||||
Makefile: .warning
|
||||
.warning:
|
||||
@echo "Compiling with GCC now generates lots of new warnings."
|
||||
@echo " "
|
||||
@echo "Don't be concerned. They're just warnings."
|
||||
@echo " "
|
||||
@echo "Don't send bug reports about the warnings, either."
|
||||
@echo " "
|
||||
@echo "Feel free to send patches that fix these warnings, though."
|
||||
@echo " "
|
||||
@sleep 1
|
||||
@touch .warning
|
||||
|
||||
# HMS: The following seems to be a work-in-progress...
|
||||
|
||||
CVO=`$(srcdir)/config.guess`
|
||||
|
||||
@ -87,18 +116,7 @@ BHOST=`(hostname || uname -n)`
|
||||
echo " "; \
|
||||
fi
|
||||
|
||||
.warning:
|
||||
@echo "Compiling with GCC now generates lots of new warnings."
|
||||
@echo " "
|
||||
@echo "Don't be concerned. They're just warnings."
|
||||
@echo " "
|
||||
@echo "Don't send bug reports about the warnings, either."
|
||||
@echo " "
|
||||
@echo "Feel free to send patches that fix these warnings, though."
|
||||
@echo " "
|
||||
@sleep 1
|
||||
@touch .warning
|
||||
FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
|
||||
|
||||
FRC.distwarn FRC.checkcvo FRC.checkhost:
|
||||
|
||||
dot.emacs: FRC.distwarn
|
||||
# HMS: what was I trying to do with this?
|
||||
#dot.emacs: FRC.distwarn
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = .
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = util/ansi2knr foreign
|
||||
|
||||
SUBDIRS = \
|
||||
@ -141,12 +135,15 @@ SUBDIRS = \
|
||||
EXTRA_DIST = \
|
||||
COPYRIGHT \
|
||||
ChangeLog \
|
||||
ChangeLog-4.1.0 \
|
||||
NEWS \
|
||||
NOTES.y2kfixes \
|
||||
README.bk \
|
||||
README.cvs \
|
||||
README.des \
|
||||
README.hackers \
|
||||
README.rsa \
|
||||
README.versions \
|
||||
TODO \
|
||||
WHERE-TO-START \
|
||||
acconfig.h \
|
||||
@ -163,7 +160,8 @@ EXTRA_DIST = \
|
||||
results.y2kfixes \
|
||||
conf \
|
||||
html \
|
||||
ports
|
||||
ports \
|
||||
version
|
||||
|
||||
|
||||
DISTCLEANFILES = .warning
|
||||
@ -174,41 +172,49 @@ ETAGS_ARGS = Makefile.am configure.in acconfig.h
|
||||
# HMS: make ports be the last directory...
|
||||
# DIST_HOOK_DIRS = conf html scripts ports
|
||||
|
||||
BUILT_SOURCES = $(srcdir)/COPYRIGHT
|
||||
# HMS: Keep .warning first, as that way it gets printed first.
|
||||
BUILT_SOURCES = .warning $(srcdir)/COPYRIGHT $(srcdir)/version
|
||||
|
||||
|
||||
# HMS: The following seems to be a work-in-progress...
|
||||
CVO = `$(srcdir)/config.guess`
|
||||
|
||||
BHOST = `(hostname || uname -n)`
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = README ./stamp-h.in ChangeLog INSTALL Makefile.am \
|
||||
Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 config.guess \
|
||||
config.h.in config.sub configure configure.in depcomp install-sh \
|
||||
missing mkinstalldirs
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||
uninstall-info-recursive all-recursive install-data-recursive \
|
||||
install-exec-recursive installdirs-recursive install-recursive \
|
||||
uninstall-recursive check-recursive installcheck-recursive
|
||||
DIST_COMMON = README ./stamp-h.in ChangeLog INSTALL Makefile.am \
|
||||
Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 \
|
||||
config.guess config.h.in config.sub configure configure.in \
|
||||
depcomp install-sh missing mkinstalldirs
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
all: $(BUILT_SOURCES) config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
$(ACLOCAL_M4): configure.in acinclude.m4
|
||||
cd $(srcdir) && $(ACLOCAL)
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$@ $(SHELL) ./config.status
|
||||
|
||||
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
$(ACLOCAL_M4): configure.in acinclude.m4
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
config.h: stamp-h
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h; \
|
||||
@ -221,12 +227,12 @@ stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
||||
$(SHELL) ./config.status
|
||||
@mv stamp-hT stamp-h
|
||||
$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
|
||||
$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
|
||||
@if test ! -f $@; then \
|
||||
rm -f $(srcdir)/./stamp-h.in; \
|
||||
$(MAKE) $(srcdir)/./stamp-h.in; \
|
||||
else :; fi
|
||||
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
||||
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
|
||||
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
|
||||
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
@ -234,6 +240,7 @@ $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
@ -241,10 +248,7 @@ distclean-hdr:
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
install-info-recursive uninstall-info-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
@ -309,9 +313,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
@ -325,15 +329,16 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = .
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
# Avoid unsightly `./'.
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
|
||||
GZIP_ENV = --best
|
||||
|
||||
@ -342,7 +347,11 @@ distdir: $(DISTFILES)
|
||||
mkdir $(distdir)
|
||||
$(mkinstalldirs) $(distdir)/scripts
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -376,6 +385,7 @@ distdir: $(DISTFILES)
|
||||
dist: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
@ -395,7 +405,9 @@ distcheck: dist
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||
|| (echo "Error: files left after uninstall" 1>&2; \
|
||||
exit 1) ) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||
&& rm -f $(distdir).tar.gz \
|
||||
@ -408,7 +420,6 @@ distcheck: dist
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
|
||||
@ -421,41 +432,38 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
dist-all: dist
|
||||
|
||||
dist-all: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||
distclean: distclean-recursive
|
||||
-rm -f config.status
|
||||
|
||||
-rm -f config.status config.cache config.log
|
||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
@ -463,14 +471,13 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f config.status
|
||||
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
@ -478,29 +485,55 @@ mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
.PHONY: all all-am all-recursive check check-am check-recursive clean \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||
clean-generic clean-recursive dist dist-all distcheck distclean \
|
||||
distclean-generic distclean-hdr distclean-recursive \
|
||||
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
|
||||
info-recursive install install-am install-data install-data-am \
|
||||
install-data-recursive install-exec install-exec-am \
|
||||
install-exec-recursive install-info install-info-recursive \
|
||||
install-man install-recursive install-strip installcheck \
|
||||
installcheck-am installcheck-recursive installdirs \
|
||||
install-exec-recursive install-info install-info-am \
|
||||
install-info-recursive install-man install-recursive \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am installdirs-recursive maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
|
||||
uninstall uninstall-am uninstall-info-recursive \
|
||||
uninstall-recursive
|
||||
uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-info-recursive uninstall-recursive
|
||||
|
||||
|
||||
$(srcdir)/COPYRIGHT: html/copyright.htm
|
||||
( echo "This file is automatically generated from html/copyright.htm" ; lynx -dump $(srcdir)/html/copyright.htm ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
|
||||
|
||||
# HMS: The next bit is still suboptimal. If bk is present but this NTP
|
||||
# repo is not a bk repo, we'll get an error message from the prs command.
|
||||
# Unfortunately, I haven't found the necessary magic to redirect this error
|
||||
# output to /dev/null under ancient/unique shells like the one Ultrix uses.
|
||||
# We'll also get an error of srcdir or version is unwritable.
|
||||
$(srcdir)/version: FRC.version
|
||||
-(bk version) >/dev/null 2>&1 && \
|
||||
cd $(srcdir) && \
|
||||
x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
|
||||
case "$$x" in '') ;; *) echo $$x > version ;; esac
|
||||
|
||||
dist-hook:
|
||||
@find $(distdir) -type d -name CVS -print | xargs rm -rf
|
||||
@find $(distdir) -type d -name SCCS -print | xargs rm -rf
|
||||
|
||||
Makefile: .warning
|
||||
.warning:
|
||||
@echo "Compiling with GCC now generates lots of new warnings."
|
||||
@echo " "
|
||||
@echo "Don't be concerned. They're just warnings."
|
||||
@echo " "
|
||||
@echo "Don't send bug reports about the warnings, either."
|
||||
@echo " "
|
||||
@echo "Feel free to send patches that fix these warnings, though."
|
||||
@echo " "
|
||||
@sleep 1
|
||||
@touch .warning
|
||||
|
||||
.buildcvo:
|
||||
echo "$(CVO)" > .buildcvo
|
||||
@ -521,22 +554,10 @@ Makefile: .warning
|
||||
echo " "; \
|
||||
fi
|
||||
|
||||
.warning:
|
||||
@echo "Compiling with GCC now generates lots of new warnings."
|
||||
@echo " "
|
||||
@echo "Don't be concerned. They're just warnings."
|
||||
@echo " "
|
||||
@echo "Don't send bug reports about the warnings, either."
|
||||
@echo " "
|
||||
@echo "Feel free to send patches that fix these warnings, though."
|
||||
@echo " "
|
||||
@sleep 1
|
||||
@touch .warning
|
||||
|
||||
FRC.distwarn FRC.checkcvo FRC.checkhost:
|
||||
|
||||
dot.emacs: FRC.distwarn
|
||||
FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
|
||||
|
||||
# HMS: what was I trying to do with this?
|
||||
#dot.emacs: FRC.distwarn
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,3 +1,19 @@
|
||||
--
|
||||
* Lose the source port check on incoming packets
|
||||
* (x)ntpdc compatibility patch
|
||||
* Virtual IP improvements
|
||||
* ntp_loopfilter fixes and improvements
|
||||
* ntpdc improvements
|
||||
* GOES refclock fix
|
||||
* JJY driver
|
||||
* bsdi port fixes
|
||||
* HP MPE/iX port
|
||||
* Win/NT port upgrade
|
||||
* Dynix PTX port fixes
|
||||
* Document conversion from CVS to BK
|
||||
* readline support for ntpq
|
||||
(4.1.0)
|
||||
* CERT problem fixed (99k23)
|
||||
* Huff-n-Puff filter
|
||||
* Preparation for OpenSSL support
|
||||
* Resolver changes/improvements are not backward compatible with mode 7
|
||||
|
62
contrib/ntp/README.bk
Normal file
62
contrib/ntp/README.bk
Normal file
@ -0,0 +1,62 @@
|
||||
In order to use the BitKeeper repository version of NTP you will have
|
||||
to have the following tools installed:
|
||||
|
||||
autoconf 2.50 or later (we use 2.52)
|
||||
automake (we use 1.5)
|
||||
lynx
|
||||
|
||||
Lynx is used to generate the COPYRIGHT file. Don't ask.
|
||||
|
||||
You can get bitkeeper by visiting:
|
||||
|
||||
http://www.bitkeeper.com/
|
||||
|
||||
We are using bitkeeper under their free license program. You can use
|
||||
bitkeeper for free to access NTP, too. If you have questions about this,
|
||||
please ask. The license is pretty easy to read.
|
||||
|
||||
Once you have installed bitkeeper, you can clone any NTP repository.
|
||||
|
||||
You can get the ntp-stable repository by either of the following commands:
|
||||
|
||||
bk clone bk://www.ntp.org/home/bk/ntp-stable ntp-stable
|
||||
|
||||
bk clone bk://ntp.bkserver.net/ntp-stable ntp-stable
|
||||
|
||||
You can get the ntp-dev repository by either of the following commands:
|
||||
|
||||
bk clone bk://www.ntp.org/home/bk/ntp-dev ntp-dev
|
||||
|
||||
bk clone bk://ntp.bkserver.net/ntp-dev ntp-dev
|
||||
|
||||
The IPV6 patch has been applied:
|
||||
|
||||
bk clone bk://www.ntp.org/home/bk/ntp-dev-ipv6 ntp-dev-ipv6
|
||||
|
||||
bk clone bk://ntp.bkserver.net/ntp-dev-ipv6 ntp-dev-ipv6
|
||||
|
||||
The ntp-dev-ipv6 repository will be merged back in to the ntp-dev repo
|
||||
as soon as the code is stable.
|
||||
|
||||
If you are stuck behind a firewall that blocks access to the default port
|
||||
used by bitkeeper (14690) but you can use port 80 instead, you can use
|
||||
http as a bk transport mechanism. Just use:
|
||||
|
||||
bk clone http://ntp.bkserver.net/REPO REPO
|
||||
|
||||
Finally, it's possible to use SMTP as a bk transport mechanism. So far, we
|
||||
haven't tried this.
|
||||
|
||||
Once you have obtained the sources, do the following:
|
||||
|
||||
cd REPO
|
||||
bk -r edit to check out the files
|
||||
autoreconf -f -i generates configure and Makefile.in's
|
||||
|
||||
and you should be ready to go. You will get some warning messages from
|
||||
autoreconf. Ignore these messages.
|
||||
|
||||
You can update your repository by incanting:
|
||||
|
||||
cd REPO
|
||||
bk pull
|
@ -1,3 +1,7 @@
|
||||
|
||||
NOTE: The CVS repository for NTP is inactive. NTP is now maintained
|
||||
using BitKeeper; see README.bk for more info.
|
||||
|
||||
To get the NTP distribution via anonymous CVS:
|
||||
|
||||
% cvs -d :pserver:anoncvs@www.ntp.org:/cvs/ntp login
|
||||
|
@ -10,13 +10,11 @@ end of this file.
|
||||
|
||||
When you run configure, the Right Thing will happen.
|
||||
|
||||
Be advised that the RSA DES code is not quite as portable os one might
|
||||
Be advised that the RSA DES code is not quite as portable is one might
|
||||
wish for. In particular, DES under NTP will only work between machines
|
||||
of the same "endianness".
|
||||
|
||||
Dave would prefer that new/alternative encryption schemes follow the
|
||||
RSA API.
|
||||
|
||||
Note that the next release of NTP uses OpenSSL instead of RSAREF.
|
||||
|
||||
--- rsa.c.orig Fri Mar 25 14:01:48 1994
|
||||
+++ rsaref2/source/rsa.c Mon Dec 13 13:10:28 1999
|
||||
|
35
contrib/ntp/README.versions
Normal file
35
contrib/ntp/README.versions
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
NTP uses A.B.C - style release numbers.
|
||||
|
||||
The third (C) part of the version number can be:
|
||||
|
||||
0-69 for patches/bugfixes to the A.B.C series.
|
||||
70-79 for alpha releases of the A.B+1.0 series.
|
||||
80+ for beta releases of the A.B+1.0 series.
|
||||
|
||||
At the moment:
|
||||
|
||||
A is 4, for ntp V4.
|
||||
B is the minor release number.
|
||||
C is the patch/bugfix number, and may have extra cruft in it.
|
||||
|
||||
Any extra cruft in the C portion of the number indicates an "interim" release.
|
||||
|
||||
Interim releases almost always have a C portion consisting of a number
|
||||
followed by an increasing letter, optionally followed by -rcX, where X
|
||||
is an increasing number. The -rcX indicates a "release candidate".
|
||||
|
||||
Here are some recent versions numbers as an example:
|
||||
|
||||
4.1.0 A production release (from the ntp-stable repository)
|
||||
4.1.0b-rc1 A release candidate for 4.1.1 (from the ntp-stable repo)
|
||||
4.1.71 An alpha release of 4.2.0, from the ntp-dev repo
|
||||
|
||||
Note that after the ntp-dev repo produces a production release it will
|
||||
be copied into the ntp-stable and the cycle will repeat.
|
||||
|
||||
The goal of this scheme is to produce version numbers that collate
|
||||
"properly" with the output of the "ls" command.
|
||||
|
||||
Feel free to suggest improvements...
|
||||
|
@ -82,6 +82,9 @@
|
||||
/* Sun IRIG audio decoder */
|
||||
#undef CLOCK_IRIG
|
||||
|
||||
/* JJY receiver */
|
||||
#undef CLOCK_JJY
|
||||
|
||||
/* Rockwell Jupiter GPS clock */
|
||||
#undef CLOCK_JUPITER
|
||||
|
||||
@ -402,6 +405,9 @@
|
||||
/* hstrerror()? */
|
||||
#undef DECL_HSTRERROR_0
|
||||
|
||||
/* inet_ntoa()? */
|
||||
#undef DECL_INET_NTOA_0
|
||||
|
||||
/* ioctl()? */
|
||||
#undef DECL_IOCTL_0
|
||||
|
||||
|
@ -21,7 +21,7 @@ dnl
|
||||
dnl AC_DEFINE_DIR(DATADIR, datadir)
|
||||
dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
|
||||
dnl
|
||||
dnl @version $Id: acinclude.m4,v 1.3 2000/08/04 03:26:22 stenn Exp $
|
||||
dnl @version $Id$
|
||||
dnl @author Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
AC_DEFUN(AC_DEFINE_DIR, [
|
||||
|
375
contrib/ntp/aclocal.m4
vendored
375
contrib/ntp/aclocal.m4
vendored
@ -1,6 +1,6 @@
|
||||
# aclocal.m4 generated automatically by aclocal 1.4e
|
||||
# ./aclocal.m4 generated automatically by aclocal 1.5
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
@ -34,7 +34,7 @@ dnl
|
||||
dnl AC_DEFINE_DIR(DATADIR, datadir)
|
||||
dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
|
||||
dnl
|
||||
dnl @version $Id: acinclude.m4,v 1.3 2000/08/04 03:26:22 stenn Exp $
|
||||
dnl @version $Id$
|
||||
dnl @author Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
AC_DEFUN(AC_DEFINE_DIR, [
|
||||
@ -60,22 +60,60 @@ AC_DEFUN(AC_DEFINE_DIR, [
|
||||
AC_PREREQ([2.12])
|
||||
|
||||
AC_DEFUN([AM_CONFIG_HEADER],
|
||||
[ifdef([AC_FOREACH],dnl
|
||||
[dnl init our file count if it isn't already
|
||||
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
||||
dnl prepare to store our destination file list for use in config.status
|
||||
AC_FOREACH([_AM_File], [$1],
|
||||
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
||||
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
|
||||
dnl and add it to the list of files AC keeps track of, along
|
||||
dnl with our hook
|
||||
AC_CONFIG_HEADERS(_AM_File,
|
||||
dnl COMMANDS, [, INIT-CMDS]
|
||||
[# update the timestamp
|
||||
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
||||
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
|
||||
m4_popdef([_AM_Dest])])],dnl
|
||||
[AC_CONFIG_HEADER([$1])
|
||||
AC_OUTPUT_COMMANDS(
|
||||
ifelse(patsubst([$1], [[^ ]], []),
|
||||
[],
|
||||
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
|
||||
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
|
||||
[am_indx=1
|
||||
for am_file in $1; do
|
||||
case " $CONFIG_HEADERS " in
|
||||
*" $am_file "*)
|
||||
echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=\`expr \$am_indx + 1\`
|
||||
done])
|
||||
])
|
||||
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
|
||||
[am_indx=1
|
||||
for am_file in $1; do
|
||||
case " \$CONFIG_HEADERS " in
|
||||
*" \$am_file "*)
|
||||
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
|
||||
if test -n "\$am_dir"; then
|
||||
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
|
||||
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
|
||||
am_tmpdir=\$am_tmpdir\$am_subdir/
|
||||
if test ! -d \$am_tmpdir; then
|
||||
mkdir \$am_tmpdir
|
||||
fi
|
||||
done
|
||||
fi
|
||||
echo timestamp > "\$am_dir"stamp-h\$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=\`expr \$am_indx + 1\`
|
||||
done])
|
||||
])]) # AM_CONFIG_HEADER
|
||||
|
||||
# _AM_DIRNAME(PATH)
|
||||
# -----------------
|
||||
# Like AS_DIRNAME, only do it during macro expansion
|
||||
AC_DEFUN([_AM_DIRNAME],
|
||||
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
||||
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
|
||||
m4_if(m4_regexp([$1], [^/.*]), -1,
|
||||
[.],
|
||||
m4_patsubst([$1], [^\(/\).*], [\1])),
|
||||
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
||||
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
||||
]) # _AM_DIRNAME
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
@ -129,7 +167,16 @@ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
||||
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
||||
# the ones we care about.
|
||||
ifdef([m4_pattern_allow],
|
||||
[m4_pattern_allow([^AM_(C|CPP|CXX|OBJC|F|R|GCJ)FLAGS])])dnl
|
||||
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
|
||||
|
||||
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
||||
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
||||
# don't compute it.
|
||||
AC_SUBST(EXEEXT)
|
||||
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
||||
# requests that it be used. This is a bit dumb.
|
||||
: ${OBJEXT=o}
|
||||
AC_SUBST(OBJEXT)
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
@ -140,7 +187,7 @@ AM_MISSING_PROG(AUTOMAKE, automake)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_MISSING_PROG(AMTAR, tar)
|
||||
AM_MISSING_INSTALL_SH
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
@ -149,13 +196,13 @@ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_][CC],
|
||||
[AM_DEPENDENCIES(CC)],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_][CC],
|
||||
defn([AC_PROG_][CC])[AM_DEPENDENCIES(CC)])])dnl
|
||||
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_][CXX],
|
||||
[AM_DEPENDENCIES(CXX)],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_][CXX],
|
||||
defn([AC_PROG_][CXX])[AM_DEPENDENCIES(CXX)])])dnl
|
||||
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
])
|
||||
|
||||
#
|
||||
@ -182,6 +229,7 @@ if (
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
@ -202,7 +250,6 @@ else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
|
||||
@ -216,34 +263,15 @@ $1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_INSTALL_SH
|
||||
# ---------------------
|
||||
# Like AM_MISSING_PROG, but only looks for install-sh.
|
||||
AC_DEFUN([AM_MISSING_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
if test -z "$install_sh"; then
|
||||
for install_sh in "$ac_aux_dir/install-sh" \
|
||||
"$ac_aux_dir/install.sh" \
|
||||
"${am_missing_run}${ac_auxdir}/install-sh";
|
||||
do
|
||||
test -f "$install_sh" && break
|
||||
done
|
||||
# FIXME: an evil hack: we remove the SHELL invocation from
|
||||
# install_sh because automake adds it back in. Sigh.
|
||||
install_sh=`echo $install_sh | sed -e 's/\${SHELL}//'`
|
||||
fi
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[test x"${MISSING+set}" = xset ||
|
||||
MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run :"; then
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
@ -255,80 +283,71 @@ fi
|
||||
# AM_AUX_DIR_EXPAND
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to ${srcdir}/foo. In other projects, it is set to `.'.
|
||||
# Of course, Automake must honor this variable whenever it call a tool
|
||||
# from the auxiliary directory. The problem is that $srcdir (hence
|
||||
# $ac_aux_dir) can be either an absolute path or a path relative to
|
||||
# $top_srcdir or absolute, this depends on how configure is run. This
|
||||
# is pretty anoying since it makes $ac_aux_dir quite unusable in
|
||||
# subdirectories: on the top source directory, any form will work
|
||||
# fine, but in subdirectories relative pat needs to be adapted.
|
||||
# - calling $top_srcidr/$ac_aux_dir/missing would success if $srcdir is
|
||||
# relative, but fail if $srcdir is absolute
|
||||
# - conversly, calling $ax_aux_dir/missing would fail if $srcdir is
|
||||
# absolute, and success on relative paths.
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Consequently, we define and use $am_aux_dir, the "always absolute"
|
||||
# version of $ac_aux_dir.
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross=compiling environments, where the build's strip
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so if we ever
|
||||
# need to use a non standard strip, we just have to make sure we use
|
||||
# install-sh with the STRIPPROG variable set.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_MISSING_INSTALL_SH])
|
||||
dnl Don't test for $cross_compiling = yes, it might be `maybe'...
|
||||
# We'd like to do this but we can't because it will unconditionally
|
||||
# require config.guess. One way would be if autoconf had the capability
|
||||
# to let us compile in this code only when config.guess was already
|
||||
# a possibility.
|
||||
#if test "$cross_compiling" != no; then
|
||||
# # since we are cross-compiling, we need to check for a suitable `strip'
|
||||
# AM_PROG_STRIP
|
||||
# if test -z "$STRIP"; then
|
||||
# AC_MSG_WARN([strip missing, install-strip will not strip binaries])
|
||||
# fi
|
||||
#fi
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# If $STRIP is defined (either by the user, or by AM_PROG_STRIP),
|
||||
# instruct install-strip to use install-sh and the given $STRIP program.
|
||||
# Otherwise, just use ${INSTALL}: the idea is to use the vendor install
|
||||
# as much as possible, because it's faster.
|
||||
if test -z "$STRIP"; then
|
||||
# The top level make will set INSTALL_PROGRAM=$(INSTALL_STRIP_PROGRAM)
|
||||
# and the double dolard below is there to make sure that ${INSTALL}
|
||||
# is substitued in the sub-makes, not at the top-level; this is
|
||||
# needed if ${INSTALL} is a relative path (ajusted in each subdirectory
|
||||
# by config.status).
|
||||
INSTALL_STRIP_PROGRAM='$${INSTALL} -s'
|
||||
INSTALL_STRIP_PROGRAM_ENV=''
|
||||
else
|
||||
_am_dirpart="`echo $install_sh | sed -e 's,//*[[^/]]*$,,'`"
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \`CDPATH=: && cd $_am_dirpart && pwd\`/install-sh -c -s"
|
||||
INSTALL_STRIP_PROGRAM_ENV="STRIPPROG='\$(STRIP)'"
|
||||
fi
|
||||
AC_SUBST([STRIP])
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM_ENV])])
|
||||
# serial 4 -*- Autoconf -*-
|
||||
|
||||
#AC_DEFUN([AM_PROG_STRIP],
|
||||
#[# Check for `strip', unless the installer
|
||||
# has set the STRIP environment variable.
|
||||
# Note: don't explicitly check for -z "$STRIP" here because
|
||||
# that will cause problems if AC_CANONICAL_* is AC_REQUIREd after
|
||||
# this macro, and anyway it doesn't have an effect anyway.
|
||||
#AC_CHECK_TOOL([STRIP],[strip])
|
||||
#])
|
||||
|
||||
# serial 3
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
@ -336,53 +355,57 @@ AC_SUBST([INSTALL_STRIP_PROGRAM_ENV])])
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
# AM_DEPENDENCIES(NAME)
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ---------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX" or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
AC_DEFUN([AM_DEPENDENCIES],
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
ifelse([$1], CC,
|
||||
[AC_REQUIRE([AC_PROG_][CC])dnl
|
||||
AC_REQUIRE([AC_PROG_][CPP])
|
||||
depcc="$CC"
|
||||
depcpp="$CPP"],
|
||||
[$1], CXX, [AC_REQUIRE([AC_PROG_][CXX])dnl
|
||||
AC_REQUIRE([AC_PROG_][CXXCPP])
|
||||
depcc="$CXX"
|
||||
depcpp="$CXXCPP"],
|
||||
[$1], OBJC, [am_cv_OBJC_dependencies_compiler_type=gcc],
|
||||
[AC_REQUIRE([AC_PROG_][$1])dnl
|
||||
depcc="$$1"
|
||||
depcpp=""])
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP"; then
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir confdir
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" confdir
|
||||
cd confdir
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
for depmode in `sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < "./depcomp"`; do
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
for depmode in $am_compiler_list; do
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
echo '#include "conftest.h"' > conftest.c
|
||||
echo 'int i;' > conftest.h
|
||||
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
||||
|
||||
case "$depmode" in
|
||||
case $depmode in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
@ -397,18 +420,19 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this.
|
||||
if depmode="$depmode" \
|
||||
if depmode=$depmode \
|
||||
source=conftest.c object=conftest.o \
|
||||
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
||||
grep conftest.h conftest.Po > /dev/null 2>&1; then
|
||||
am_cv_$1_dependencies_compiler_type="$depmode"
|
||||
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf confdir
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
@ -421,16 +445,17 @@ AC_SUBST([$1DEPMODE])
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in AM_DEPENDENCIES
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
|
||||
[rm -f .deps 2>/dev/null
|
||||
mkdir .deps 2>/dev/null
|
||||
if test -d .deps; then
|
||||
DEPDIR=.deps
|
||||
# We redirect because .deps might already exist and be populated.
|
||||
# In this situation we don't want to see an error.
|
||||
rmdir .deps > /dev/null 2>&1
|
||||
else
|
||||
# MS-DOS does not allow filenames that begin with a dot.
|
||||
DEPDIR=_deps
|
||||
fi
|
||||
rmdir .deps 2>/dev/null
|
||||
AC_SUBST(DEPDIR)
|
||||
])
|
||||
|
||||
@ -441,22 +466,11 @@ AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking Speeds up one-time builds
|
||||
--enable-dependency-tracking Do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" = xno; then
|
||||
AMDEP="#"
|
||||
else
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
if test ! -f "$am_depcomp"; then
|
||||
AMDEP="#"
|
||||
else
|
||||
AMDEP=
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(AMDEP)
|
||||
if test -z "$AMDEP"; then
|
||||
AMDEPBACKSLASH='\'
|
||||
else
|
||||
AMDEPBACKSLASH=
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
pushdef([subst], defn([AC_SUBST]))
|
||||
subst(AMDEPBACKSLASH)
|
||||
popdef([subst])
|
||||
@ -473,7 +487,7 @@ popdef([subst])
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
|
||||
AC_OUTPUT_COMMANDS([
|
||||
test x"$AMDEP" != x"" ||
|
||||
test x"$AMDEP_TRUE" != x"" ||
|
||||
for mf in $CONFIG_FILES; do
|
||||
case "$mf" in
|
||||
Makefile) dirpart=.;;
|
||||
@ -510,7 +524,7 @@ for mf in $CONFIG_FILES; do
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
], [AMDEP="$AMDEP"
|
||||
], [AMDEP_TRUE="$AMDEP_TRUE"
|
||||
ac_aux_dir="$ac_aux_dir"])])
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
@ -518,26 +532,69 @@ ac_aux_dir="$ac_aux_dir"])])
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
# BSD make uses .include
|
||||
cat > confinc << 'END'
|
||||
doit:
|
||||
@echo done
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
_am_include='#'
|
||||
for am_inc in include .include; do
|
||||
echo "$am_inc confinc" > confmf
|
||||
if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
|
||||
_am_include=$am_inc
|
||||
break
|
||||
am__include='#'
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote='"'
|
||||
_am_result=BSD
|
||||
fi
|
||||
done
|
||||
AC_SUBST(_am_include)
|
||||
AC_MSG_RESULT($_am_include)
|
||||
fi
|
||||
AC_SUBST(am__include)
|
||||
AC_SUBST(am__quote)
|
||||
AC_MSG_RESULT($_am_result)
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
#
|
||||
# FIXME: Once using 2.50, use this:
|
||||
# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[ifelse([$1], [TRUE],
|
||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
||||
])dnl
|
||||
m4exit(1)])dnl
|
||||
ifelse([$1], [FALSE],
|
||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
||||
])dnl
|
||||
m4exit(1)])dnl
|
||||
AC_SUBST([$1_TRUE])
|
||||
AC_SUBST([$1_FALSE])
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi])
|
||||
|
||||
|
||||
# serial 1
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr #no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr #no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = @MAKE_ADJTIMED@
|
||||
EXTRA_PROGRAMS = adjtimed
|
||||
@ -124,8 +118,6 @@ INCLUDES = -I$(top_srcdir)/include
|
||||
LDADD = ../libntp/libntp.a
|
||||
#EXTRA_DIST = TAGS
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = adjtimed
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -134,37 +126,35 @@ EXTRA_PROGRAMS = adjtimed$(EXEEXT)
|
||||
bin_PROGRAMS = @MAKE_ADJTIMED@
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
adjtimed_SOURCES = adjtimed.c
|
||||
adjtimed_OBJECTS = adjtimed$U.$(OBJEXT)
|
||||
adjtimed_LDADD = $(LDADD)
|
||||
adjtimed_DEPENDENCIES = ../libntp/libntp.a
|
||||
adjtimed_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
adjtimed_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/adjtimed$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = adjtimed.c
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/adjtimed$U.Po
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
SOURCES = adjtimed.c
|
||||
OBJECTS = adjtimed$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu adjtimed/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -172,8 +162,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -189,28 +181,44 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
adjtimed$(EXEEXT): $(adjtimed_OBJECTS) $(adjtimed_DEPENDENCIES)
|
||||
@rm -f adjtimed$(EXEEXT)
|
||||
$(LINK) $(adjtimed_LDFLAGS) $(adjtimed_OBJECTS) $(adjtimed_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
adjtimed: $(adjtimed_OBJECTS) $(adjtimed_DEPENDENCIES)
|
||||
@rm -f adjtimed
|
||||
$(LINK) $(adjtimed_LDFLAGS) $(adjtimed_OBJECTS) $(adjtimed_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/adjtimed$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
adjtimed_.c: adjtimed.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtimed.c; then echo $(srcdir)/adjtimed.c; else echo adjtimed.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtimed_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtimed.c; then echo $(srcdir)/adjtimed.c; else echo adjtimed.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtimed_.c || rm -f adjtimed_.c
|
||||
adjtimed_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -223,7 +231,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -239,30 +247,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/adjtimed$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -271,7 +259,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -297,23 +289,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
@ -323,11 +312,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -335,7 +324,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -349,18 +338,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
distclean distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -11,6 +11,6 @@ clktest_LDADD = ../libntp/libntp.a
|
||||
ETAGS_ARGS = Makefile.am
|
||||
#EXTRA_DIST = TAGS
|
||||
|
||||
chutest: ../libntp/libntp.a
|
||||
chutest$(EXEEXT): ../libntp/libntp.a
|
||||
|
||||
clktest: ../libntp/libntp.a
|
||||
clktest$(EXEEXT): ../libntp/libntp.a
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
noinst_PROGRAMS = @PROPDELAY@ @CHUTEST@ @CLKTEST@
|
||||
EXTRA_PROGRAMS = propdelay chutest clktest
|
||||
@ -127,8 +121,6 @@ propdelay_LDADD = -lm
|
||||
chutest_LDADD = ../libntp/libntp.a
|
||||
clktest_LDADD = ../libntp/libntp.a
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = clockstuff
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -137,78 +129,94 @@ EXTRA_PROGRAMS = propdelay$(EXEEXT) chutest$(EXEEXT) clktest$(EXEEXT)
|
||||
noinst_PROGRAMS = @PROPDELAY@ @CHUTEST@ @CLKTEST@
|
||||
PROGRAMS = $(noinst_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
chutest_SOURCES = chutest.c
|
||||
chutest_OBJECTS = chutest$U.$(OBJEXT)
|
||||
chutest_DEPENDENCIES = ../libntp/libntp.a
|
||||
chutest_LDFLAGS =
|
||||
chutest_LDFLAGS =
|
||||
clktest_SOURCES = clktest.c
|
||||
clktest_OBJECTS = clktest$U.$(OBJEXT)
|
||||
clktest_DEPENDENCIES = ../libntp/libntp.a
|
||||
clktest_LDFLAGS =
|
||||
clktest_LDFLAGS =
|
||||
propdelay_SOURCES = propdelay.c
|
||||
propdelay_OBJECTS = propdelay$U.$(OBJEXT)
|
||||
propdelay_DEPENDENCIES =
|
||||
propdelay_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
propdelay_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/chutest$U.Po $(DEPDIR)/clktest$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/propdelay$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = chutest.c clktest.c propdelay.c
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/chutest$U.Po $(DEPDIR)/clktest$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/propdelay$U.Po
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
SOURCES = chutest.c clktest.c propdelay.c
|
||||
OBJECTS = chutest$U.$(OBJEXT) clktest$U.$(OBJEXT) propdelay$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu clockstuff/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||
propdelay$(EXEEXT): $(propdelay_OBJECTS) $(propdelay_DEPENDENCIES)
|
||||
@rm -f propdelay$(EXEEXT)
|
||||
$(LINK) $(propdelay_LDFLAGS) $(propdelay_OBJECTS) $(propdelay_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
propdelay: $(propdelay_OBJECTS) $(propdelay_DEPENDENCIES)
|
||||
@rm -f propdelay
|
||||
$(LINK) $(propdelay_LDFLAGS) $(propdelay_OBJECTS) $(propdelay_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/chutest$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clktest$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/propdelay$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
chutest_.c: chutest.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/chutest.c; then echo $(srcdir)/chutest.c; else echo chutest.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > chutest_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/chutest.c; then echo $(srcdir)/chutest.c; else echo chutest.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > chutest_.c || rm -f chutest_.c
|
||||
clktest_.c: clktest.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clktest.c; then echo $(srcdir)/clktest.c; else echo clktest.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clktest_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clktest.c; then echo $(srcdir)/clktest.c; else echo clktest.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clktest_.c || rm -f clktest_.c
|
||||
propdelay_.c: propdelay.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/propdelay.c; then echo $(srcdir)/propdelay.c; else echo propdelay.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > propdelay_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/propdelay.c; then echo $(srcdir)/propdelay.c; else echo propdelay.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > propdelay_.c || rm -f propdelay_.c
|
||||
chutest_.$(OBJEXT) clktest_.$(OBJEXT) propdelay_.$(OBJEXT) : \
|
||||
$(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -221,7 +229,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -237,32 +245,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/chutest$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clktest$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/propdelay$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -271,7 +257,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -296,23 +286,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
|
||||
@ -322,11 +309,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -334,7 +321,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -348,22 +335,24 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstPROGRAMS distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-kr tags uninstall uninstall-am
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
#EXTRA_DIST = TAGS
|
||||
|
||||
chutest: ../libntp/libntp.a
|
||||
|
||||
clktest: ../libntp/libntp.a
|
||||
chutest$(EXEEXT): ../libntp/libntp.a
|
||||
|
||||
clktest$(EXEEXT): ../libntp/libntp.a
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -83,6 +83,9 @@
|
||||
/* Sun IRIG audio decoder */
|
||||
#undef CLOCK_IRIG
|
||||
|
||||
/* JJY receiver */
|
||||
#undef CLOCK_JJY
|
||||
|
||||
/* Rockwell Jupiter GPS clock */
|
||||
#undef CLOCK_JUPITER
|
||||
|
||||
@ -403,6 +406,9 @@
|
||||
/* hstrerror()? */
|
||||
#undef DECL_HSTRERROR_0
|
||||
|
||||
/* inet_ntoa()? */
|
||||
#undef DECL_INET_NTOA_0
|
||||
|
||||
/* ioctl()? */
|
||||
#undef DECL_IOCTL_0
|
||||
|
||||
@ -482,6 +488,12 @@
|
||||
/* Autokey? */
|
||||
#undef AUTOKEY
|
||||
|
||||
/* TrueTime 560 IRIG-B decoder? */
|
||||
#undef CLOCK_TT560
|
||||
|
||||
/* Zyfer GPStarplus */
|
||||
#undef CLOCK_ZYFER
|
||||
|
||||
/* Define if you have the <arpa/nameser.h> header file. */
|
||||
#undef HAVE_ARPA_NAMESER_H
|
||||
|
||||
@ -491,6 +503,9 @@
|
||||
/* Define if you have the <bstring.h> header file. */
|
||||
#undef HAVE_BSTRING_H
|
||||
|
||||
/* Define if you have the `clock_gettime' function. */
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
|
||||
/* Define if you have the `clock_settime' function. */
|
||||
#undef HAVE_CLOCK_SETTIME
|
||||
|
||||
@ -518,9 +533,6 @@
|
||||
/* Define if you have the `getrusage' function. */
|
||||
#undef HAVE_GETRUSAGE
|
||||
|
||||
/* Define if you have the `gettimeofday' function. */
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
|
||||
/* Define if you have the `getuid' function. */
|
||||
#undef HAVE_GETUID
|
||||
|
||||
@ -575,6 +587,9 @@
|
||||
/* Define if you have the `socket' library (-lsocket). */
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
/* Define if you have the `syslog' library (-lsyslog). */
|
||||
#undef HAVE_LIBSYSLOG
|
||||
|
||||
/* Define if you have the <machine/inline.h> header file. */
|
||||
#undef HAVE_MACHINE_INLINE_H
|
||||
|
||||
@ -614,9 +629,15 @@
|
||||
/* Define if you have the <netinet/in.h> header file. */
|
||||
#undef HAVE_NETINET_IN_H
|
||||
|
||||
/* Define if you have the <netinet/in_system.h> header file. */
|
||||
#undef HAVE_NETINET_IN_SYSTEM_H
|
||||
|
||||
/* Define if you have the <netinet/in_systm.h> header file. */
|
||||
#undef HAVE_NETINET_IN_SYSTM_H
|
||||
|
||||
/* Define if you have the <netinet/ip.h> header file. */
|
||||
#undef HAVE_NETINET_IP_H
|
||||
|
||||
/* Define if you have the <netinfo/ni.h> header file. */
|
||||
#undef HAVE_NETINFO_NI_H
|
||||
|
||||
@ -704,6 +725,9 @@
|
||||
/* Define if you have the `srand48' function. */
|
||||
#undef HAVE_SRAND48
|
||||
|
||||
/* Define if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
@ -791,6 +815,9 @@
|
||||
/* Define if you have the <sys/select.h> header file. */
|
||||
#undef HAVE_SYS_SELECT_H
|
||||
|
||||
/* Define if you have the <sys/signal.h> header file. */
|
||||
#undef HAVE_SYS_SIGNAL_H
|
||||
|
||||
/* Define if you have the <sys/sio.h> header file. */
|
||||
#undef HAVE_SYS_SIO_H
|
||||
|
||||
|
4883
contrib/ntp/configure
vendored
4883
contrib/ntp/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@ AC_CANONICAL_SYSTEM
|
||||
AC_DEFINE_UNQUOTED(STR_SYSTEM, "$target")
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_ARG_PROGRAM
|
||||
AM_INIT_AUTOMAKE(ntp, 4.1.0)
|
||||
AM_INIT_AUTOMAKE(ntp, 4.1.1a)
|
||||
AC_PREREQ(2.49)
|
||||
|
||||
ac_cv_var_oncore_ok=no
|
||||
@ -26,7 +26,7 @@ case "$target" in
|
||||
i386-sequent-sysv4)
|
||||
case "$CC" in
|
||||
cc)
|
||||
CFLAGS="$CFLAGS -Wc,+Abi-socket"
|
||||
CFLAGS="$CFLAGS -Wc,+abi-socket"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@ -37,6 +37,11 @@ case "$target" in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
|
||||
LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
|
||||
LIBS="$LIBS -lcurses"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$host" in
|
||||
@ -185,7 +190,9 @@ AC_CHECK_LIB(kvm, main) dnl We already know about -lelf here...
|
||||
AC_CHECK_LIB(ld, nlist)
|
||||
AC_CHECK_LIB(mld, nlist)
|
||||
AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent, , , -lsocket))
|
||||
AC_CHECK_FUNC(openlog, , AC_CHECK_LIB(gen, openlog))
|
||||
AC_CHECK_FUNC(openlog, ,
|
||||
AC_CHECK_LIB(gen, openlog, ,
|
||||
AC_CHECK_LIB(syslog, openlog, , , -lsocket)))
|
||||
AC_CHECK_LIB(readline, readline)
|
||||
|
||||
dnl Digital UNIX V4.0 and Solaris 7 have POSIX.1c functions in -lrt
|
||||
@ -208,7 +215,8 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(bstring.h errno.h fcntl.h ieeefp.h math.h memory.h netdb.h)
|
||||
AC_CHECK_HEADERS(poll.h resolv.h sched.h sgtty.h stdlib.h string.h termio.h)
|
||||
AC_CHECK_HEADERS(termios.h timepps.h timex.h unistd.h utmp.h utmpx.h)
|
||||
AC_CHECK_HEADERS(arpa/nameser.h net/if.h netinet/in_systm.h netinet/in.h)
|
||||
AC_CHECK_HEADERS(arpa/nameser.h net/if.h netinet/in_system.h)
|
||||
AC_CHECK_HEADERS(netinet/in_systm.h netinet/in.h netinet/ip.h)
|
||||
AC_CHECK_HEADERS(netinfo/ni.h, [AC_DEFINE(HAVE_NETINFO)])
|
||||
AC_CHECK_HEADERS(sun/audioio.h sys/audioio.h)
|
||||
dnl AC_CHECK_HEADERS(sys/chudefs.h)
|
||||
@ -225,7 +233,7 @@ case "$target" in
|
||||
AC_CHECK_HEADERS(sys/sio.h)
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_HEADERS(sys/select.h sys/sockio.h sys/stat.h sys/stream.h)
|
||||
AC_CHECK_HEADERS(sys/select.h sys/signal.h sys/sockio.h sys/stat.h sys/stream.h)
|
||||
AC_CHECK_HEADERS(sys/stropts.h sys/sysctl.h sys/syssgi.h sys/termios.h)
|
||||
AC_CHECK_HEADERS(sys/time.h)
|
||||
AC_EGREP_CPP(yes,
|
||||
@ -233,7 +241,7 @@ AC_EGREP_CPP(yes,
|
||||
#ifdef PPS_API_VERS_1
|
||||
yes
|
||||
#endif
|
||||
], AC_CHECK_HEADERS(sys/timepps.h))
|
||||
], [AC_CHECK_HEADERS(sys/timepps.h)])
|
||||
AC_CHECK_HEADERS(sys/timers.h sys/timex.h sys/tpro.h sys/types.h sys/wait.h)
|
||||
AC_HEADER_TIME
|
||||
case "$target" in
|
||||
@ -564,7 +572,7 @@ case "$target" in
|
||||
# this conditional will need to change. Maybe use AC_TRY_RUN
|
||||
# instead to try to set the time to itself and check errno.
|
||||
;;
|
||||
*) AC_CHECK_FUNCS(clock_settime)
|
||||
*) AC_CHECK_FUNCS(clock_gettime clock_settime)
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_FUNCS(daemon)
|
||||
@ -578,7 +586,12 @@ AC_CHECK_FUNCS(finite, ,
|
||||
AC_DEFINE(HAVE_ISFINITE)],
|
||||
AC_MSG_RESULT(no))
|
||||
LIBS=$_libs])])
|
||||
AC_CHECK_FUNCS(getbootfile getclock getdtablesize getrusage gettimeofday)
|
||||
AC_CHECK_FUNCS(getbootfile getclock getdtablesize getrusage)
|
||||
AC_CHECK_FUNC(gettimeofday, ,[
|
||||
case "$target" in
|
||||
*-*-mpeix*) ac_cv_func_gettimeofday=yes
|
||||
;;
|
||||
esac])
|
||||
case "$target" in
|
||||
*-pc-cygwin*)
|
||||
;;
|
||||
@ -636,8 +649,13 @@ case "$target" in
|
||||
*) AC_CHECK_FUNCS(sched_setscheduler)
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_FUNCS(setlinebuf)
|
||||
AC_CHECK_FUNCS(setpgid setpriority setsid settimeofday setvbuf sigaction)
|
||||
AC_CHECK_FUNCS(setlinebuf setpgid setpriority setsid)
|
||||
AC_CHECK_FUNCS(settimeofday, ,[
|
||||
case "$target" in
|
||||
*-*-mpeix*) ac_cv_func_settimeofday=yes
|
||||
;;
|
||||
esac])
|
||||
AC_CHECK_FUNCS(setvbuf sigaction)
|
||||
AC_CHECK_FUNCS(sigvec sigset sigsuspend stime strchr sysconf sysctl)
|
||||
AC_REPLACE_FUNCS(snprintf strdup strerror)
|
||||
case "$target" in
|
||||
@ -795,6 +813,17 @@ case "$target" in
|
||||
*-*-aix4.3.*)
|
||||
AC_DEFINE(DECL_HSTRERROR_0) # Needed for XLC under AIX 4.3.2
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
AC_DEFINE(DECL_ADJTIME_0)
|
||||
AC_DEFINE(DECL_INET_NTOA_0)
|
||||
AC_DEFINE(DECL_MKTEMP_0)
|
||||
AC_DEFINE(DECL_MRAND48_0)
|
||||
AC_DEFINE(DECL_SELECT_0)
|
||||
AC_DEFINE(DECL_SETITIMER_0)
|
||||
AC_DEFINE(DECL_SRAND48_0)
|
||||
AC_DEFINE(DECL_SYSLOG_0)
|
||||
AC_DEFINE(DECL_TIMEOFDAY_0)
|
||||
;;
|
||||
*-*-osf[[45]]*)
|
||||
AC_DEFINE(DECL_PLOCK_0)
|
||||
AC_DEFINE(DECL_STIME_1)
|
||||
@ -952,7 +981,7 @@ esac
|
||||
|
||||
AC_CACHE_CHECK(if we need a ctty for F_SETOWN, ac_cv_func_ctty_for_f_setown,
|
||||
[case "$target" in
|
||||
*-*-bsdi[23]*)
|
||||
*-*-bsdi[[23]]*)
|
||||
ans=yes
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
@ -1247,6 +1276,11 @@ case "$target" in
|
||||
mips-sgi-irix*)
|
||||
ans=yes
|
||||
;;
|
||||
i?86-*-freebsd[[123]].*)
|
||||
;;
|
||||
i?86-*-freebsd*)
|
||||
ans=yes
|
||||
;;
|
||||
esac
|
||||
ac_cv_var_no_parenb_ignpar=$ans])
|
||||
case "$ac_cv_var_no_parenb_ignpar" in
|
||||
@ -1528,7 +1562,6 @@ AC_ARG_ENABLE(HOPFSERIAL, [ --enable-HOPFSERIAL + hopf serial clock device
|
||||
fi
|
||||
AC_MSG_RESULT($ntp_ok)
|
||||
|
||||
|
||||
AC_MSG_CHECKING(for hopf PCI clock 6039)
|
||||
AC_ARG_ENABLE(HOPFPCI, [ --enable-HOPFPCI + hopf 6039 PCI board],
|
||||
[ntp_ok=$enableval], [ntp_ok=$ntp_eac])
|
||||
@ -1766,6 +1799,15 @@ case "$ntp_ok$ntp_canaudio" in
|
||||
yesno) AC_MSG_WARN(*** But the expected answer is... no ***) ;;
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(for JJY receiver)
|
||||
AC_ARG_ENABLE(JJY, [ --enable-JJY + JJY receiver],
|
||||
[ntp_ok=$enableval], [ntp_ok=$ntp_eac])
|
||||
if test "$ntp_ok" = "yes"; then
|
||||
ntp_refclock=yes
|
||||
AC_DEFINE(CLOCK_JJY)
|
||||
fi
|
||||
AC_MSG_RESULT($ntp_ok)
|
||||
|
||||
AC_MSG_CHECKING(Leitch CSD 5300 Master Clock System Driver)
|
||||
AC_ARG_ENABLE(LEITCH, [ --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver],
|
||||
[ntp_ok=$enableval], [ntp_ok=$ntp_eac])
|
||||
@ -1982,6 +2024,16 @@ case "$ntp_ok$target" in
|
||||
yesvax-dec-bsd) AC_MSG_WARN(*** But the expected answer is... no ***) ;;
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(TrueTime 560 IRIG-B decoder)
|
||||
AC_ARG_ENABLE(TT560,
|
||||
AC_HELP_STRING([--enable-TT650], [- TrueTime 560 IRIG-B decoder]),
|
||||
[ntp_ok=$enableval], [ntp_ok=no])
|
||||
if test "$ntp_ok" = "yes"; then
|
||||
ntp_refclock=yes
|
||||
AC_DEFINE(CLOCK_TT560, , [TrueTime 560 IRIG-B decoder?])
|
||||
fi
|
||||
AC_MSG_RESULT($ntp_ok)
|
||||
|
||||
AC_MSG_CHECKING(Ultralink M320 WWVB receiver)
|
||||
AC_ARG_ENABLE(ULINK, [ --enable-ULINK + Ultralink WWVB receiver],
|
||||
[ntp_ok=$enableval], [ntp_ok=$ntp_eac])
|
||||
@ -2026,6 +2078,16 @@ if test "$ntp_ok" = "yes"; then
|
||||
fi
|
||||
AC_MSG_RESULT($ntp_ok)
|
||||
|
||||
AC_MSG_CHECKING(for Zyfer receiver)
|
||||
AC_ARG_ENABLE(ZYFER,
|
||||
AC_HELP_STRING([--enable-ZYFER], [+ Zyfer GPStarplus receiver]),
|
||||
[ntp_ok=$enableval], [ntp_ok=$ntp_eac])
|
||||
if test "$ntp_ok" = "yes"; then
|
||||
ntp_refclock=yes
|
||||
AC_DEFINE(CLOCK_ZYFER, 1, [Zyfer GPStarplus])
|
||||
fi
|
||||
AC_MSG_RESULT($ntp_ok)
|
||||
|
||||
AC_MSG_CHECKING(for default inclusion of all suitable PARSE clocks)
|
||||
AC_ARG_ENABLE(parse-clocks, [ --enable-parse-clocks - include all suitable PARSE clocks:],
|
||||
[ntp_eapc=$enableval],
|
||||
@ -2389,6 +2451,8 @@ case "$ans" in
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(isRSAREF, test x$RSADIR = xrsaref2)
|
||||
AM_CONDITIONAL(isRSAEURO, test x$RSADIR = xrsaeuro1)
|
||||
AC_SUBST(AUTOKEY)
|
||||
case "$ans" in
|
||||
no) ;;
|
||||
@ -2573,6 +2637,9 @@ case "$target" in
|
||||
*-ibm-aix[[34]]*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-ptx*)
|
||||
ans=tick
|
||||
;;
|
||||
@ -2629,6 +2696,9 @@ case "$target" in
|
||||
*-*-aix*)
|
||||
ans=tickadj
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-ptx*)
|
||||
ans=tickadj
|
||||
;;
|
||||
@ -2681,6 +2751,9 @@ ac_cv_var_nlist_dosynctodr,
|
||||
*-*-hpux*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-nextstep*)
|
||||
ans=_dosynctodr
|
||||
;;
|
||||
@ -2725,6 +2798,9 @@ ac_cv_var_nlist_noprintf,
|
||||
*-*-hpux*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-ptx*)
|
||||
ans=noprintf
|
||||
;;
|
||||
@ -2781,6 +2857,9 @@ AC_CACHE_CHECK(for a default value for 'tick', ac_cv_var_tick,
|
||||
*-*-linux*)
|
||||
ans=txc.tick
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-winnt3.5)
|
||||
ans='(every / 10)'
|
||||
;;
|
||||
@ -2828,6 +2907,9 @@ AC_CACHE_CHECK(for a default value for 'tickadj', ac_cv_var_tickadj,
|
||||
*-*-irix*)
|
||||
ans=150
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=no
|
||||
;;
|
||||
*-*-sco3.2v5.0*)
|
||||
ans=10000L/hz
|
||||
;;
|
||||
@ -2987,6 +3069,9 @@ AC_CACHE_CHECK(if we want UDP wildcard delivery, ac_cv_var_udp_wildcard_delivery
|
||||
*-*-linux*)
|
||||
ans=yes
|
||||
;;
|
||||
*-*-mpeix*)
|
||||
ans=yes
|
||||
;;
|
||||
*-*-osf*)
|
||||
ans=yes
|
||||
;;
|
||||
@ -3170,9 +3255,10 @@ esac
|
||||
|
||||
AC_DEFINE_DIR(NTP_KEYSDIR, sysconfdir, [Default location of crypto key info])
|
||||
|
||||
# This is necessary so that .o files in LIBOBJS are also built via
|
||||
# the ANSI2KNR-filtering rules.
|
||||
LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
|
||||
# HMS: I think we avoid this problem now...
|
||||
## This is necessary so that .o files in LIBOBJS are also built via
|
||||
## the ANSI2KNR-filtering rules.
|
||||
#LIB@&t@OBJS=`echo "$LIB@&t@OBJS" | sed 's,\.[[^.]]* ,$U&,g;s,\.[[^.]]*$,$U&,'`
|
||||
|
||||
AC_CONFIG_FILES(Makefile adjtimed/Makefile clockstuff/Makefile \
|
||||
ElectricFence/Makefile
|
||||
|
141
contrib/ntp/html/driver40.htm
Normal file
141
contrib/ntp/html/driver40.htm
Normal file
@ -0,0 +1,141 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="HTML Tidy, see www.w3.org">
|
||||
<title>JJY Receivers</title>
|
||||
</head>
|
||||
<body>
|
||||
<h3>JJY Receivers</h3>
|
||||
|
||||
<hr>
|
||||
<h4>Synopsis</h4>
|
||||
|
||||
Address: 127.127.40.<i>u</i> <br>
|
||||
Reference ID: <tt>JJY</tt> <br>
|
||||
Driver ID: <tt>JJY</tt> <br>
|
||||
Serial Port: <tt>/dev/jjy<i>u</i></tt>; 9600 baud, 8-bits, no
|
||||
parity, 1 stop bit
|
||||
|
||||
<h4>Description</h4>
|
||||
|
||||
<p>This driver supports the following JJY receivers sold in
|
||||
Japan.</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<p>Tristate Ltd. JJY01 <a href=
|
||||
"http://www.tristate.ne.jp/rf-clock.htm">
|
||||
http://www.tristate.ne.jp/rf-clock.htm</a> (Japanese only)<br>
|
||||
Time code format<br>
|
||||
</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Command</td>
|
||||
<td>Reply</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><tt>date<CR><LF></tt></td>
|
||||
<td><tt>YYYY/MM/DD WWW<CR><LF></tt></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><tt>stim<CR><LF></tt></td>
|
||||
<td><tt>HH:MM:SS<CR><LF></tt></td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">
|
||||
http://www.c-dex.co.jp/</a> (Japanese only)<br>
|
||||
Time code format<br>
|
||||
</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Command</td>
|
||||
<td>Reply</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><tt><ENQ>1J<ETX></tt></td>
|
||||
<td><tt><STX>JYYMMDD HHMMSSS<ETX></tt></td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>JJY is the radio station which transmites the JST (Japan
|
||||
Standard Time) in long wave radio. The station JJY is operated by
|
||||
the Communication Research Laboratory. An operating announcement
|
||||
and some information are avaiable from <a href=
|
||||
"http://www.crl.go.jp/">http://www.crl.go.jp/</a> (English and
|
||||
Japanese)<a href="http://jjy.crl.go.jp/">http://jjy.crl.go.jp/</a>
|
||||
(Written in Japanese only</p>
|
||||
|
||||
<p>The user is expected to provide a symbolic link to an available
|
||||
serial port device. This is typically performed by a command such
|
||||
as:</p>
|
||||
|
||||
<p><tt>ln -s /dev/ttyS0 /dev/jjy0</tt></p>
|
||||
|
||||
<p>Windows NT does not support symbolic links to device files.
|
||||
COM<i>X</i>: is the unit used by the driver, based on the refclock
|
||||
unit number, where unit 1 corresponds to COM1: and unit 3
|
||||
corresponds to COM3:</p>
|
||||
|
||||
<h4>Monitor Data</h4>
|
||||
|
||||
<p>The driver writes each timecode as received to the <tt>
|
||||
clockstats</tt> file.</p>
|
||||
|
||||
<h4>Fudge Factors</h4>
|
||||
|
||||
<dl>
|
||||
<dt><tt>time1 <i>time</i></tt></dt>
|
||||
|
||||
<dd>Specifies the time offset calibration factor, in seconds and
|
||||
fraction, with default 0.0.</dd>
|
||||
|
||||
<dt><tt>time2 <i>time</i></tt></dt>
|
||||
|
||||
<dd>Not used by this driver.</dd>
|
||||
|
||||
<dt><tt>stratum <i>number</i></tt></dt>
|
||||
|
||||
<dd>Specifies the driver stratum, in decimal from 0 to 15, with
|
||||
default 0.</dd>
|
||||
|
||||
<dt><tt>refid <i>string</i></tt></dt>
|
||||
|
||||
<dd>Specifies the driver reference identifier, an ASCII string from
|
||||
one to four characters, with default <tt>WWVB</tt>.</dd>
|
||||
|
||||
<dt><tt>flag1 0 | 1</tt></dt>
|
||||
|
||||
<dd>Not used by this driver.</dd>
|
||||
|
||||
<dt><tt>flag2 0 | 1</tt></dt>
|
||||
|
||||
<dd>Not used by this driver.</dd>
|
||||
|
||||
<dt><tt>flag3 0 | 1</tt></dt>
|
||||
|
||||
<dd>Not used by this driver.</dd>
|
||||
|
||||
<dt><tt>flag4 0 | 1</tt></dt>
|
||||
|
||||
<dd>Enable verbose <tt>clockstats</tt> recording if set.</dd>
|
||||
</dl>
|
||||
|
||||
<hr>
|
||||
<a href="index.htm"><img align="left" src="pic/home.gif" alt=
|
||||
"gif"></a>
|
||||
|
||||
<address><a href="mailto:mills@udel.edu">David L. Mills
|
||||
<mills@udel.edu></a></address>
|
||||
</body>
|
||||
</html>
|
||||
|
39
contrib/ntp/html/driver42.html
Normal file
39
contrib/ntp/html/driver42.html
Normal file
@ -0,0 +1,39 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
<META NAME="GENERATOR" CONTENT="Mozilla/4.01 [en] (Win95; I) [Netscape]">
|
||||
<TITLE>Zyfer GPStarplus Receiver</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H3>Zyfer GPStarplus Receiver</H3>
|
||||
|
||||
<HR>
|
||||
<H4>Synopsis</H4>
|
||||
Address: 127.127.42.<I>u</I>
|
||||
<BR>Reference ID: <TT>GPS</TT>
|
||||
<BR>Driver ID: <TT>Zyfer GPStarplus</TT>
|
||||
<BR>Serial Port: <TT>/dev/zyfer<I>u</I></TT>; 9600 baud, 8-bits, no parity
|
||||
<BR>Features: <TT>(none)</TT>
|
||||
|
||||
<H4>Description</H4>
|
||||
This driver supports the <a href="http://www.zyfer.com/">Zyfer GPStarplus</a>
|
||||
receiver.
|
||||
|
||||
<p>The receiver has a DB15 port on the back which has input TxD and RxD
|
||||
lines for configuration and control, and a separate TxD line for the
|
||||
once-per-second timestamp.
|
||||
|
||||
<p>Additionally, there are BNC connectors on the back for things like PPS
|
||||
and IRIG output.
|
||||
|
||||
</DL>
|
||||
Additional Information
|
||||
|
||||
<P><A HREF="refclock.htm">Reference Clock Drivers</A>
|
||||
<HR>
|
||||
<ADDRESS>
|
||||
Harlan Stenn (stenn@whimsy.udel.edu)</ADDRESS>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
50
contrib/ntp/html/hints/mpeix
Normal file
50
contrib/ntp/html/hints/mpeix
Normal file
@ -0,0 +1,50 @@
|
||||
HP e3000 MPE/iX NTP Hints - May 29, 2001
|
||||
----------------------------------------
|
||||
|
||||
NTP was first ported to MPE several years ago, but those diffs were never
|
||||
submitted back to the official NTP distribution. For more information about
|
||||
that deprecated port, please see http://www.bixby.org/mark/xntpix.html.
|
||||
|
||||
NTP was re-ported to MPE in May 2001. What follows are hints learned from
|
||||
working with NTP 4.0.99k23. For additional information about NTP on MPE,
|
||||
please see http://jazz.external.hp.com/src/hp_freeware/ntp/.
|
||||
|
||||
MPE lacks the clock-related APIs expected by NTP, so adjtime(), gettimeofday(),
|
||||
and settimeofday() all had to be implemented from scratch by calling
|
||||
privileged, undocumented internal OS functions.
|
||||
|
||||
Unfortunately the implementation of adjtime() has exposed a sub-second accuracy
|
||||
bug when slewing the system time. This bug is documented in SR 5003462838, and
|
||||
exists on all current versions of MPE. It has not been fixed at the time of
|
||||
this writing. The adjtime() code may possibly need to be altered if/when this
|
||||
bug is fixed.
|
||||
|
||||
This bug has a side-effect whereby the ntpd daemon will screw up the hardware
|
||||
PDC clock time by many minutes if used for continuous clock adjustments or in
|
||||
the one-time -q mode. But note that you can safely run ntpd in order to become
|
||||
a time server if you include "disable ntp" in the ntp.conf configuration file.
|
||||
|
||||
The one-time clock adjustment functionality of ntpdate and ntp_timeset is not
|
||||
affected by this bug side-effect. You can safely use these commands to alter
|
||||
your system time with reasonable accuracy.
|
||||
|
||||
The only reference clock that has been tested on MPE is the local clock. So
|
||||
building NTP with --disable-all-clocks --enable-LOCAL_CLOCK is strongly
|
||||
recommended.
|
||||
|
||||
NTP makes use of Privileged Mode (PM) capability in order to bind to the NTP
|
||||
network port (123) and to access the low-level clock functions.
|
||||
|
||||
NTP was ported using the gcc compiler. Attempting to use the HP C/iX compiler
|
||||
is not recommended and has not been tested.
|
||||
|
||||
Please note that NTP is not an HP product and is NOT supported by HP. The best
|
||||
place for asking MPE-specific questions about NTP is the HP3000-L mailing list
|
||||
at http://raven.utc.edu/Archives/hp3000-l.html or the associated Usenet
|
||||
newsgroup of comp.sys.hp.mpe.
|
||||
|
||||
The original author of this port is:
|
||||
|
||||
Mark Bixby
|
||||
HP CSY MPE Internet & Interoperability Engineer
|
||||
mark_bixby@hp.com
|
@ -6,10 +6,10 @@
|
||||
|
||||
<H1>VxWorks port of NTP </H1>
|
||||
|
||||
<P>Please look at the <A HREF="../vxworks.htm">Vxworks file</A> in the html directory.
|
||||
<P>Please look at the <A HREF="../vxworks.htm">Vxworks file</A> in the html directory.
|
||||
|
||||
<P>Casey Crellin</A> <BR>
|
||||
<A HREF="mailto:casey@csc.co.za">casey@csc.co.za</A> </P>
|
||||
<P>Casey Crellin</A> <BR>
|
||||
<A HREF="mailto:casey@csc.co.za">casey@csc.co.za</A> </P>
|
||||
|
||||
<P><BR>
|
||||
</P>
|
||||
|
@ -57,6 +57,18 @@ published by the ITU and other sources.
|
||||
<td>47:10N 2:12E</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a class="StationInfo" href="http://jjy.crl.go.jp/">JJY</a> ( Fukushima, JAPAN )</td>
|
||||
<td>40 KHz</td>
|
||||
<td>37:22 N 140:51 E</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a class="StationInfo" href="http://jjy.crl.go.jp/">JJY</a> ( Saga, JAPAN )</td>
|
||||
<td>60 KHz</td>
|
||||
<td>33:28 N 130:11 E</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<hr><a href=index.htm><img align=left src=pic/home.gif></a><address><a
|
||||
|
@ -210,18 +210,22 @@ Receiver (<tt>GPS_HP</tt>)<br>
|
||||
(<tt>GPS_ONCORE</tt>)<br>
|
||||
Type 31 Rockwell Jupiter GPS (<tt>GPS_JUPITER</tt>)<br>
|
||||
<a href="driver32.htm">Type 32</a> Chrono-log K-series WWVB
|
||||
receiver <a href="driver33.htm">Type 33</a> Dumb Clock <a href=
|
||||
"driver34.htm">Type 34</a> Ultralink WWVB Receivers<br>
|
||||
receiver (<tt>CHRONOLOG</tt>)<br>
|
||||
<a href="driver33.htm">Type 33</a> Dumb Clock (<tt>DUMBCLOCK</tt>)<br>
|
||||
<a href="driver34.htm">Type 34</a> Ultralink WWVB Receivers (<tt>ULINK</tt>)<br>
|
||||
<a href="driver35.htm">Type 35</a> Conrad Parallel Port Radio Clock
|
||||
(<tt>PCF</tt>)<br>
|
||||
<a href="driver36.htm">Type 36</a> Radio WWV/H Audio
|
||||
Demodulator/Decoder(<tt>WWV</tt>)<br>
|
||||
Demodulator/Decoder (<tt>WWV</tt>)<br>
|
||||
<a href="driver37.htm">Type 37</a> Forum Graphic GPS Dating station
|
||||
(<tt>FG</tt>)<br>
|
||||
<a href="driver38.htm">Type 38</a> hopf GPS/DCF77 6021/komp for
|
||||
Serial Line (<tt>HOPF_S</tt>)<br>
|
||||
<a href="driver39.htm">Type 39</a> hopf GPS/DCF77 6039 for PCI-Bus
|
||||
(<tt>HOPF_P</tt>)</p>
|
||||
(<tt>HOPF_P</tt>)<br>
|
||||
<a href="driver40.htm">Type 40</a> JJY Receivers (<tt>JJY</tt>)<br>
|
||||
</p>
|
||||
|
||||
|
||||
<p>* All TrueTime receivers are now supported by one driver, type
|
||||
5. Types 15 and 25 will be retained only for a limited time and may
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,20 +104,17 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
ETAGS_ARGS = $(srcdir)/Makefile.am
|
||||
#EXTRA_DIST = TAGS
|
||||
|
||||
#EXTRA_DIST = TAGS
|
||||
noinst_HEADERS = \
|
||||
adjtime.h \
|
||||
audio.h \
|
||||
@ -168,8 +162,6 @@ noinst_HEADERS = \
|
||||
recvbuff.h \
|
||||
trimble.h
|
||||
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = include
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -178,19 +170,17 @@ DIST_SOURCES =
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu include/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -203,7 +193,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -219,10 +209,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -231,7 +221,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -256,23 +250,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
@ -281,11 +272,11 @@ distclean: distclean-am
|
||||
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -293,7 +284,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -307,14 +298,16 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic distclean \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic distclean \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic tags uninstall uninstall-am
|
||||
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -457,7 +457,9 @@ struct peer {
|
||||
#define REFCLK_FG 37 /* Forum Graphic GPS */
|
||||
#define REFCLK_HOPF_SERIAL 38 /* hopf DCF77/GPS serial line receiver */
|
||||
#define REFCLK_HOPF_PCI 39 /* hopf DCF77/GPS PCI receiver */
|
||||
#define REFCLK_MAX 39 /* Grow as needed... */
|
||||
#define REFCLK_JJY 40 /* JJY receiver */
|
||||
#define REFCLK_ZYFER 41 /* Zyfer GPStarplus receiver */
|
||||
#define REFCLK_MAX 41 /* Grow as needed... */
|
||||
|
||||
/*
|
||||
* We tell reference clocks from real peers by giving the reference
|
||||
|
@ -434,6 +434,48 @@ struct servent *getservbyname P((char *name, char *type));
|
||||
# endif
|
||||
#endif /* NTP_SYSCALLS_STD */
|
||||
|
||||
#ifdef MPE
|
||||
# include <sys/types.h>
|
||||
# include <netinet/in.h>
|
||||
# include <stdio.h>
|
||||
# include <time.h>
|
||||
|
||||
/* missing functions that are easily renamed */
|
||||
|
||||
# define _getch getchar
|
||||
|
||||
/* special functions that require MPE-specific wrappers */
|
||||
|
||||
# define bind __ntp_mpe_bind
|
||||
# define fcntl __ntp_mpe_fcntl
|
||||
|
||||
/* standard macros missing from MPE include files */
|
||||
|
||||
# define IN_CLASSD(i) ((((long)(i))&0xf0000000)==0xe0000000)
|
||||
# define IN_MULTICAST IN_CLASSD
|
||||
# define ITIMER_REAL 0
|
||||
# define MAXHOSTNAMELEN 64
|
||||
|
||||
/* standard structures missing from MPE include files */
|
||||
|
||||
struct itimerval {
|
||||
struct timeval it_interval; /* timer interval */
|
||||
struct timeval it_value; /* current value */
|
||||
};
|
||||
|
||||
/* various declarations to make gcc stop complaining */
|
||||
|
||||
extern int __filbuf(FILE *);
|
||||
extern int __flsbuf(int, FILE *);
|
||||
extern int gethostname(char *, int);
|
||||
extern unsigned long inet_addr(char *);
|
||||
extern char *strdup(const char *);
|
||||
|
||||
/* miscellaneous NTP macros */
|
||||
|
||||
# define HAVE_NO_NICE
|
||||
#endif /* MPE */
|
||||
|
||||
#ifdef HAVE_RTPRIO
|
||||
# define HAVE_NO_NICE
|
||||
#else
|
||||
|
@ -128,9 +128,20 @@ struct req_pkt {
|
||||
char mac[MAX_MAC_LEN-sizeof(u_int32)]; /* (optional) 8 byte auth code */
|
||||
};
|
||||
|
||||
/*
|
||||
* The req_pkt_tail structure is used by ntpd to adjust for different
|
||||
* packet sizes that may arrive.
|
||||
*/
|
||||
struct req_pkt_tail {
|
||||
l_fp tstamp; /* time stamp, for authentication */
|
||||
keyid_t keyid; /* encryption key */
|
||||
char mac[MAX_MAC_LEN-sizeof(u_int32)]; /* (optional) 8 byte auth code */
|
||||
};
|
||||
|
||||
/*
|
||||
* Input packet lengths. One with the mac, one without.
|
||||
*/
|
||||
#define REQ_LEN_HDR 8 /* 4 * u_char + 2 * u_short */
|
||||
#define REQ_LEN_MAC (sizeof(struct req_pkt))
|
||||
#define REQ_LEN_NOMAC (sizeof(struct req_pkt) - MAX_MAC_LEN)
|
||||
|
||||
@ -285,7 +296,7 @@ struct resp_pkt {
|
||||
#define INFO_FLAG_KERNEL 0x8
|
||||
#define INFO_FLAG_MONITOR 0x40
|
||||
#define INFO_FLAG_FILEGEN 0x80
|
||||
#define INFO_FLAG_PLL_SYNC 0x10
|
||||
#define INFO_FLAG_CAL 0x10
|
||||
#define INFO_FLAG_PPS_SYNC 0x20
|
||||
|
||||
/*
|
||||
@ -521,6 +532,18 @@ struct info_timer_stats {
|
||||
/*
|
||||
* Structure for passing peer configuration information
|
||||
*/
|
||||
struct old_conf_peer {
|
||||
u_int32 peeraddr; /* address to poll */
|
||||
u_char hmode; /* mode, either broadcast, active or client */
|
||||
u_char version; /* version number to poll with */
|
||||
u_char minpoll; /* min host poll interval */
|
||||
u_char maxpoll; /* max host poll interval */
|
||||
u_char flags; /* flags for this request */
|
||||
u_char ttl; /* time to live (multicast) or refclock mode */
|
||||
u_short unused; /* unused */
|
||||
keyid_t keyid; /* key to use for this association */
|
||||
};
|
||||
|
||||
struct conf_peer {
|
||||
u_int32 peeraddr; /* address to poll */
|
||||
u_char hmode; /* mode, either broadcast, active or client */
|
||||
@ -560,12 +583,14 @@ struct conf_sys_flags {
|
||||
/*
|
||||
* System flags we can set/clear
|
||||
*/
|
||||
#define SYS_FLAG_BCLIENT 0x1
|
||||
#define SYS_FLAG_PPS 0x2
|
||||
#define SYS_FLAG_NTP 0x4
|
||||
#define SYS_FLAG_KERNEL 0x8
|
||||
#define SYS_FLAG_BCLIENT 0x01
|
||||
#define SYS_FLAG_PPS 0x02
|
||||
#define SYS_FLAG_NTP 0x04
|
||||
#define SYS_FLAG_KERNEL 0x08
|
||||
#define SYS_FLAG_MONITOR 0x10
|
||||
#define SYS_FLAG_FILEGEN 0x20
|
||||
#define SYS_FLAG_AUTH 0x40
|
||||
#define SYS_FLAG_CAL 0x80
|
||||
|
||||
/*
|
||||
* Structure used for returning restrict entries
|
||||
|
@ -298,7 +298,7 @@ extern int state; /* clock discipline state */
|
||||
extern int tc_counter; /* poll-adjust counter */
|
||||
extern u_long last_time; /* time of last clock update (s) */
|
||||
extern double last_offset; /* last clock offset (s) */
|
||||
extern double allan_xpt; /* Allan intercept (s) */
|
||||
extern u_char allan_xpt; /* Allan intercept (s) */
|
||||
extern double sys_error; /* system RMS error (s) */
|
||||
extern double sys_jitter; /* system RMS jitter (s) */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,42 +104,40 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
SUBDIRS = sys
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXTRA_DIST = chuinit.c clkinit.c tty_chu.c tty_chu_STREAMS.c tty_clk.c tty_clk_STREAMS.c
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = kernel
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||
uninstall-info-recursive all-recursive install-data-recursive \
|
||||
install-exec-recursive installdirs-recursive install-recursive \
|
||||
uninstall-recursive check-recursive installcheck-recursive
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu kernel/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
@ -150,10 +145,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
install-info-recursive uninstall-info-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
@ -218,9 +210,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
@ -234,10 +226,10 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -246,7 +238,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -272,7 +268,6 @@ distdir: $(DISTFILES)
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
|
||||
@ -285,23 +280,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
@ -310,11 +302,11 @@ distclean: distclean-recursive
|
||||
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
@ -322,7 +314,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
@ -336,20 +328,24 @@ mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
.PHONY: all all-am all-recursive check check-am check-recursive clean \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||
clean-generic clean-recursive distclean distclean-generic \
|
||||
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||
dvi-recursive info info-am info-recursive install install-am \
|
||||
install-data install-data-am install-data-recursive \
|
||||
install-exec install-exec-am install-exec-recursive \
|
||||
install-info install-info-recursive install-man \
|
||||
install-info install-info-am install-info-recursive install-man \
|
||||
install-recursive install-strip installcheck installcheck-am \
|
||||
installcheck-recursive installdirs installdirs-am \
|
||||
installdirs-recursive maintainer-clean maintainer-clean-generic \
|
||||
installdirs installdirs-am installdirs-recursive \
|
||||
maintainer-clean maintainer-clean-generic \
|
||||
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||
mostlyclean-recursive tags tags-recursive uninstall \
|
||||
uninstall-am uninstall-info-recursive uninstall-recursive
|
||||
|
||||
uninstall-am uninstall-info-am uninstall-info-recursive \
|
||||
uninstall-recursive
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../../util/ansi2knr
|
||||
noinst_HEADERS = bsd_audioirig.h chudefs.h clkdefs.h i8253.h parsestreams.h \
|
||||
pcl720.h ppsclock.h timex.h tpro.h
|
||||
@ -125,8 +119,6 @@ pcl720.h ppsclock.h timex.h tpro.h
|
||||
# HMS: Avoid bug in automake
|
||||
#ETAGS_ARGS = ""
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = kernel/sys
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -135,19 +127,17 @@ DIST_SOURCES =
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu kernel/sys/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -160,7 +150,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -176,10 +166,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -188,7 +178,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -213,23 +207,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
@ -238,11 +229,11 @@ distclean: distclean-am
|
||||
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -250,7 +241,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -264,14 +255,16 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic distclean \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic distclean \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic tags uninstall uninstall-am
|
||||
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -2,21 +2,18 @@
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
noinst_LIBRARIES = libntp.a
|
||||
libntp_a_SOURCES = a_md5encrypt.c adjtime.c atoint.c atolfp.c atouint.c \
|
||||
authencrypt.c authkeys.c authparity.c authreadkeys.c authusekey.c \
|
||||
buftvtots.c caljulian.c calleapwhen.c caltontp.c calyearstart.c \
|
||||
clocktime.c clocktypes.c decodenetnum.c dofptoa.c dolfptoa.c \
|
||||
emalloc.c findconfig.c fptoa.c fptoms.c getopt.c hextoint.c \
|
||||
hextolfp.c humandate.c inttoa.c lib_strbuf.c machines.c md5c.c \
|
||||
memmove.c mfptoa.c mfptoms.c modetoa.c mstolfp.c msutotsf.c \
|
||||
audio.c authencrypt.c authkeys.c authparity.c authreadkeys.c \
|
||||
authusekey.c binio.c buftvtots.c caljulian.c calleapwhen.c caltontp.c \
|
||||
calyearstart.c clocktime.c clocktypes.c decodenetnum.c dofptoa.c \
|
||||
dolfptoa.c emalloc.c findconfig.c fptoa.c fptoms.c getopt.c \
|
||||
gpstolfp.c hextoint.c hextolfp.c humandate.c icom.c ieee754io.c \
|
||||
inttoa.c iosignal.c lib_strbuf.c machines.c md5c.c memmove.c \
|
||||
mfp_mul.c mfptoa.c mfptoms.c mktime.c modetoa.c mstolfp.c msutotsf.c \
|
||||
msyslog.c netof.c numtoa.c numtohost.c octtoint.c prettydate.c \
|
||||
ranny.c refnumtoa.c statestr.c syssignal.c systime.c tsftomsu.c \
|
||||
tstotv.c tvtoa.c tvtots.c uglydate.c uinttoa.c utvtoa.c ymd2yd.c \
|
||||
mfp_mul.c binio.c ieee754io.c gpstolfp.c recvbuff.c iosignal.c \
|
||||
icom.c audio.c
|
||||
EXTRA_libntp_a_SOURCES = adjtimex.c log.c mktime.c random.c snprintf.c \
|
||||
strdup.c strerror.c
|
||||
libntp_a_LIBADD = @LIBOBJS@
|
||||
libntp_a_DEPENDENCIES = @LIBOBJS@
|
||||
ranny.c recvbuff.c refnumtoa.c snprintf.c statestr.c strdup.c \
|
||||
strerror.c syssignal.c systime.c tsftomsu.c tstotv.c tvtoa.c tvtots.c \
|
||||
uglydate.c uinttoa.c utvtoa.c ymd2yd.c
|
||||
EXTRA_libntp_a_SOURCES = adjtimex.c log.c random.c
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/librsaref
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,310 +104,390 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
noinst_LIBRARIES = libntp.a
|
||||
libntp_a_SOURCES = a_md5encrypt.c adjtime.c atoint.c atolfp.c atouint.c \
|
||||
authencrypt.c authkeys.c authparity.c authreadkeys.c authusekey.c \
|
||||
buftvtots.c caljulian.c calleapwhen.c caltontp.c calyearstart.c \
|
||||
clocktime.c clocktypes.c decodenetnum.c dofptoa.c dolfptoa.c \
|
||||
emalloc.c findconfig.c fptoa.c fptoms.c getopt.c hextoint.c \
|
||||
hextolfp.c humandate.c inttoa.c lib_strbuf.c machines.c md5c.c \
|
||||
memmove.c mfptoa.c mfptoms.c modetoa.c mstolfp.c msutotsf.c \
|
||||
audio.c authencrypt.c authkeys.c authparity.c authreadkeys.c \
|
||||
authusekey.c binio.c buftvtots.c caljulian.c calleapwhen.c caltontp.c \
|
||||
calyearstart.c clocktime.c clocktypes.c decodenetnum.c dofptoa.c \
|
||||
dolfptoa.c emalloc.c findconfig.c fptoa.c fptoms.c getopt.c \
|
||||
gpstolfp.c hextoint.c hextolfp.c humandate.c icom.c ieee754io.c \
|
||||
inttoa.c iosignal.c lib_strbuf.c machines.c md5c.c memmove.c \
|
||||
mfp_mul.c mfptoa.c mfptoms.c mktime.c modetoa.c mstolfp.c msutotsf.c \
|
||||
msyslog.c netof.c numtoa.c numtohost.c octtoint.c prettydate.c \
|
||||
ranny.c refnumtoa.c statestr.c syssignal.c systime.c tsftomsu.c \
|
||||
tstotv.c tvtoa.c tvtots.c uglydate.c uinttoa.c utvtoa.c ymd2yd.c \
|
||||
mfp_mul.c binio.c ieee754io.c gpstolfp.c recvbuff.c iosignal.c \
|
||||
icom.c audio.c
|
||||
ranny.c recvbuff.c refnumtoa.c snprintf.c statestr.c strdup.c \
|
||||
strerror.c syssignal.c systime.c tsftomsu.c tstotv.c tvtoa.c tvtots.c \
|
||||
uglydate.c uinttoa.c utvtoa.c ymd2yd.c
|
||||
|
||||
EXTRA_libntp_a_SOURCES = adjtimex.c log.c mktime.c random.c snprintf.c \
|
||||
strdup.c strerror.c
|
||||
|
||||
libntp_a_LIBADD = @LIBOBJS@
|
||||
libntp_a_DEPENDENCIES = @LIBOBJS@
|
||||
EXTRA_libntp_a_SOURCES = adjtimex.c log.c random.c
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/librsaref
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
noinst_HEADERS = lib_strbuf.h log.h
|
||||
|
||||
EXTRA_DIST = README
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = libntp
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
libntp_a_AR = $(AR) cru
|
||||
libntp_a_LIBADD =
|
||||
am_libntp_a_OBJECTS = a_md5encrypt$U.$(OBJEXT) adjtime$U.$(OBJEXT) \
|
||||
atoint$U.$(OBJEXT) atolfp$U.$(OBJEXT) atouint$U.$(OBJEXT) \
|
||||
authencrypt$U.$(OBJEXT) authkeys$U.$(OBJEXT) authparity$U.$(OBJEXT) \
|
||||
authreadkeys$U.$(OBJEXT) authusekey$U.$(OBJEXT) buftvtots$U.$(OBJEXT) \
|
||||
caljulian$U.$(OBJEXT) calleapwhen$U.$(OBJEXT) caltontp$U.$(OBJEXT) \
|
||||
calyearstart$U.$(OBJEXT) clocktime$U.$(OBJEXT) clocktypes$U.$(OBJEXT) \
|
||||
decodenetnum$U.$(OBJEXT) dofptoa$U.$(OBJEXT) dolfptoa$U.$(OBJEXT) \
|
||||
emalloc$U.$(OBJEXT) findconfig$U.$(OBJEXT) fptoa$U.$(OBJEXT) \
|
||||
fptoms$U.$(OBJEXT) getopt$U.$(OBJEXT) hextoint$U.$(OBJEXT) \
|
||||
hextolfp$U.$(OBJEXT) humandate$U.$(OBJEXT) inttoa$U.$(OBJEXT) \
|
||||
lib_strbuf$U.$(OBJEXT) machines$U.$(OBJEXT) md5c$U.$(OBJEXT) \
|
||||
memmove$U.$(OBJEXT) mfptoa$U.$(OBJEXT) mfptoms$U.$(OBJEXT) \
|
||||
modetoa$U.$(OBJEXT) mstolfp$U.$(OBJEXT) msutotsf$U.$(OBJEXT) \
|
||||
msyslog$U.$(OBJEXT) netof$U.$(OBJEXT) numtoa$U.$(OBJEXT) \
|
||||
numtohost$U.$(OBJEXT) octtoint$U.$(OBJEXT) prettydate$U.$(OBJEXT) \
|
||||
ranny$U.$(OBJEXT) refnumtoa$U.$(OBJEXT) statestr$U.$(OBJEXT) \
|
||||
syssignal$U.$(OBJEXT) systime$U.$(OBJEXT) tsftomsu$U.$(OBJEXT) \
|
||||
tstotv$U.$(OBJEXT) tvtoa$U.$(OBJEXT) tvtots$U.$(OBJEXT) \
|
||||
uglydate$U.$(OBJEXT) uinttoa$U.$(OBJEXT) utvtoa$U.$(OBJEXT) \
|
||||
ymd2yd$U.$(OBJEXT) mfp_mul$U.$(OBJEXT) binio$U.$(OBJEXT) \
|
||||
ieee754io$U.$(OBJEXT) gpstolfp$U.$(OBJEXT) recvbuff$U.$(OBJEXT) \
|
||||
iosignal$U.$(OBJEXT) icom$U.$(OBJEXT) audio$U.$(OBJEXT)
|
||||
atoint$U.$(OBJEXT) atolfp$U.$(OBJEXT) atouint$U.$(OBJEXT) \
|
||||
audio$U.$(OBJEXT) authencrypt$U.$(OBJEXT) authkeys$U.$(OBJEXT) \
|
||||
authparity$U.$(OBJEXT) authreadkeys$U.$(OBJEXT) \
|
||||
authusekey$U.$(OBJEXT) binio$U.$(OBJEXT) buftvtots$U.$(OBJEXT) \
|
||||
caljulian$U.$(OBJEXT) calleapwhen$U.$(OBJEXT) \
|
||||
caltontp$U.$(OBJEXT) calyearstart$U.$(OBJEXT) \
|
||||
clocktime$U.$(OBJEXT) clocktypes$U.$(OBJEXT) \
|
||||
decodenetnum$U.$(OBJEXT) dofptoa$U.$(OBJEXT) \
|
||||
dolfptoa$U.$(OBJEXT) emalloc$U.$(OBJEXT) findconfig$U.$(OBJEXT) \
|
||||
fptoa$U.$(OBJEXT) fptoms$U.$(OBJEXT) getopt$U.$(OBJEXT) \
|
||||
gpstolfp$U.$(OBJEXT) hextoint$U.$(OBJEXT) hextolfp$U.$(OBJEXT) \
|
||||
humandate$U.$(OBJEXT) icom$U.$(OBJEXT) ieee754io$U.$(OBJEXT) \
|
||||
inttoa$U.$(OBJEXT) iosignal$U.$(OBJEXT) lib_strbuf$U.$(OBJEXT) \
|
||||
machines$U.$(OBJEXT) md5c$U.$(OBJEXT) memmove$U.$(OBJEXT) \
|
||||
mfp_mul$U.$(OBJEXT) mfptoa$U.$(OBJEXT) mfptoms$U.$(OBJEXT) \
|
||||
mktime$U.$(OBJEXT) modetoa$U.$(OBJEXT) mstolfp$U.$(OBJEXT) \
|
||||
msutotsf$U.$(OBJEXT) msyslog$U.$(OBJEXT) netof$U.$(OBJEXT) \
|
||||
numtoa$U.$(OBJEXT) numtohost$U.$(OBJEXT) octtoint$U.$(OBJEXT) \
|
||||
prettydate$U.$(OBJEXT) ranny$U.$(OBJEXT) recvbuff$U.$(OBJEXT) \
|
||||
refnumtoa$U.$(OBJEXT) snprintf$U.$(OBJEXT) statestr$U.$(OBJEXT) \
|
||||
strdup$U.$(OBJEXT) strerror$U.$(OBJEXT) syssignal$U.$(OBJEXT) \
|
||||
systime$U.$(OBJEXT) tsftomsu$U.$(OBJEXT) tstotv$U.$(OBJEXT) \
|
||||
tvtoa$U.$(OBJEXT) tvtots$U.$(OBJEXT) uglydate$U.$(OBJEXT) \
|
||||
uinttoa$U.$(OBJEXT) utvtoa$U.$(OBJEXT) ymd2yd$U.$(OBJEXT)
|
||||
libntp_a_OBJECTS = $(am_libntp_a_OBJECTS)
|
||||
AR = ar
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/a_md5encrypt$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/adjtime$U.Po $(DEPDIR)/adjtimex$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/atoint$U.Po $(DEPDIR)/atolfp$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/atouint$U.Po $(DEPDIR)/audio$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/authencrypt$U.Po $(DEPDIR)/authkeys$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/authparity$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/authreadkeys$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/authusekey$U.Po $(DEPDIR)/binio$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/buftvtots$U.Po $(DEPDIR)/caljulian$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/calleapwhen$U.Po $(DEPDIR)/caltontp$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/calyearstart$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clocktime$U.Po $(DEPDIR)/clocktypes$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/decodenetnum$U.Po $(DEPDIR)/dofptoa$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/dolfptoa$U.Po $(DEPDIR)/emalloc$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/findconfig$U.Po $(DEPDIR)/fptoa$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/fptoms$U.Po $(DEPDIR)/getopt$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/gpstolfp$U.Po $(DEPDIR)/hextoint$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/hextolfp$U.Po $(DEPDIR)/humandate$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/icom$U.Po $(DEPDIR)/ieee754io$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/inttoa$U.Po $(DEPDIR)/iosignal$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/lib_strbuf$U.Po $(DEPDIR)/log$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/machines$U.Po $(DEPDIR)/md5c$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/memmove$U.Po $(DEPDIR)/mfp_mul$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/mfptoa$U.Po $(DEPDIR)/mfptoms$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/mktime$U.Po $(DEPDIR)/modetoa$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/mstolfp$U.Po $(DEPDIR)/msutotsf$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/msyslog$U.Po $(DEPDIR)/netof$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/numtoa$U.Po $(DEPDIR)/numtohost$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/octtoint$U.Po $(DEPDIR)/prettydate$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/random$U.Po $(DEPDIR)/ranny$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/recvbuff$U.Po $(DEPDIR)/refnumtoa$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/snprintf$U.Po $(DEPDIR)/statestr$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/strdup$U.Po $(DEPDIR)/strerror$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/syssignal$U.Po $(DEPDIR)/systime$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/tsftomsu$U.Po $(DEPDIR)/tstotv$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/tvtoa$U.Po $(DEPDIR)/tvtots$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/uglydate$U.Po $(DEPDIR)/uinttoa$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/utvtoa$U.Po $(DEPDIR)/ymd2yd$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(libntp_a_SOURCES) $(EXTRA_libntp_a_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/*.Po $(DEPDIR)/a_md5encrypt$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/adjtime$U.Po $(DEPDIR)/adjtimex$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/atoint$U.Po $(DEPDIR)/atolfp$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/atouint$U.Po $(DEPDIR)/audio$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/authencrypt$U.Po $(DEPDIR)/authkeys$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/authparity$U.Po $(DEPDIR)/authreadkeys$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/authusekey$U.Po $(DEPDIR)/binio$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/buftvtots$U.Po $(DEPDIR)/caljulian$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/calleapwhen$U.Po $(DEPDIR)/caltontp$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/calyearstart$U.Po $(DEPDIR)/clocktime$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clocktypes$U.Po $(DEPDIR)/decodenetnum$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/dofptoa$U.Po $(DEPDIR)/dolfptoa$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/emalloc$U.Po $(DEPDIR)/findconfig$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/fptoa$U.Po $(DEPDIR)/fptoms$U.Po $(DEPDIR)/getopt$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/gpstolfp$U.Po $(DEPDIR)/hextoint$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/hextolfp$U.Po $(DEPDIR)/humandate$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/icom$U.Po $(DEPDIR)/ieee754io$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/inttoa$U.Po $(DEPDIR)/iosignal$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/lib_strbuf$U.Po $(DEPDIR)/log$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/machines$U.Po $(DEPDIR)/md5c$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/memmove$U.Po $(DEPDIR)/mfp_mul$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/mfptoa$U.Po $(DEPDIR)/mfptoms$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/mktime$U.Po $(DEPDIR)/mktime.Po $(DEPDIR)/modetoa$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/mstolfp$U.Po $(DEPDIR)/msutotsf$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/msyslog$U.Po $(DEPDIR)/netof$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/numtoa$U.Po $(DEPDIR)/numtohost$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/octtoint$U.Po $(DEPDIR)/prettydate$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/random$U.Po $(DEPDIR)/ranny$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/recvbuff$U.Po $(DEPDIR)/refnumtoa$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/snprintf$U.Po $(DEPDIR)/snprintf.Po \
|
||||
@AMDEP@ $(DEPDIR)/statestr$U.Po $(DEPDIR)/strdup$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/strdup.Po $(DEPDIR)/strerror$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/strerror.Po $(DEPDIR)/syssignal$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/systime$U.Po $(DEPDIR)/tsftomsu$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/tstotv$U.Po $(DEPDIR)/tvtoa$U.Po $(DEPDIR)/tvtots$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/uglydate$U.Po $(DEPDIR)/uinttoa$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/utvtoa$U.Po $(DEPDIR)/ymd2yd$U.Po
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in mktime.c \
|
||||
snprintf.c strdup.c strerror.c
|
||||
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
SOURCES = $(libntp_a_SOURCES) $(EXTRA_libntp_a_SOURCES)
|
||||
OBJECTS = $(am_libntp_a_OBJECTS)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu libntp/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
AR = ar
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
libntp.a: $(libntp_a_OBJECTS) $(libntp_a_DEPENDENCIES)
|
||||
-rm -f libntp.a
|
||||
$(libntp_a_AR) libntp.a $(libntp_a_OBJECTS) $(libntp_a_LIBADD)
|
||||
$(RANLIB) libntp.a
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
libntp.a: $(libntp_a_OBJECTS) $(libntp_a_DEPENDENCIES)
|
||||
-rm -f libntp.a
|
||||
$(libntp_a_AR) libntp.a $(libntp_a_OBJECTS) $(libntp_a_LIBADD)
|
||||
$(RANLIB) libntp.a
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/a_md5encrypt$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/adjtime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/adjtimex$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/atoint$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/atolfp$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/atouint$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/audio$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/authencrypt$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/authkeys$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/authparity$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/authreadkeys$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/authusekey$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/binio$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/buftvtots$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/caljulian$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/calleapwhen$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/caltontp$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/calyearstart$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clocktime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clocktypes$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/decodenetnum$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dofptoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dolfptoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/emalloc$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/findconfig$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/fptoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/fptoms$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gpstolfp$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/hextoint$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/hextolfp$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/humandate$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/icom$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ieee754io$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/inttoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/iosignal$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/lib_strbuf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/log$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/machines$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/md5c$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/memmove$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mfp_mul$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mfptoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mfptoms$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mktime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/modetoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mstolfp$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/msutotsf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/msyslog$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/netof$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/numtoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/numtohost$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/octtoint$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/prettydate$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/random$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ranny$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/recvbuff$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refnumtoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/snprintf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/statestr$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strdup$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strerror$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/syssignal$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/systime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tsftomsu$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tstotv$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tvtoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tvtots$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/uglydate$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/uinttoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/utvtoa$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ymd2yd$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
a_md5encrypt_.c: a_md5encrypt.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/a_md5encrypt.c; then echo $(srcdir)/a_md5encrypt.c; else echo a_md5encrypt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > a_md5encrypt_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/a_md5encrypt.c; then echo $(srcdir)/a_md5encrypt.c; else echo a_md5encrypt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > a_md5encrypt_.c || rm -f a_md5encrypt_.c
|
||||
adjtime_.c: adjtime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtime.c; then echo $(srcdir)/adjtime.c; else echo adjtime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtime.c; then echo $(srcdir)/adjtime.c; else echo adjtime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtime_.c || rm -f adjtime_.c
|
||||
adjtimex_.c: adjtimex.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtimex.c; then echo $(srcdir)/adjtimex.c; else echo adjtimex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtimex_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/adjtimex.c; then echo $(srcdir)/adjtimex.c; else echo adjtimex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtimex_.c || rm -f adjtimex_.c
|
||||
atoint_.c: atoint.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atoint.c; then echo $(srcdir)/atoint.c; else echo atoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atoint_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atoint.c; then echo $(srcdir)/atoint.c; else echo atoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atoint_.c || rm -f atoint_.c
|
||||
atolfp_.c: atolfp.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atolfp.c; then echo $(srcdir)/atolfp.c; else echo atolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atolfp_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atolfp.c; then echo $(srcdir)/atolfp.c; else echo atolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atolfp_.c || rm -f atolfp_.c
|
||||
atouint_.c: atouint.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atouint.c; then echo $(srcdir)/atouint.c; else echo atouint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atouint_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atouint.c; then echo $(srcdir)/atouint.c; else echo atouint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atouint_.c || rm -f atouint_.c
|
||||
audio_.c: audio.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/audio.c; then echo $(srcdir)/audio.c; else echo audio.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > audio_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/audio.c; then echo $(srcdir)/audio.c; else echo audio.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > audio_.c || rm -f audio_.c
|
||||
authencrypt_.c: authencrypt.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authencrypt.c; then echo $(srcdir)/authencrypt.c; else echo authencrypt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authencrypt_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authencrypt.c; then echo $(srcdir)/authencrypt.c; else echo authencrypt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authencrypt_.c || rm -f authencrypt_.c
|
||||
authkeys_.c: authkeys.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authkeys.c; then echo $(srcdir)/authkeys.c; else echo authkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authkeys_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authkeys.c; then echo $(srcdir)/authkeys.c; else echo authkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authkeys_.c || rm -f authkeys_.c
|
||||
authparity_.c: authparity.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authparity.c; then echo $(srcdir)/authparity.c; else echo authparity.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authparity_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authparity.c; then echo $(srcdir)/authparity.c; else echo authparity.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authparity_.c || rm -f authparity_.c
|
||||
authreadkeys_.c: authreadkeys.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authreadkeys.c; then echo $(srcdir)/authreadkeys.c; else echo authreadkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authreadkeys_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authreadkeys.c; then echo $(srcdir)/authreadkeys.c; else echo authreadkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authreadkeys_.c || rm -f authreadkeys_.c
|
||||
authusekey_.c: authusekey.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authusekey.c; then echo $(srcdir)/authusekey.c; else echo authusekey.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authusekey_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/authusekey.c; then echo $(srcdir)/authusekey.c; else echo authusekey.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > authusekey_.c || rm -f authusekey_.c
|
||||
binio_.c: binio.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/binio.c; then echo $(srcdir)/binio.c; else echo binio.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > binio_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/binio.c; then echo $(srcdir)/binio.c; else echo binio.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > binio_.c || rm -f binio_.c
|
||||
buftvtots_.c: buftvtots.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/buftvtots.c; then echo $(srcdir)/buftvtots.c; else echo buftvtots.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > buftvtots_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/buftvtots.c; then echo $(srcdir)/buftvtots.c; else echo buftvtots.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > buftvtots_.c || rm -f buftvtots_.c
|
||||
caljulian_.c: caljulian.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/caljulian.c; then echo $(srcdir)/caljulian.c; else echo caljulian.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > caljulian_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/caljulian.c; then echo $(srcdir)/caljulian.c; else echo caljulian.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > caljulian_.c || rm -f caljulian_.c
|
||||
calleapwhen_.c: calleapwhen.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calleapwhen.c; then echo $(srcdir)/calleapwhen.c; else echo calleapwhen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calleapwhen_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calleapwhen.c; then echo $(srcdir)/calleapwhen.c; else echo calleapwhen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calleapwhen_.c || rm -f calleapwhen_.c
|
||||
caltontp_.c: caltontp.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/caltontp.c; then echo $(srcdir)/caltontp.c; else echo caltontp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > caltontp_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/caltontp.c; then echo $(srcdir)/caltontp.c; else echo caltontp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > caltontp_.c || rm -f caltontp_.c
|
||||
calyearstart_.c: calyearstart.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calyearstart.c; then echo $(srcdir)/calyearstart.c; else echo calyearstart.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calyearstart_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calyearstart.c; then echo $(srcdir)/calyearstart.c; else echo calyearstart.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calyearstart_.c || rm -f calyearstart_.c
|
||||
clocktime_.c: clocktime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clocktime.c; then echo $(srcdir)/clocktime.c; else echo clocktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clocktime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clocktime.c; then echo $(srcdir)/clocktime.c; else echo clocktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clocktime_.c || rm -f clocktime_.c
|
||||
clocktypes_.c: clocktypes.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clocktypes.c; then echo $(srcdir)/clocktypes.c; else echo clocktypes.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clocktypes_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clocktypes.c; then echo $(srcdir)/clocktypes.c; else echo clocktypes.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clocktypes_.c || rm -f clocktypes_.c
|
||||
decodenetnum_.c: decodenetnum.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/decodenetnum.c; then echo $(srcdir)/decodenetnum.c; else echo decodenetnum.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > decodenetnum_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/decodenetnum.c; then echo $(srcdir)/decodenetnum.c; else echo decodenetnum.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > decodenetnum_.c || rm -f decodenetnum_.c
|
||||
dofptoa_.c: dofptoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dofptoa.c; then echo $(srcdir)/dofptoa.c; else echo dofptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dofptoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dofptoa.c; then echo $(srcdir)/dofptoa.c; else echo dofptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dofptoa_.c || rm -f dofptoa_.c
|
||||
dolfptoa_.c: dolfptoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dolfptoa.c; then echo $(srcdir)/dolfptoa.c; else echo dolfptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dolfptoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dolfptoa.c; then echo $(srcdir)/dolfptoa.c; else echo dolfptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dolfptoa_.c || rm -f dolfptoa_.c
|
||||
emalloc_.c: emalloc.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/emalloc.c; then echo $(srcdir)/emalloc.c; else echo emalloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > emalloc_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/emalloc.c; then echo $(srcdir)/emalloc.c; else echo emalloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > emalloc_.c || rm -f emalloc_.c
|
||||
findconfig_.c: findconfig.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/findconfig.c; then echo $(srcdir)/findconfig.c; else echo findconfig.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > findconfig_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/findconfig.c; then echo $(srcdir)/findconfig.c; else echo findconfig.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > findconfig_.c || rm -f findconfig_.c
|
||||
fptoa_.c: fptoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fptoa.c; then echo $(srcdir)/fptoa.c; else echo fptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fptoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fptoa.c; then echo $(srcdir)/fptoa.c; else echo fptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fptoa_.c || rm -f fptoa_.c
|
||||
fptoms_.c: fptoms.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fptoms.c; then echo $(srcdir)/fptoms.c; else echo fptoms.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fptoms_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fptoms.c; then echo $(srcdir)/fptoms.c; else echo fptoms.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fptoms_.c || rm -f fptoms_.c
|
||||
getopt_.c: getopt.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getopt_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getopt_.c || rm -f getopt_.c
|
||||
gpstolfp_.c: gpstolfp.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gpstolfp.c; then echo $(srcdir)/gpstolfp.c; else echo gpstolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gpstolfp_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gpstolfp.c; then echo $(srcdir)/gpstolfp.c; else echo gpstolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gpstolfp_.c || rm -f gpstolfp_.c
|
||||
hextoint_.c: hextoint.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hextoint.c; then echo $(srcdir)/hextoint.c; else echo hextoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hextoint_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hextoint.c; then echo $(srcdir)/hextoint.c; else echo hextoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hextoint_.c || rm -f hextoint_.c
|
||||
hextolfp_.c: hextolfp.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hextolfp.c; then echo $(srcdir)/hextolfp.c; else echo hextolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hextolfp_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hextolfp.c; then echo $(srcdir)/hextolfp.c; else echo hextolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hextolfp_.c || rm -f hextolfp_.c
|
||||
humandate_.c: humandate.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/humandate.c; then echo $(srcdir)/humandate.c; else echo humandate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > humandate_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/humandate.c; then echo $(srcdir)/humandate.c; else echo humandate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > humandate_.c || rm -f humandate_.c
|
||||
icom_.c: icom.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/icom.c; then echo $(srcdir)/icom.c; else echo icom.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > icom_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/icom.c; then echo $(srcdir)/icom.c; else echo icom.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > icom_.c || rm -f icom_.c
|
||||
ieee754io_.c: ieee754io.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ieee754io.c; then echo $(srcdir)/ieee754io.c; else echo ieee754io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ieee754io_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ieee754io.c; then echo $(srcdir)/ieee754io.c; else echo ieee754io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ieee754io_.c || rm -f ieee754io_.c
|
||||
inttoa_.c: inttoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/inttoa.c; then echo $(srcdir)/inttoa.c; else echo inttoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > inttoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/inttoa.c; then echo $(srcdir)/inttoa.c; else echo inttoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > inttoa_.c || rm -f inttoa_.c
|
||||
iosignal_.c: iosignal.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/iosignal.c; then echo $(srcdir)/iosignal.c; else echo iosignal.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > iosignal_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/iosignal.c; then echo $(srcdir)/iosignal.c; else echo iosignal.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > iosignal_.c || rm -f iosignal_.c
|
||||
lib_strbuf_.c: lib_strbuf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/lib_strbuf.c; then echo $(srcdir)/lib_strbuf.c; else echo lib_strbuf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > lib_strbuf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/lib_strbuf.c; then echo $(srcdir)/lib_strbuf.c; else echo lib_strbuf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > lib_strbuf_.c || rm -f lib_strbuf_.c
|
||||
log_.c: log.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/log.c; then echo $(srcdir)/log.c; else echo log.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > log_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/log.c; then echo $(srcdir)/log.c; else echo log.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > log_.c || rm -f log_.c
|
||||
machines_.c: machines.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/machines.c; then echo $(srcdir)/machines.c; else echo machines.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > machines_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/machines.c; then echo $(srcdir)/machines.c; else echo machines.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > machines_.c || rm -f machines_.c
|
||||
md5c_.c: md5c.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/md5c.c; then echo $(srcdir)/md5c.c; else echo md5c.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > md5c_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/md5c.c; then echo $(srcdir)/md5c.c; else echo md5c.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > md5c_.c || rm -f md5c_.c
|
||||
memmove_.c: memmove.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memmove.c; then echo $(srcdir)/memmove.c; else echo memmove.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memmove_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memmove.c; then echo $(srcdir)/memmove.c; else echo memmove.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memmove_.c || rm -f memmove_.c
|
||||
mfp_mul_.c: mfp_mul.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfp_mul.c; then echo $(srcdir)/mfp_mul.c; else echo mfp_mul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfp_mul_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfp_mul.c; then echo $(srcdir)/mfp_mul.c; else echo mfp_mul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfp_mul_.c || rm -f mfp_mul_.c
|
||||
mfptoa_.c: mfptoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfptoa.c; then echo $(srcdir)/mfptoa.c; else echo mfptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfptoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfptoa.c; then echo $(srcdir)/mfptoa.c; else echo mfptoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfptoa_.c || rm -f mfptoa_.c
|
||||
mfptoms_.c: mfptoms.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfptoms.c; then echo $(srcdir)/mfptoms.c; else echo mfptoms.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfptoms_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mfptoms.c; then echo $(srcdir)/mfptoms.c; else echo mfptoms.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mfptoms_.c || rm -f mfptoms_.c
|
||||
mktime_.c: mktime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mktime.c; then echo $(srcdir)/mktime.c; else echo mktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mktime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mktime.c; then echo $(srcdir)/mktime.c; else echo mktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mktime_.c || rm -f mktime_.c
|
||||
modetoa_.c: modetoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/modetoa.c; then echo $(srcdir)/modetoa.c; else echo modetoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > modetoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/modetoa.c; then echo $(srcdir)/modetoa.c; else echo modetoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > modetoa_.c || rm -f modetoa_.c
|
||||
mstolfp_.c: mstolfp.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mstolfp.c; then echo $(srcdir)/mstolfp.c; else echo mstolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mstolfp_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mstolfp.c; then echo $(srcdir)/mstolfp.c; else echo mstolfp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mstolfp_.c || rm -f mstolfp_.c
|
||||
msutotsf_.c: msutotsf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/msutotsf.c; then echo $(srcdir)/msutotsf.c; else echo msutotsf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > msutotsf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/msutotsf.c; then echo $(srcdir)/msutotsf.c; else echo msutotsf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > msutotsf_.c || rm -f msutotsf_.c
|
||||
msyslog_.c: msyslog.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/msyslog.c; then echo $(srcdir)/msyslog.c; else echo msyslog.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > msyslog_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/msyslog.c; then echo $(srcdir)/msyslog.c; else echo msyslog.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > msyslog_.c || rm -f msyslog_.c
|
||||
netof_.c: netof.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/netof.c; then echo $(srcdir)/netof.c; else echo netof.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > netof_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/netof.c; then echo $(srcdir)/netof.c; else echo netof.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > netof_.c || rm -f netof_.c
|
||||
numtoa_.c: numtoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/numtoa.c; then echo $(srcdir)/numtoa.c; else echo numtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > numtoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/numtoa.c; then echo $(srcdir)/numtoa.c; else echo numtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > numtoa_.c || rm -f numtoa_.c
|
||||
numtohost_.c: numtohost.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/numtohost.c; then echo $(srcdir)/numtohost.c; else echo numtohost.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > numtohost_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/numtohost.c; then echo $(srcdir)/numtohost.c; else echo numtohost.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > numtohost_.c || rm -f numtohost_.c
|
||||
octtoint_.c: octtoint.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/octtoint.c; then echo $(srcdir)/octtoint.c; else echo octtoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > octtoint_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/octtoint.c; then echo $(srcdir)/octtoint.c; else echo octtoint.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > octtoint_.c || rm -f octtoint_.c
|
||||
prettydate_.c: prettydate.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/prettydate.c; then echo $(srcdir)/prettydate.c; else echo prettydate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > prettydate_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/prettydate.c; then echo $(srcdir)/prettydate.c; else echo prettydate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > prettydate_.c || rm -f prettydate_.c
|
||||
random_.c: random.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/random.c; then echo $(srcdir)/random.c; else echo random.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > random_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/random.c; then echo $(srcdir)/random.c; else echo random.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > random_.c || rm -f random_.c
|
||||
ranny_.c: ranny.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ranny.c; then echo $(srcdir)/ranny.c; else echo ranny.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ranny_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ranny.c; then echo $(srcdir)/ranny.c; else echo ranny.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ranny_.c || rm -f ranny_.c
|
||||
recvbuff_.c: recvbuff.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/recvbuff.c; then echo $(srcdir)/recvbuff.c; else echo recvbuff.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > recvbuff_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/recvbuff.c; then echo $(srcdir)/recvbuff.c; else echo recvbuff.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > recvbuff_.c || rm -f recvbuff_.c
|
||||
refnumtoa_.c: refnumtoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refnumtoa.c; then echo $(srcdir)/refnumtoa.c; else echo refnumtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refnumtoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refnumtoa.c; then echo $(srcdir)/refnumtoa.c; else echo refnumtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refnumtoa_.c || rm -f refnumtoa_.c
|
||||
snprintf_.c: snprintf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/snprintf.c; then echo $(srcdir)/snprintf.c; else echo snprintf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > snprintf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/snprintf.c; then echo $(srcdir)/snprintf.c; else echo snprintf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > snprintf_.c || rm -f snprintf_.c
|
||||
statestr_.c: statestr.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/statestr.c; then echo $(srcdir)/statestr.c; else echo statestr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > statestr_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/statestr.c; then echo $(srcdir)/statestr.c; else echo statestr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > statestr_.c || rm -f statestr_.c
|
||||
strdup_.c: strdup.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strdup.c; then echo $(srcdir)/strdup.c; else echo strdup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strdup_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strdup.c; then echo $(srcdir)/strdup.c; else echo strdup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strdup_.c || rm -f strdup_.c
|
||||
strerror_.c: strerror.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strerror.c; then echo $(srcdir)/strerror.c; else echo strerror.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strerror_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strerror.c; then echo $(srcdir)/strerror.c; else echo strerror.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strerror_.c || rm -f strerror_.c
|
||||
syssignal_.c: syssignal.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/syssignal.c; then echo $(srcdir)/syssignal.c; else echo syssignal.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > syssignal_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/syssignal.c; then echo $(srcdir)/syssignal.c; else echo syssignal.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > syssignal_.c || rm -f syssignal_.c
|
||||
systime_.c: systime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/systime.c; then echo $(srcdir)/systime.c; else echo systime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > systime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/systime.c; then echo $(srcdir)/systime.c; else echo systime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > systime_.c || rm -f systime_.c
|
||||
tsftomsu_.c: tsftomsu.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tsftomsu.c; then echo $(srcdir)/tsftomsu.c; else echo tsftomsu.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tsftomsu_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tsftomsu.c; then echo $(srcdir)/tsftomsu.c; else echo tsftomsu.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tsftomsu_.c || rm -f tsftomsu_.c
|
||||
tstotv_.c: tstotv.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tstotv.c; then echo $(srcdir)/tstotv.c; else echo tstotv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tstotv_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tstotv.c; then echo $(srcdir)/tstotv.c; else echo tstotv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tstotv_.c || rm -f tstotv_.c
|
||||
tvtoa_.c: tvtoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tvtoa.c; then echo $(srcdir)/tvtoa.c; else echo tvtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tvtoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tvtoa.c; then echo $(srcdir)/tvtoa.c; else echo tvtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tvtoa_.c || rm -f tvtoa_.c
|
||||
tvtots_.c: tvtots.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tvtots.c; then echo $(srcdir)/tvtots.c; else echo tvtots.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tvtots_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tvtots.c; then echo $(srcdir)/tvtots.c; else echo tvtots.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tvtots_.c || rm -f tvtots_.c
|
||||
uglydate_.c: uglydate.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uglydate.c; then echo $(srcdir)/uglydate.c; else echo uglydate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uglydate_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uglydate.c; then echo $(srcdir)/uglydate.c; else echo uglydate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uglydate_.c || rm -f uglydate_.c
|
||||
uinttoa_.c: uinttoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uinttoa.c; then echo $(srcdir)/uinttoa.c; else echo uinttoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uinttoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uinttoa.c; then echo $(srcdir)/uinttoa.c; else echo uinttoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > uinttoa_.c || rm -f uinttoa_.c
|
||||
utvtoa_.c: utvtoa.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/utvtoa.c; then echo $(srcdir)/utvtoa.c; else echo utvtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > utvtoa_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/utvtoa.c; then echo $(srcdir)/utvtoa.c; else echo utvtoa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > utvtoa_.c || rm -f utvtoa_.c
|
||||
ymd2yd_.c: ymd2yd.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ymd2yd.c; then echo $(srcdir)/ymd2yd.c; else echo ymd2yd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ymd2yd_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ymd2yd.c; then echo $(srcdir)/ymd2yd.c; else echo ymd2yd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ymd2yd_.c || rm -f ymd2yd_.c
|
||||
a_md5encrypt_.$(OBJEXT) adjtime_.$(OBJEXT) adjtimex_.$(OBJEXT) \
|
||||
atoint_.$(OBJEXT) atolfp_.$(OBJEXT) atouint_.$(OBJEXT) audio_.$(OBJEXT) \
|
||||
authencrypt_.$(OBJEXT) authkeys_.$(OBJEXT) authparity_.$(OBJEXT) \
|
||||
@ -435,6 +512,7 @@ syssignal_.$(OBJEXT) systime_.$(OBJEXT) tsftomsu_.$(OBJEXT) \
|
||||
tstotv_.$(OBJEXT) tvtoa_.$(OBJEXT) tvtots_.$(OBJEXT) \
|
||||
uglydate_.$(OBJEXT) uinttoa_.$(OBJEXT) utvtoa_.$(OBJEXT) \
|
||||
ymd2yd_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -447,7 +525,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -463,106 +541,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/*.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/a_md5encrypt$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/adjtime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/adjtimex$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/atoint$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/atolfp$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/atouint$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/audio$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/authencrypt$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/authkeys$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/authparity$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/authreadkeys$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/authusekey$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/binio$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/buftvtots$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/caljulian$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/calleapwhen$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/caltontp$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/calyearstart$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clocktime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clocktypes$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/decodenetnum$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/dofptoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/dolfptoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/emalloc$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/findconfig$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/fptoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/fptoms$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/getopt$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/gpstolfp$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/hextoint$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/hextolfp$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/humandate$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/icom$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ieee754io$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/inttoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/iosignal$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/lib_strbuf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/log$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/machines$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/md5c$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/memmove$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mfp_mul$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mfptoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mfptoms$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mktime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mktime.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/modetoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/mstolfp$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/msutotsf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/msyslog$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/netof$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/numtoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/numtohost$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/octtoint$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/prettydate$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/random$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ranny$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/recvbuff$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refnumtoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/snprintf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/snprintf.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/statestr$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/strdup$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/strdup.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/strerror$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/strerror.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/syssignal$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/systime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/tsftomsu$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/tstotv$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/tvtoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/tvtots$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/uglydate$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/uinttoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/utvtoa$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ymd2yd$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -571,7 +553,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -596,23 +582,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
|
||||
@ -622,11 +605,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -634,7 +617,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -648,15 +631,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstLIBRARIES distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-kr tags uninstall uninstall-am
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
|
||||
../include/des.h:
|
||||
@ -667,7 +653,6 @@ mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
#strerror_.c: strerror.c $(ANSI2KNR)
|
||||
# $(ANSI2KNR) $< strerror_.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -2,6 +2,103 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef MPE
|
||||
/*
|
||||
* MPE lacks adjtime(), so we define our own. But note that time slewing has
|
||||
* a sub-second accuracy bug documented in SR 5003462838 which prevents ntpd
|
||||
* from being able to maintain clock synch. Because of the bug, this adjtime()
|
||||
* implementation as used by ntpd has a side-effect of screwing up the hardware
|
||||
* PDC clock, which will need to be reset with a reboot.
|
||||
*
|
||||
* This problem affects all versions of MPE at the time of this writing (when
|
||||
* MPE/iX 7.0 is the most current). It only causes bad things to happen when
|
||||
* doing continuous clock synchronization with ntpd; note that you CAN run ntpd
|
||||
* with "disable ntp" in ntp.conf if you wish to provide a time server.
|
||||
*
|
||||
* The one-time clock adjustment functionality of ntpdate and ntp_timeset can
|
||||
* be used without screwing up the PDC clock.
|
||||
*
|
||||
*/
|
||||
#include <time.h>
|
||||
|
||||
int adjtime(struct timeval *delta, struct timeval *olddelta);
|
||||
|
||||
int adjtime(struct timeval *delta, struct timeval *olddelta)
|
||||
|
||||
{
|
||||
/* Documented, supported MPE system intrinsics. */
|
||||
|
||||
extern void GETPRIVMODE(void);
|
||||
extern void GETUSERMODE(void);
|
||||
|
||||
/* Undocumented, unsupported MPE internal functions. */
|
||||
|
||||
extern long long current_correction_usecs(void);
|
||||
extern long long get_time(void);
|
||||
extern void get_time_change_info(long long *, char *, char *);
|
||||
extern long long pdc_time(int *);
|
||||
extern void set_time_correction(long long, int, int);
|
||||
extern long long ticks_to_micro(long long);
|
||||
|
||||
long long big_sec, big_usec, new_correction = 0LL;
|
||||
long long prev_correction;
|
||||
|
||||
if (delta != NULL) {
|
||||
/* Adjustment required. Convert delta to 64-bit microseconds. */
|
||||
big_sec = (long)delta->tv_sec;
|
||||
big_usec = delta->tv_usec;
|
||||
new_correction = (big_sec * 1000000LL) + big_usec;
|
||||
}
|
||||
|
||||
GETPRIVMODE();
|
||||
|
||||
/* Determine how much of a previous correction (if any) we're interrupting. */
|
||||
prev_correction = current_correction_usecs();
|
||||
|
||||
if (delta != NULL) {
|
||||
/* Adjustment required. */
|
||||
|
||||
#if 0
|
||||
/* Speculative code disabled until bug SR 5003462838 is fixed. This bug
|
||||
prevents accurate time slewing, and indeed renders ntpd inoperable. */
|
||||
|
||||
if (prev_correction != 0LL) {
|
||||
/* A previous adjustment did not complete. Since the PDC UTC clock was
|
||||
immediately jumped at the start of the previous adjustment, we must
|
||||
explicitly reset it to the value of the MPE local time clock minus the
|
||||
time zone offset. */
|
||||
|
||||
char pwf_since_boot, recover_pwf_time;
|
||||
long long offset_ticks, offset_usecs, pdc_usecs_current, pdc_usecs_wanted;
|
||||
int hpe_status;
|
||||
|
||||
get_time_change_info(&offset_ticks, &pwf_since_boot, &recover_pwf_time);
|
||||
offset_usecs = ticks_to_micro(offset_ticks);
|
||||
pdc_usecs_wanted = get_time() - offset_usecs;
|
||||
pdc_usecs_current = pdc_time(&hpe_status);
|
||||
if (hpe_status == 0)
|
||||
/* Force new PDC time by starting an extra correction. */
|
||||
set_time_correction(pdc_usecs_wanted - pdc_usecs_current,0,1);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Immediately jump the PDC time to the new value, and then initiate a
|
||||
gradual MPE time correction slew. */
|
||||
set_time_correction(new_correction,0,1);
|
||||
}
|
||||
|
||||
GETUSERMODE();
|
||||
|
||||
if (olddelta != NULL) {
|
||||
/* Caller wants to know remaining amount of previous correction. */
|
||||
(long)olddelta->tv_sec = prev_correction / 1000000LL;
|
||||
olddelta->tv_usec = prev_correction % 1000000LL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif /* MPE */
|
||||
|
||||
#ifdef NEED_HPUX_ADJTIME
|
||||
/*************************************************************************/
|
||||
/* (c) Copyright Tai Jin, 1988. All Rights Reserved. */
|
||||
|
@ -90,6 +90,10 @@ struct clktype clktypes[] = {
|
||||
"HOPF_S"},
|
||||
{ REFCLK_HOPF_PCI, "hopf Elektronic PCI receiver (39)",
|
||||
"HOPF_P"},
|
||||
{ REFCLK_JJY, "JJY receiver (40)",
|
||||
"JJY" },
|
||||
{ REFCLK_ZYFER, "Zyfer GPStarplus receiver (41)",
|
||||
"GPS_ZYFER" },
|
||||
{ -1, "", "" }
|
||||
};
|
||||
|
||||
|
@ -27,6 +27,19 @@
|
||||
|
||||
#if defined(HAVE_SIGNALED_IO)
|
||||
static int sigio_block_count = 0;
|
||||
# if defined(HAVE_SIGACTION)
|
||||
/*
|
||||
* If sigaction() is used for signal handling and a signal is
|
||||
* pending then the kernel blocks the signal before it calls
|
||||
* the signal handler.
|
||||
*
|
||||
* The variable below is used to take care that the SIGIO signal
|
||||
* is not unintentionally unblocked inside the sigio_handler()
|
||||
* if the handler executes a piece of code that is normally
|
||||
* bracketed by BLOCKIO()/UNBLOCKIO() calls.
|
||||
*/
|
||||
static int sigio_handler_active = 0;
|
||||
# endif
|
||||
extern void input_handler P((l_fp *));
|
||||
|
||||
/*
|
||||
@ -282,7 +295,21 @@ sigio_handler(
|
||||
l_fp ts;
|
||||
|
||||
get_systime(&ts);
|
||||
|
||||
# if defined(HAVE_SIGACTION)
|
||||
sigio_handler_active++;
|
||||
if (sigio_handler_active != 1) /* This should never happen! */
|
||||
msyslog(LOG_ERR, "sigio_handler: sigio_handler_active != 1");
|
||||
# endif
|
||||
|
||||
(void)input_handler(&ts);
|
||||
|
||||
# if defined(HAVE_SIGACTION)
|
||||
sigio_handler_active--;
|
||||
if (sigio_handler_active != 0) /* This should never happen! */
|
||||
msyslog(LOG_ERR, "sigio_handler: sigio_handler_active != 0");
|
||||
# endif
|
||||
|
||||
errno = saved_errno;
|
||||
}
|
||||
|
||||
@ -326,27 +353,30 @@ block_io_and_alarm(void)
|
||||
void
|
||||
block_sigio(void)
|
||||
{
|
||||
sigset_t set;
|
||||
if ( sigio_handler_active == 0 ) /* not called from within signal handler */
|
||||
{
|
||||
sigset_t set;
|
||||
|
||||
++sigio_block_count;
|
||||
if (sigio_block_count > 1)
|
||||
msyslog(LOG_INFO, "block_sigio: sigio_block_count > 1");
|
||||
if (sigio_block_count < 1)
|
||||
msyslog(LOG_INFO, "block_sigio: sigio_block_count < 1");
|
||||
++sigio_block_count;
|
||||
if (sigio_block_count > 1)
|
||||
msyslog(LOG_INFO, "block_sigio: sigio_block_count > 1");
|
||||
if (sigio_block_count < 1)
|
||||
msyslog(LOG_INFO, "block_sigio: sigio_block_count < 1");
|
||||
|
||||
if (sigemptyset(&set))
|
||||
msyslog(LOG_ERR, "block_sigio: sigemptyset() failed: %m");
|
||||
# if defined(USE_SIGIO)
|
||||
if (sigaddset(&set, SIGIO))
|
||||
msyslog(LOG_ERR, "block_sigio: sigaddset(SIGIO) failed: %m");
|
||||
# endif
|
||||
# if defined(USE_SIGPOLL)
|
||||
if (sigaddset(&set, SIGPOLL))
|
||||
msyslog(LOG_ERR, "block_sigio: sigaddset(SIGPOLL) failed: %m");
|
||||
# endif
|
||||
if (sigemptyset(&set))
|
||||
msyslog(LOG_ERR, "block_sigio: sigemptyset() failed: %m");
|
||||
# if defined(USE_SIGIO)
|
||||
if (sigaddset(&set, SIGIO))
|
||||
msyslog(LOG_ERR, "block_sigio: sigaddset(SIGIO) failed: %m");
|
||||
# endif
|
||||
# if defined(USE_SIGPOLL)
|
||||
if (sigaddset(&set, SIGPOLL))
|
||||
msyslog(LOG_ERR, "block_sigio: sigaddset(SIGPOLL) failed: %m");
|
||||
# endif
|
||||
|
||||
if (sigprocmask(SIG_BLOCK, &set, NULL))
|
||||
msyslog(LOG_ERR, "block_sigio: sigprocmask() failed: %m");
|
||||
if (sigprocmask(SIG_BLOCK, &set, NULL))
|
||||
msyslog(LOG_ERR, "block_sigio: sigprocmask() failed: %m");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@ -375,28 +405,31 @@ unblock_io_and_alarm(void)
|
||||
void
|
||||
unblock_sigio(void)
|
||||
{
|
||||
sigset_t unset;
|
||||
if ( sigio_handler_active == 0 ) /* not called from within signal handler */
|
||||
{
|
||||
sigset_t unset;
|
||||
|
||||
--sigio_block_count;
|
||||
if (sigio_block_count > 0)
|
||||
msyslog(LOG_INFO, "unblock_sigio: sigio_block_count > 0");
|
||||
if (sigio_block_count < 0)
|
||||
msyslog(LOG_INFO, "unblock_sigio: sigio_block_count < 0");
|
||||
--sigio_block_count;
|
||||
if (sigio_block_count > 0)
|
||||
msyslog(LOG_INFO, "unblock_sigio: sigio_block_count > 0");
|
||||
if (sigio_block_count < 0)
|
||||
msyslog(LOG_INFO, "unblock_sigio: sigio_block_count < 0");
|
||||
|
||||
if (sigemptyset(&unset))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigemptyset() failed: %m");
|
||||
if (sigemptyset(&unset))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigemptyset() failed: %m");
|
||||
|
||||
# if defined(USE_SIGIO)
|
||||
if (sigaddset(&unset, SIGIO))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigaddset(SIGIO) failed: %m");
|
||||
# endif
|
||||
# if defined(USE_SIGPOLL)
|
||||
if (sigaddset(&unset, SIGPOLL))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigaddset(SIGPOLL) failed: %m");
|
||||
# endif
|
||||
# if defined(USE_SIGIO)
|
||||
if (sigaddset(&unset, SIGIO))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigaddset(SIGIO) failed: %m");
|
||||
# endif
|
||||
# if defined(USE_SIGPOLL)
|
||||
if (sigaddset(&unset, SIGPOLL))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigaddset(SIGPOLL) failed: %m");
|
||||
# endif
|
||||
|
||||
if (sigprocmask(SIG_UNBLOCK, &unset, NULL))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigprocmask() failed: %m");
|
||||
if (sigprocmask(SIG_UNBLOCK, &unset, NULL))
|
||||
msyslog(LOG_ERR, "unblock_sigio: sigprocmask() failed: %m");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -125,6 +125,290 @@ gettimeofday(
|
||||
}
|
||||
#endif /* SYS_PTX */
|
||||
|
||||
#ifdef MPE
|
||||
/* This is a substitute for bind() that if called for an AF_INET socket
|
||||
port less than 1024, GETPRIVMODE() and GETUSERMODE() calls will be done. */
|
||||
|
||||
#undef bind
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
extern void GETPRIVMODE(void);
|
||||
extern void GETUSERMODE(void);
|
||||
|
||||
int __ntp_mpe_bind(int s, void *addr, int addrlen);
|
||||
|
||||
int __ntp_mpe_bind(int s, void *addr, int addrlen) {
|
||||
int priv = 0;
|
||||
int result;
|
||||
|
||||
if (addrlen == sizeof(struct sockaddr_in)) { /* AF_INET */
|
||||
if (((struct sockaddr_in *)addr)->sin_port > 0 &&
|
||||
((struct sockaddr_in *)addr)->sin_port < 1024) {
|
||||
priv = 1;
|
||||
GETPRIVMODE();
|
||||
}
|
||||
/* ((struct sockaddr_in *)addr)->sin_addr.s_addr = 0; */
|
||||
result = bind(s,addr,addrlen);
|
||||
if (priv == 1) GETUSERMODE();
|
||||
} else /* AF_UNIX */
|
||||
result = bind(s,addr,addrlen);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* MPE stupidly requires sfcntl() to be used on sockets instead of fcntl(),
|
||||
* so we define a wrapper to analyze the file descriptor and call the correct
|
||||
* function.
|
||||
*/
|
||||
|
||||
#undef fcntl
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
int __ntp_mpe_fcntl(int fd, int cmd, int arg);
|
||||
|
||||
int __ntp_mpe_fcntl(int fd, int cmd, int arg) {
|
||||
int len;
|
||||
struct sockaddr sa;
|
||||
|
||||
extern int sfcntl(int, int, int);
|
||||
|
||||
len = sizeof sa;
|
||||
if (getsockname(fd, &sa, &len) == -1) {
|
||||
if (errno == EAFNOSUPPORT) /* AF_UNIX socket */
|
||||
return sfcntl(fd, cmd, arg);
|
||||
if (errno == ENOTSOCK) /* file or pipe */
|
||||
return fcntl(fd, cmd, arg);
|
||||
return (-1); /* unknown getsockname() failure */
|
||||
} else /* AF_INET socket */
|
||||
return sfcntl(fd, cmd, arg);
|
||||
}
|
||||
|
||||
/*
|
||||
* Setitimer emulation support. Note that we implement this using alarm(),
|
||||
* and since alarm() only delivers one signal, we must re-enable the alarm
|
||||
* by enabling our own SIGALRM setitimer_mpe_handler routine to be called
|
||||
* before the real handler routine and re-enable the alarm at that time.
|
||||
*
|
||||
* Note that this solution assumes that sigaction(SIGALRM) is called before
|
||||
* calling setitimer(). If it should ever to become necessary to support
|
||||
* sigaction(SIGALRM) after calling setitimer(), it will be necessary to trap
|
||||
* those sigaction() calls.
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
|
||||
/*
|
||||
* Some global data that needs to be shared between setitimer() and
|
||||
* setitimer_mpe_handler().
|
||||
*/
|
||||
|
||||
struct {
|
||||
unsigned long current_msec; /* current alarm() value in effect */
|
||||
unsigned long interval_msec; /* next alarm() value from setitimer */
|
||||
unsigned long value_msec; /* first alarm() value from setitimer */
|
||||
struct itimerval current_itimerval; /* current itimerval in effect */
|
||||
struct sigaction oldact; /* SIGALRM state saved by setitimer */
|
||||
} setitimer_mpe_ctx = { 0, 0, 0 };
|
||||
|
||||
/*
|
||||
* Undocumented, unsupported function to do alarm() in milliseconds.
|
||||
*/
|
||||
|
||||
extern unsigned int px_alarm(unsigned long, int *);
|
||||
|
||||
/*
|
||||
* The SIGALRM handler routine enabled by setitimer(). Re-enable the alarm or
|
||||
* restore the original SIGALRM setting if no more alarms are needed. Then
|
||||
* call the original SIGALRM handler (if any).
|
||||
*/
|
||||
|
||||
static RETSIGTYPE setitimer_mpe_handler(int sig)
|
||||
{
|
||||
int alarm_hpe_status;
|
||||
|
||||
/* Update the new current alarm value */
|
||||
|
||||
setitimer_mpe_ctx.current_msec = setitimer_mpe_ctx.interval_msec;
|
||||
|
||||
if (setitimer_mpe_ctx.interval_msec > 0) {
|
||||
/* Additional intervals needed; re-arm the alarm timer */
|
||||
px_alarm(setitimer_mpe_ctx.interval_msec,&alarm_hpe_status);
|
||||
} else {
|
||||
/* No more intervals, so restore previous original SIGALRM handler */
|
||||
sigaction(SIGALRM, &setitimer_mpe_ctx.oldact, NULL);
|
||||
}
|
||||
|
||||
/* Call the original SIGALRM handler if it is a function and not just a flag */
|
||||
|
||||
if (setitimer_mpe_ctx.oldact.sa_handler != SIG_DFL &&
|
||||
setitimer_mpe_ctx.oldact.sa_handler != SIG_ERR &&
|
||||
setitimer_mpe_ctx.oldact.sa_handler != SIG_IGN)
|
||||
(*setitimer_mpe_ctx.oldact.sa_handler)(SIGALRM);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Our implementation of setitimer().
|
||||
*/
|
||||
|
||||
int
|
||||
setitimer(int which, struct itimerval *value,
|
||||
struct itimerval *ovalue)
|
||||
{
|
||||
|
||||
int alarm_hpe_status;
|
||||
unsigned long remaining_msec, value_msec, interval_msec;
|
||||
struct sigaction newact;
|
||||
|
||||
/*
|
||||
* Convert the initial interval to milliseconds
|
||||
*/
|
||||
|
||||
if (value->it_value.tv_sec > (UINT_MAX / 1000))
|
||||
value_msec = UINT_MAX;
|
||||
else
|
||||
value_msec = value->it_value.tv_sec * 1000;
|
||||
|
||||
value_msec += value->it_value.tv_usec / 1000;
|
||||
|
||||
/*
|
||||
* Convert the reset interval to milliseconds
|
||||
*/
|
||||
|
||||
if (value->it_interval.tv_sec > (UINT_MAX / 1000))
|
||||
interval_msec = UINT_MAX;
|
||||
else
|
||||
interval_msec = value->it_interval.tv_sec * 1000;
|
||||
|
||||
interval_msec += value->it_interval.tv_usec / 1000;
|
||||
|
||||
if (value_msec > 0 && interval_msec > 0) {
|
||||
/*
|
||||
* We'll be starting an interval timer that will be repeating, so we need to
|
||||
* insert our own SIGALRM signal handler to schedule the repeats.
|
||||
*/
|
||||
|
||||
/* Read the current SIGALRM action */
|
||||
|
||||
if (sigaction(SIGALRM, NULL, &setitimer_mpe_ctx.oldact) < 0) {
|
||||
fprintf(stderr,"MPE setitimer old handler failed, errno=%d\n",errno);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Initialize the new action to call our SIGALRM handler instead */
|
||||
|
||||
newact.sa_handler = &setitimer_mpe_handler;
|
||||
newact.sa_mask = setitimer_mpe_ctx.oldact.sa_mask;
|
||||
newact.sa_flags = setitimer_mpe_ctx.oldact.sa_flags;
|
||||
|
||||
if (sigaction(SIGALRM, &newact, NULL) < 0) {
|
||||
fprintf(stderr,"MPE setitimer new handler failed, errno=%d\n",errno);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Return previous itimerval if desired
|
||||
*/
|
||||
|
||||
if (ovalue != NULL) *ovalue = setitimer_mpe_ctx.current_itimerval;
|
||||
|
||||
/*
|
||||
* Save current parameters for later usage
|
||||
*/
|
||||
|
||||
setitimer_mpe_ctx.current_itimerval = *value;
|
||||
setitimer_mpe_ctx.current_msec = value_msec;
|
||||
setitimer_mpe_ctx.value_msec = value_msec;
|
||||
setitimer_mpe_ctx.interval_msec = interval_msec;
|
||||
|
||||
/*
|
||||
* Schedule the first alarm
|
||||
*/
|
||||
|
||||
remaining_msec = px_alarm(value_msec, &alarm_hpe_status);
|
||||
if (alarm_hpe_status == 0)
|
||||
return (0);
|
||||
else
|
||||
return (-1);
|
||||
}
|
||||
|
||||
/*
|
||||
* MPE lacks gettimeofday(), so we define our own.
|
||||
*/
|
||||
|
||||
int gettimeofday(struct timeval *tvp)
|
||||
|
||||
{
|
||||
/* Documented, supported MPE functions. */
|
||||
extern void GETPRIVMODE(void);
|
||||
extern void GETUSERMODE(void);
|
||||
|
||||
/* Undocumented, unsupported MPE functions. */
|
||||
extern long long get_time(void);
|
||||
extern void get_time_change_info(long long *, char *, char *);
|
||||
extern long long ticks_to_micro(long long);
|
||||
|
||||
char pwf_since_boot, recover_pwf_time;
|
||||
long long mpetime, offset_ticks, offset_usec;
|
||||
|
||||
GETPRIVMODE();
|
||||
mpetime = get_time(); /* MPE local time usecs since Jan 1 1970 */
|
||||
get_time_change_info(&offset_ticks, &pwf_since_boot, &recover_pwf_time);
|
||||
offset_usec = ticks_to_micro(offset_ticks); /* UTC offset usecs */
|
||||
GETUSERMODE();
|
||||
|
||||
mpetime = mpetime - offset_usec; /* Convert from local time to UTC */
|
||||
tvp->tv_sec = mpetime / 1000000LL;
|
||||
tvp->tv_usec = mpetime % 1000000LL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* MPE lacks settimeofday(), so we define our own.
|
||||
*/
|
||||
|
||||
#define HAVE_SETTIMEOFDAY
|
||||
|
||||
int settimeofday(struct timeval *tvp)
|
||||
|
||||
{
|
||||
/* Documented, supported MPE functions. */
|
||||
extern void GETPRIVMODE(void);
|
||||
extern void GETUSERMODE(void);
|
||||
|
||||
/* Undocumented, unsupported MPE functions. */
|
||||
extern void get_time_change_info(long long *, char *, char *);
|
||||
extern void initialize_system_time(long long, int);
|
||||
extern void set_time_correction(long long, int, int);
|
||||
extern long long ticks_to_micro(long long);
|
||||
|
||||
char pwf_since_boot, recover_pwf_time;
|
||||
long long big_sec, big_usec, mpetime, offset_ticks, offset_usec;
|
||||
|
||||
big_sec = tvp->tv_sec;
|
||||
big_usec = tvp->tv_usec;
|
||||
mpetime = (big_sec * 1000000LL) + big_usec; /* Desired UTC microseconds */
|
||||
|
||||
GETPRIVMODE();
|
||||
set_time_correction(0LL,0,0); /* Cancel previous time correction, if any */
|
||||
get_time_change_info(&offset_ticks, &pwf_since_boot, &recover_pwf_time);
|
||||
offset_usec = ticks_to_micro(offset_ticks); /* UTC offset microseconds */
|
||||
mpetime = mpetime + offset_usec; /* Convert from UTC to local time */
|
||||
initialize_system_time(mpetime,1);
|
||||
GETUSERMODE();
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif /* MPE */
|
||||
|
||||
const char *set_tod_using = "UNKNOWN";
|
||||
|
||||
int
|
||||
@ -133,53 +417,72 @@ ntp_set_tod(
|
||||
void *tzp
|
||||
)
|
||||
{
|
||||
int rc;
|
||||
int rc = -1;
|
||||
|
||||
#ifdef DEBUG
|
||||
if (debug)
|
||||
printf("In ntp_set_tod\n");
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CLOCK_SETTIME
|
||||
{
|
||||
if (rc) {
|
||||
struct timespec ts;
|
||||
|
||||
set_tod_using = "clock_settime";
|
||||
/* Convert timeval to timespec */
|
||||
ts.tv_sec = tvp->tv_sec;
|
||||
ts.tv_nsec = 1000 * tvp->tv_usec;
|
||||
|
||||
errno = 0;
|
||||
rc = clock_settime(CLOCK_REALTIME, &ts);
|
||||
if (!rc)
|
||||
{
|
||||
set_tod_using = "clock_settime";
|
||||
return rc;
|
||||
#ifdef DEBUG
|
||||
if (debug) {
|
||||
printf("ntp_set_tod: %s: %d: %s\n",
|
||||
set_tod_using, rc, strerror(errno));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif /* HAVE_CLOCK_SETTIME */
|
||||
#ifdef HAVE_SETTIMEOFDAY
|
||||
{
|
||||
if (rc) {
|
||||
set_tod_using = "settimeofday";
|
||||
rc = SETTIMEOFDAY(tvp, tzp);
|
||||
if (!rc)
|
||||
{
|
||||
set_tod_using = "settimeofday";
|
||||
return rc;
|
||||
#ifdef DEBUG
|
||||
if (debug) {
|
||||
printf("ntp_set_tod: %s: %d: %s\n",
|
||||
set_tod_using, rc, strerror(errno));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif /* HAVE_SETTIMEOFDAY */
|
||||
#ifdef HAVE_STIME
|
||||
{
|
||||
if (rc) {
|
||||
long tp = tvp->tv_sec;
|
||||
|
||||
set_tod_using = "stime";
|
||||
rc = stime(&tp); /* lie as bad as SysVR4 */
|
||||
if (!rc)
|
||||
{
|
||||
set_tod_using = "stime";
|
||||
return rc;
|
||||
#ifdef DEBUG
|
||||
if (debug) {
|
||||
printf("ntp_set_tod: %s: %d: %s\n",
|
||||
set_tod_using, rc, strerror(errno));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif /* HAVE_STIME */
|
||||
set_tod_using = "Failed!";
|
||||
return -1;
|
||||
if (rc)
|
||||
set_tod_using = "Failed!";
|
||||
#ifdef DEBUG
|
||||
if (debug) {
|
||||
printf("ntp_set_tod: Final result: %s: %d: %s\n",
|
||||
set_tod_using, rc, strerror(errno));
|
||||
}
|
||||
#endif
|
||||
return rc;
|
||||
}
|
||||
|
||||
#endif /* not SYS_WINNT */
|
||||
|
||||
#if defined (SYS_WINNT) || defined (SYS_VXWORKS)
|
||||
#if defined (SYS_WINNT) || defined (SYS_VXWORKS) || defined(MPE)
|
||||
/* getpass is used in ntpq.c and ntpdc.c */
|
||||
|
||||
char *
|
||||
|
@ -62,6 +62,8 @@
|
||||
|
||||
#include "ntp_machine.h"
|
||||
|
||||
#if !HAVE_MKTIME
|
||||
|
||||
#ifndef DSTMINUTES
|
||||
#define DSTMINUTES 60
|
||||
#endif
|
||||
@ -272,3 +274,6 @@ mktime(
|
||||
{
|
||||
return time1(tmp);
|
||||
}
|
||||
#else
|
||||
int mktime_bs;
|
||||
#endif
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#if !HAVE_SNPRINTF
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __STDC__
|
||||
@ -53,3 +54,6 @@ vsnprintf(str, n, fmt, ap)
|
||||
return (vsprintf(str, fmt, ap));
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
int snprintf_bs;
|
||||
#endif
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "ntp_malloc.h"
|
||||
|
||||
#if !HAVE_STRDUP
|
||||
|
||||
#define NULL 0
|
||||
|
||||
char *strdup(const char *s);
|
||||
|
||||
char *
|
||||
strdup(
|
||||
const char *s
|
||||
@ -18,3 +23,6 @@ strdup(
|
||||
}
|
||||
return(cp);
|
||||
}
|
||||
#else
|
||||
int strdup_bs;
|
||||
#endif
|
||||
|
@ -1,3 +1,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#if !HAVE_STRERROR
|
||||
/*
|
||||
* Copyright (c) 1988 Regents of the University of California.
|
||||
* All rights reserved.
|
||||
@ -38,3 +41,6 @@ strerror(
|
||||
(void)sprintf(ebuf, "Unknown error: %d", errnum);
|
||||
return(ebuf);
|
||||
}
|
||||
#else
|
||||
int strerror_bs;
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
noinst_LIBRARIES = @MAKE_LIBPARSE@ @MAKE_LIBPARSE_KERNEL@
|
||||
EXTRA_LIBRARIES = libparse.a libparse_kernel.a
|
||||
@ -164,36 +158,31 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/kernel
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
EXTRA_DIST = parsesolaris.c parsestreams.c mkinfo_scmd.sed mkinfo_rcmd.sed info_trimble.c
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = libparse
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
libparse_a_AR = $(AR) cru
|
||||
libparse_a_LIBADD =
|
||||
libparse_a_LIBADD =
|
||||
am_libparse_a_OBJECTS = parse$U.$(OBJEXT) parse_conf$U.$(OBJEXT) \
|
||||
clk_meinberg$U.$(OBJEXT) clk_schmid$U.$(OBJEXT) clk_rawdcf$U.$(OBJEXT) \
|
||||
clk_trimtsip$U.$(OBJEXT) clk_dcf7000$U.$(OBJEXT) \
|
||||
clk_trimtaip$U.$(OBJEXT) clk_rcc8000$U.$(OBJEXT) \
|
||||
clk_hopf6021$U.$(OBJEXT) clk_computime$U.$(OBJEXT) \
|
||||
clk_wharton$U.$(OBJEXT) clk_varitext$U.$(OBJEXT) data_mbg$U.$(OBJEXT) \
|
||||
info_trimble$U.$(OBJEXT) trim_info$U.$(OBJEXT)
|
||||
clk_meinberg$U.$(OBJEXT) clk_schmid$U.$(OBJEXT) \
|
||||
clk_rawdcf$U.$(OBJEXT) clk_trimtsip$U.$(OBJEXT) \
|
||||
clk_dcf7000$U.$(OBJEXT) clk_trimtaip$U.$(OBJEXT) \
|
||||
clk_rcc8000$U.$(OBJEXT) clk_hopf6021$U.$(OBJEXT) \
|
||||
clk_computime$U.$(OBJEXT) clk_wharton$U.$(OBJEXT) \
|
||||
clk_varitext$U.$(OBJEXT) data_mbg$U.$(OBJEXT) \
|
||||
info_trimble$U.$(OBJEXT) trim_info$U.$(OBJEXT)
|
||||
libparse_a_OBJECTS = $(am_libparse_a_OBJECTS)
|
||||
libparse_kernel_a_AR = $(AR) cru
|
||||
libparse_kernel_a_DEPENDENCIES = kparse$U.o kparse_conf$U.o \
|
||||
kclk_computime$U.o kclk_dcf7000$U.o kclk_hopf6021$U.o kclk_meinberg$U.o \
|
||||
kclk_rawdcf$U.o kclk_rcc8000$U.o kclk_schmid$U.o kclk_trimtaip$U.o \
|
||||
kclk_trimtsip$U.o kclk_varitext$U.o kclk_wharton$U.o
|
||||
kclk_computime$U.o kclk_dcf7000$U.o kclk_hopf6021$U.o \
|
||||
kclk_meinberg$U.o kclk_rawdcf$U.o kclk_rcc8000$U.o \
|
||||
kclk_schmid$U.o kclk_trimtaip$U.o kclk_trimtsip$U.o \
|
||||
kclk_varitext$U.o kclk_wharton$U.o
|
||||
am_libparse_kernel_a_OBJECTS =
|
||||
libparse_kernel_a_OBJECTS = $(am_libparse_kernel_a_OBJECTS)
|
||||
AR = ar
|
||||
EXTRA_PROGRAMS = parsestreams$(EXEEXT) parsesolaris$(EXEEXT)
|
||||
noinst_PROGRAMS = @MAKE_PARSEKMODULE@
|
||||
PROGRAMS = $(noinst_PROGRAMS)
|
||||
@ -201,122 +190,162 @@ PROGRAMS = $(noinst_PROGRAMS)
|
||||
parsesolaris_SOURCES = parsesolaris.c
|
||||
parsesolaris_OBJECTS = parsesolaris$U.$(OBJEXT)
|
||||
parsesolaris_LDADD = $(LDADD)
|
||||
parsesolaris_DEPENDENCIES =
|
||||
parsesolaris_LDFLAGS =
|
||||
parsesolaris_DEPENDENCIES =
|
||||
parsesolaris_LDFLAGS =
|
||||
parsestreams_SOURCES = parsestreams.c
|
||||
parsestreams_OBJECTS = parsestreams$U.$(OBJEXT)
|
||||
parsestreams_LDADD = $(LDADD)
|
||||
parsestreams_DEPENDENCIES =
|
||||
parsestreams_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
parsestreams_DEPENDENCIES =
|
||||
parsestreams_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/clk_computime$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_dcf7000$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_hopf6021$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_meinberg$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_rawdcf$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_rcc8000$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_schmid$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_trimtaip$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_trimtsip$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_varitext$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/clk_wharton$U.Po $(DEPDIR)/data_mbg$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/info_trimble$U.Po $(DEPDIR)/parse$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/parse_conf$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/parsesolaris$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/parsestreams$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/trim_info$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) \
|
||||
parsesolaris.c parsestreams.c
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/clk_computime$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clk_dcf7000$U.Po $(DEPDIR)/clk_hopf6021$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clk_meinberg$U.Po $(DEPDIR)/clk_rawdcf$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clk_rcc8000$U.Po $(DEPDIR)/clk_schmid$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clk_trimtaip$U.Po $(DEPDIR)/clk_trimtsip$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/clk_varitext$U.Po $(DEPDIR)/clk_wharton$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/data_mbg$U.Po $(DEPDIR)/info_trimble$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/parse$U.Po $(DEPDIR)/parse_conf$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/parsesolaris$U.Po $(DEPDIR)/parsestreams$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/trim_info$U.Po
|
||||
parsesolaris.c parsestreams.c
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
SOURCES = $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) parsesolaris.c parsestreams.c
|
||||
OBJECTS = $(am_libparse_a_OBJECTS) $(am_libparse_kernel_a_OBJECTS) parsesolaris$U.$(OBJEXT) parsestreams$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu libparse/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
AR = ar
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
libparse.a: $(libparse_a_OBJECTS) $(libparse_a_DEPENDENCIES)
|
||||
libparse.a: $(libparse_a_OBJECTS) $(libparse_a_DEPENDENCIES)
|
||||
-rm -f libparse.a
|
||||
$(libparse_a_AR) libparse.a $(libparse_a_OBJECTS) $(libparse_a_LIBADD)
|
||||
$(RANLIB) libparse.a
|
||||
|
||||
libparse_kernel.a: $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_DEPENDENCIES)
|
||||
libparse_kernel.a: $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_DEPENDENCIES)
|
||||
-rm -f libparse_kernel.a
|
||||
$(libparse_kernel_a_AR) libparse_kernel.a $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_LIBADD)
|
||||
$(RANLIB) libparse_kernel.a
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||
|
||||
parsesolaris: $(parsesolaris_OBJECTS) $(parsesolaris_DEPENDENCIES)
|
||||
@rm -f parsesolaris
|
||||
parsesolaris$(EXEEXT): $(parsesolaris_OBJECTS) $(parsesolaris_DEPENDENCIES)
|
||||
@rm -f parsesolaris$(EXEEXT)
|
||||
$(LINK) $(parsesolaris_LDFLAGS) $(parsesolaris_OBJECTS) $(parsesolaris_LDADD) $(LIBS)
|
||||
|
||||
parsestreams: $(parsestreams_OBJECTS) $(parsestreams_DEPENDENCIES)
|
||||
@rm -f parsestreams
|
||||
parsestreams$(EXEEXT): $(parsestreams_OBJECTS) $(parsestreams_DEPENDENCIES)
|
||||
@rm -f parsestreams$(EXEEXT)
|
||||
$(LINK) $(parsestreams_LDFLAGS) $(parsestreams_OBJECTS) $(parsestreams_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_computime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_dcf7000$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_hopf6021$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_meinberg$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_rawdcf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_rcc8000$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_schmid$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_trimtaip$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_trimtsip$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_varitext$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/clk_wharton$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/data_mbg$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/info_trimble$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/parse$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/parse_conf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/parsesolaris$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/parsestreams$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/trim_info$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
clk_computime_.c: clk_computime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_computime.c; then echo $(srcdir)/clk_computime.c; else echo clk_computime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_computime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_computime.c; then echo $(srcdir)/clk_computime.c; else echo clk_computime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_computime_.c || rm -f clk_computime_.c
|
||||
clk_dcf7000_.c: clk_dcf7000.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_dcf7000.c; then echo $(srcdir)/clk_dcf7000.c; else echo clk_dcf7000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_dcf7000_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_dcf7000.c; then echo $(srcdir)/clk_dcf7000.c; else echo clk_dcf7000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_dcf7000_.c || rm -f clk_dcf7000_.c
|
||||
clk_hopf6021_.c: clk_hopf6021.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_hopf6021.c; then echo $(srcdir)/clk_hopf6021.c; else echo clk_hopf6021.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_hopf6021_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_hopf6021.c; then echo $(srcdir)/clk_hopf6021.c; else echo clk_hopf6021.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_hopf6021_.c || rm -f clk_hopf6021_.c
|
||||
clk_meinberg_.c: clk_meinberg.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_meinberg.c; then echo $(srcdir)/clk_meinberg.c; else echo clk_meinberg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_meinberg_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_meinberg.c; then echo $(srcdir)/clk_meinberg.c; else echo clk_meinberg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_meinberg_.c || rm -f clk_meinberg_.c
|
||||
clk_rawdcf_.c: clk_rawdcf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_rawdcf.c; then echo $(srcdir)/clk_rawdcf.c; else echo clk_rawdcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_rawdcf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_rawdcf.c; then echo $(srcdir)/clk_rawdcf.c; else echo clk_rawdcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_rawdcf_.c || rm -f clk_rawdcf_.c
|
||||
clk_rcc8000_.c: clk_rcc8000.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_rcc8000.c; then echo $(srcdir)/clk_rcc8000.c; else echo clk_rcc8000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_rcc8000_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_rcc8000.c; then echo $(srcdir)/clk_rcc8000.c; else echo clk_rcc8000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_rcc8000_.c || rm -f clk_rcc8000_.c
|
||||
clk_schmid_.c: clk_schmid.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_schmid.c; then echo $(srcdir)/clk_schmid.c; else echo clk_schmid.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_schmid_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_schmid.c; then echo $(srcdir)/clk_schmid.c; else echo clk_schmid.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_schmid_.c || rm -f clk_schmid_.c
|
||||
clk_trimtaip_.c: clk_trimtaip.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtaip.c; then echo $(srcdir)/clk_trimtaip.c; else echo clk_trimtaip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtaip_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtaip.c; then echo $(srcdir)/clk_trimtaip.c; else echo clk_trimtaip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtaip_.c || rm -f clk_trimtaip_.c
|
||||
clk_trimtsip_.c: clk_trimtsip.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtsip.c; then echo $(srcdir)/clk_trimtsip.c; else echo clk_trimtsip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtsip_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtsip.c; then echo $(srcdir)/clk_trimtsip.c; else echo clk_trimtsip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtsip_.c || rm -f clk_trimtsip_.c
|
||||
clk_varitext_.c: clk_varitext.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_varitext.c; then echo $(srcdir)/clk_varitext.c; else echo clk_varitext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_varitext_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_varitext.c; then echo $(srcdir)/clk_varitext.c; else echo clk_varitext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_varitext_.c || rm -f clk_varitext_.c
|
||||
clk_wharton_.c: clk_wharton.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_wharton.c; then echo $(srcdir)/clk_wharton.c; else echo clk_wharton.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_wharton_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_wharton.c; then echo $(srcdir)/clk_wharton.c; else echo clk_wharton.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_wharton_.c || rm -f clk_wharton_.c
|
||||
data_mbg_.c: data_mbg.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/data_mbg.c; then echo $(srcdir)/data_mbg.c; else echo data_mbg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > data_mbg_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/data_mbg.c; then echo $(srcdir)/data_mbg.c; else echo data_mbg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > data_mbg_.c || rm -f data_mbg_.c
|
||||
info_trimble_.c: info_trimble.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/info_trimble.c; then echo $(srcdir)/info_trimble.c; else echo info_trimble.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > info_trimble_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/info_trimble.c; then echo $(srcdir)/info_trimble.c; else echo info_trimble.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > info_trimble_.c || rm -f info_trimble_.c
|
||||
parse_.c: parse.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parse.c; then echo $(srcdir)/parse.c; else echo parse.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parse_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parse.c; then echo $(srcdir)/parse.c; else echo parse.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parse_.c || rm -f parse_.c
|
||||
parse_conf_.c: parse_conf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parse_conf.c; then echo $(srcdir)/parse_conf.c; else echo parse_conf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parse_conf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parse_conf.c; then echo $(srcdir)/parse_conf.c; else echo parse_conf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parse_conf_.c || rm -f parse_conf_.c
|
||||
parsesolaris_.c: parsesolaris.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parsesolaris.c; then echo $(srcdir)/parsesolaris.c; else echo parsesolaris.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parsesolaris_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parsesolaris.c; then echo $(srcdir)/parsesolaris.c; else echo parsesolaris.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parsesolaris_.c || rm -f parsesolaris_.c
|
||||
parsestreams_.c: parsestreams.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parsestreams.c; then echo $(srcdir)/parsestreams.c; else echo parsestreams.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parsestreams_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/parsestreams.c; then echo $(srcdir)/parsestreams.c; else echo parsestreams.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > parsestreams_.c || rm -f parsestreams_.c
|
||||
trim_info_.c: trim_info.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/trim_info.c; then echo $(srcdir)/trim_info.c; else echo trim_info.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > trim_info_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/trim_info.c; then echo $(srcdir)/trim_info.c; else echo trim_info.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > trim_info_.c || rm -f trim_info_.c
|
||||
clk_computime_.$(OBJEXT) clk_dcf7000_.$(OBJEXT) clk_hopf6021_.$(OBJEXT) \
|
||||
clk_meinberg_.$(OBJEXT) clk_rawdcf_.$(OBJEXT) clk_rcc8000_.$(OBJEXT) \
|
||||
clk_schmid_.$(OBJEXT) clk_trimtaip_.$(OBJEXT) clk_trimtsip_.$(OBJEXT) \
|
||||
@ -324,6 +353,7 @@ clk_varitext_.$(OBJEXT) clk_wharton_.$(OBJEXT) data_mbg_.$(OBJEXT) \
|
||||
info_trimble_.$(OBJEXT) parse_.$(OBJEXT) parse_conf_.$(OBJEXT) \
|
||||
parsesolaris_.$(OBJEXT) parsestreams_.$(OBJEXT) trim_info_.$(OBJEXT) : \
|
||||
$(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -336,7 +366,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -352,47 +382,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_computime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_dcf7000$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_hopf6021$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_meinberg$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_rawdcf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_rcc8000$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_schmid$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_trimtaip$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_trimtsip$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_varitext$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/clk_wharton$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/data_mbg$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/info_trimble$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/parse$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/parse_conf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/parsesolaris$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/parsestreams$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/trim_info$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -401,7 +394,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -426,24 +423,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstLIBRARIES clean-noinstPROGRAMS \
|
||||
@ -454,11 +448,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -466,7 +460,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -480,15 +474,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstLIBRARIES clean-noinstPROGRAMS distclean \
|
||||
distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-man install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am
|
||||
install-exec-am install-info install-info-am install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-info-am
|
||||
|
||||
|
||||
#
|
||||
@ -591,7 +588,6 @@ parsesolaris.o: sys/systm.h
|
||||
sys/systm.h:
|
||||
mkdir sys && \
|
||||
sed -e 's/ffs(long)/ffs(int)/' < /usr/include/sys/systm.h > sys/systm.h
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -7,6 +7,9 @@ CLEANFILES = $(EXTRA_LIBRARIES)
|
||||
# NOTES:
|
||||
# don't use RSAREF's global.h - we use ours.
|
||||
|
||||
@isRSAREF_TRUE@foo = digit.c digit.h
|
||||
@isRSAEURO_TRUE@foo = md4c.c shsc.c
|
||||
|
||||
nodist_librsaref_a_SOURCES = \
|
||||
desc.c \
|
||||
md2c.c \
|
||||
@ -27,7 +30,7 @@ nodist_librsaref_a_SOURCES = \
|
||||
prime.h \
|
||||
r_random.h \
|
||||
rsa.h \
|
||||
rsaref.h @RSASRCS@
|
||||
rsaref.h $(foo)
|
||||
|
||||
librsaref_a_LIBADD = @RSAOBJS@
|
||||
librsaref_a_DEPENDENCIES = $(librsaref_a_LIBADD)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,11 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +36,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +52,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +76,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +92,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,23 +105,22 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
|
||||
|
||||
noinst_LIBRARIES = @MAKE_LIBRSAREF@
|
||||
EXTRA_LIBRARIES = librsaref.a
|
||||
CLEANFILES = $(EXTRA_LIBRARIES)
|
||||
|
||||
|
||||
# NOTES:
|
||||
# don't use RSAREF's global.h - we use ours.
|
||||
@isRSAREF_TRUE@foo = digit.c digit.h
|
||||
@isRSAEURO_TRUE@foo = md4c.c shsc.c
|
||||
|
||||
nodist_librsaref_a_SOURCES = \
|
||||
desc.c \
|
||||
@ -145,7 +142,7 @@ nodist_librsaref_a_SOURCES = \
|
||||
prime.h \
|
||||
r_random.h \
|
||||
rsa.h \
|
||||
rsaref.h @RSASRCS@
|
||||
rsaref.h $(foo)
|
||||
|
||||
|
||||
librsaref_a_LIBADD = @RSAOBJS@
|
||||
@ -156,57 +153,60 @@ INCLUDES = -I$(top_srcdir)/include
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
DISTCLEANFILES = $(nodist_librsaref_a_SOURCES) stamp-rsaref
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = librsaref
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
librsaref_a_AR = $(AR) cru
|
||||
nodist_librsaref_a_OBJECTS = desc.$(OBJEXT) md2c.$(OBJEXT) \
|
||||
md5c.$(OBJEXT) nn.$(OBJEXT) prime.$(OBJEXT) r_dh.$(OBJEXT) \
|
||||
r_encode.$(OBJEXT) r_enhanc.$(OBJEXT) r_keygen.$(OBJEXT) \
|
||||
r_random.$(OBJEXT) r_stdlib.$(OBJEXT) rsa.$(OBJEXT)
|
||||
md5c.$(OBJEXT) nn.$(OBJEXT) prime.$(OBJEXT) r_dh.$(OBJEXT) \
|
||||
r_encode.$(OBJEXT) r_enhanc.$(OBJEXT) r_keygen.$(OBJEXT) \
|
||||
r_random.$(OBJEXT) r_stdlib.$(OBJEXT) rsa.$(OBJEXT)
|
||||
librsaref_a_OBJECTS = $(nodist_librsaref_a_OBJECTS)
|
||||
AR = ar
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/desc.Po $(DEPDIR)/md2c.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/md5c.Po $(DEPDIR)/nn.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/prime.Po $(DEPDIR)/r_dh.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/r_encode.Po $(DEPDIR)/r_enhanc.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/r_keygen.Po $(DEPDIR)/r_random.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/r_stdlib.Po $(DEPDIR)/rsa.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES =
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/desc.Po $(DEPDIR)/md2c.Po $(DEPDIR)/md5c.Po \
|
||||
@AMDEP@ $(DEPDIR)/nn.Po $(DEPDIR)/prime.Po $(DEPDIR)/r_dh.Po \
|
||||
@AMDEP@ $(DEPDIR)/r_encode.Po $(DEPDIR)/r_enhanc.Po \
|
||||
@AMDEP@ $(DEPDIR)/r_keygen.Po $(DEPDIR)/r_random.Po \
|
||||
@AMDEP@ $(DEPDIR)/r_stdlib.Po $(DEPDIR)/rsa.Po
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
SOURCES = $(nodist_librsaref_a_SOURCES)
|
||||
OBJECTS = $(nodist_librsaref_a_OBJECTS)
|
||||
|
||||
all: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .h .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
.SUFFIXES: .c .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu librsaref/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
AR = ar
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
librsaref.a: $(librsaref_a_OBJECTS) $(librsaref_a_DEPENDENCIES)
|
||||
-rm -f librsaref.a
|
||||
$(librsaref_a_AR) librsaref.a $(librsaref_a_OBJECTS) $(librsaref_a_LIBADD)
|
||||
$(RANLIB) librsaref.a
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
@ -214,10 +214,35 @@ mostlyclean-compile:
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
librsaref.a: $(librsaref_a_OBJECTS) $(librsaref_a_DEPENDENCIES)
|
||||
-rm -f librsaref.a
|
||||
$(librsaref_a_AR) librsaref.a $(librsaref_a_OBJECTS) $(librsaref_a_LIBADD)
|
||||
$(RANLIB) librsaref.a
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/desc.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/md2c.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/md5c.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/nn.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/prime.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_dh.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_encode.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_enhanc.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_keygen.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_random.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/r_stdlib.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/rsa.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -230,7 +255,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -246,41 +271,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/desc.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/md2c.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/md5c.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/nn.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/prime.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_dh.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_encode.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_enhanc.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_keygen.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_random.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/r_stdlib.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/rsa.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -289,7 +283,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -314,25 +312,22 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
clean: clean-am
|
||||
|
||||
@ -343,11 +338,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -355,7 +350,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -369,15 +364,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstLIBRARIES distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic tags \
|
||||
uninstall uninstall-am
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
|
||||
#EXTRA_DIST =
|
||||
@ -400,7 +398,6 @@ stamp-rsaref:
|
||||
done
|
||||
@echo timestamp > stamp-rsarefT 2> /dev/null
|
||||
@mv stamp-rsarefT stamp-rsaref
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -4,7 +4,7 @@
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id: mkinstalldirs,v 1.3 2001/04/23 03:27:24 stenn Exp $
|
||||
# $Id$
|
||||
|
||||
errstatus=0
|
||||
|
||||
|
@ -20,22 +20,24 @@ EXTRA_PROGRAMS = check_y2k
|
||||
check-local: @MAKE_CHECK_Y2K@
|
||||
test -z "@MAKE_CHECK_Y2K@" || ./@MAKE_CHECK_Y2K@
|
||||
|
||||
# ntp_resolver.c is presently unused...
|
||||
ntpd_SOURCES = cmd_args.c jupiter.h map_vme.c ntp_config.c ntp_control.c \
|
||||
ntp_crypto.c ntp_filegen.c \
|
||||
ntp_intres.c ntp_io.c ntp_loopfilter.c ntp_monitor.c ntp_peer.c \
|
||||
ntp_proto.c ntp_refclock.c ntp_request.c ntp_resolver.c \
|
||||
ntp_restrict.c ntp_timer.c \
|
||||
ntp_util.c ntpd.c refclock_acts.c refclock_arbiter.c refclock_arc.c \
|
||||
refclock_as2201.c refclock_atom.c refclock_bancomm.c \
|
||||
refclock_chronolog.c refclock_chu.c refclock_conf.c refclock_datum.c \
|
||||
refclock_dumbclock.c refclock_fg.c refclock_gpsvme.c refclock_heath.c \
|
||||
refclock_hopfser.c refclock_hopfpci.c \
|
||||
refclock_hpgps.c refclock_irig.c refclock_jupiter.c refclock_leitch.c \
|
||||
refclock_local.c refclock_msfees.c refclock_mx4200.c refclock_nmea.c \
|
||||
refclock_oncore.c refclock_palisade.c refclock_palisade.h \
|
||||
refclock_parse.c refclock_pcf.c refclock_pst.c refclock_ptbacts.c \
|
||||
refclock_shm.c refclock_tpro.c refclock_trak.c refclock_true.c \
|
||||
refclock_ulink.c refclock_usno.c refclock_wwv.c refclock_wwvb.c
|
||||
ntp_proto.c ntp_refclock.c ntp_request.c \
|
||||
ntp_restrict.c ntp_timer.c ntp_util.c ntpd.c \
|
||||
refclock_acts.c refclock_arbiter.c refclock_arc.c refclock_as2201.c \
|
||||
refclock_atom.c refclock_bancomm.c refclock_chronolog.c \
|
||||
refclock_chu.c refclock_conf.c refclock_datum.c refclock_dumbclock.c \
|
||||
refclock_fg.c refclock_gpsvme.c refclock_heath.c refclock_hopfser.c \
|
||||
refclock_hopfpci.c refclock_hpgps.c refclock_irig.c refclock_jjy.c \
|
||||
refclock_jupiter.c refclock_leitch.c refclock_local.c \
|
||||
refclock_msfees.c refclock_mx4200.c refclock_nmea.c refclock_oncore.c \
|
||||
refclock_palisade.c refclock_palisade.h refclock_parse.c \
|
||||
refclock_pcf.c refclock_pst.c refclock_ptbacts.c refclock_shm.c \
|
||||
refclock_tpro.c refclock_trak.c refclock_true.c refclock_tt560.c \
|
||||
refclock_ulink.c refclock_usno.c refclock_wwv.c refclock_wwvb.c \
|
||||
refclock_zyfer.c
|
||||
|
||||
$(PROGRAMS): $(LDADD)
|
||||
|
||||
@ -46,5 +48,5 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libparse && $(MAKE)
|
||||
|
||||
version.o: $(ntpd_OBJECTS) ../libntp/libntp.a @LIBPARSE@ @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpd
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpd
|
||||
$(COMPILE) -c version.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = ntpd
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/librsaref
|
||||
@ -135,25 +129,25 @@ ETAGS_ARGS = Makefile.am
|
||||
check_PROGRAMS = @MAKE_CHECK_Y2K@
|
||||
EXTRA_PROGRAMS = check_y2k
|
||||
|
||||
# ntp_resolver.c is presently unused...
|
||||
ntpd_SOURCES = cmd_args.c jupiter.h map_vme.c ntp_config.c ntp_control.c \
|
||||
ntp_crypto.c ntp_filegen.c \
|
||||
ntp_intres.c ntp_io.c ntp_loopfilter.c ntp_monitor.c ntp_peer.c \
|
||||
ntp_proto.c ntp_refclock.c ntp_request.c ntp_resolver.c \
|
||||
ntp_restrict.c ntp_timer.c \
|
||||
ntp_util.c ntpd.c refclock_acts.c refclock_arbiter.c refclock_arc.c \
|
||||
refclock_as2201.c refclock_atom.c refclock_bancomm.c \
|
||||
refclock_chronolog.c refclock_chu.c refclock_conf.c refclock_datum.c \
|
||||
refclock_dumbclock.c refclock_fg.c refclock_gpsvme.c refclock_heath.c \
|
||||
refclock_hopfser.c refclock_hopfpci.c \
|
||||
refclock_hpgps.c refclock_irig.c refclock_jupiter.c refclock_leitch.c \
|
||||
refclock_local.c refclock_msfees.c refclock_mx4200.c refclock_nmea.c \
|
||||
refclock_oncore.c refclock_palisade.c refclock_palisade.h \
|
||||
refclock_parse.c refclock_pcf.c refclock_pst.c refclock_ptbacts.c \
|
||||
refclock_shm.c refclock_tpro.c refclock_trak.c refclock_true.c \
|
||||
refclock_ulink.c refclock_usno.c refclock_wwv.c refclock_wwvb.c
|
||||
ntp_proto.c ntp_refclock.c ntp_request.c \
|
||||
ntp_restrict.c ntp_timer.c ntp_util.c ntpd.c \
|
||||
refclock_acts.c refclock_arbiter.c refclock_arc.c refclock_as2201.c \
|
||||
refclock_atom.c refclock_bancomm.c refclock_chronolog.c \
|
||||
refclock_chu.c refclock_conf.c refclock_datum.c refclock_dumbclock.c \
|
||||
refclock_fg.c refclock_gpsvme.c refclock_heath.c refclock_hopfser.c \
|
||||
refclock_hopfpci.c refclock_hpgps.c refclock_irig.c refclock_jjy.c \
|
||||
refclock_jupiter.c refclock_leitch.c refclock_local.c \
|
||||
refclock_msfees.c refclock_mx4200.c refclock_nmea.c refclock_oncore.c \
|
||||
refclock_palisade.c refclock_palisade.h refclock_parse.c \
|
||||
refclock_pcf.c refclock_pst.c refclock_ptbacts.c refclock_shm.c \
|
||||
refclock_tpro.c refclock_trak.c refclock_true.c refclock_tt560.c \
|
||||
refclock_ulink.c refclock_usno.c refclock_wwv.c refclock_wwvb.c \
|
||||
refclock_zyfer.c
|
||||
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = ntpd
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -163,94 +157,120 @@ bin_PROGRAMS = ntpd$(EXEEXT)
|
||||
check_PROGRAMS = @MAKE_CHECK_Y2K@
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
check_y2k_SOURCES = check_y2k.c
|
||||
check_y2k_OBJECTS = check_y2k$U.$(OBJEXT)
|
||||
check_y2k_LDADD = $(LDADD)
|
||||
check_y2k_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
check_y2k_LDFLAGS =
|
||||
check_y2k_LDFLAGS =
|
||||
am_ntpd_OBJECTS = cmd_args$U.$(OBJEXT) map_vme$U.$(OBJEXT) \
|
||||
ntp_config$U.$(OBJEXT) ntp_control$U.$(OBJEXT) ntp_crypto$U.$(OBJEXT) \
|
||||
ntp_filegen$U.$(OBJEXT) ntp_intres$U.$(OBJEXT) ntp_io$U.$(OBJEXT) \
|
||||
ntp_loopfilter$U.$(OBJEXT) ntp_monitor$U.$(OBJEXT) ntp_peer$U.$(OBJEXT) \
|
||||
ntp_proto$U.$(OBJEXT) ntp_refclock$U.$(OBJEXT) ntp_request$U.$(OBJEXT) \
|
||||
ntp_resolver$U.$(OBJEXT) ntp_restrict$U.$(OBJEXT) ntp_timer$U.$(OBJEXT) \
|
||||
ntp_util$U.$(OBJEXT) ntpd$U.$(OBJEXT) refclock_acts$U.$(OBJEXT) \
|
||||
refclock_arbiter$U.$(OBJEXT) refclock_arc$U.$(OBJEXT) \
|
||||
refclock_as2201$U.$(OBJEXT) refclock_atom$U.$(OBJEXT) \
|
||||
refclock_bancomm$U.$(OBJEXT) refclock_chronolog$U.$(OBJEXT) \
|
||||
refclock_chu$U.$(OBJEXT) refclock_conf$U.$(OBJEXT) \
|
||||
refclock_datum$U.$(OBJEXT) refclock_dumbclock$U.$(OBJEXT) \
|
||||
refclock_fg$U.$(OBJEXT) refclock_gpsvme$U.$(OBJEXT) \
|
||||
refclock_heath$U.$(OBJEXT) refclock_hopfser$U.$(OBJEXT) \
|
||||
refclock_hopfpci$U.$(OBJEXT) refclock_hpgps$U.$(OBJEXT) \
|
||||
refclock_irig$U.$(OBJEXT) refclock_jupiter$U.$(OBJEXT) \
|
||||
refclock_leitch$U.$(OBJEXT) refclock_local$U.$(OBJEXT) \
|
||||
refclock_msfees$U.$(OBJEXT) refclock_mx4200$U.$(OBJEXT) \
|
||||
refclock_nmea$U.$(OBJEXT) refclock_oncore$U.$(OBJEXT) \
|
||||
refclock_palisade$U.$(OBJEXT) refclock_parse$U.$(OBJEXT) \
|
||||
refclock_pcf$U.$(OBJEXT) refclock_pst$U.$(OBJEXT) \
|
||||
refclock_ptbacts$U.$(OBJEXT) refclock_shm$U.$(OBJEXT) \
|
||||
refclock_tpro$U.$(OBJEXT) refclock_trak$U.$(OBJEXT) \
|
||||
refclock_true$U.$(OBJEXT) refclock_ulink$U.$(OBJEXT) \
|
||||
refclock_usno$U.$(OBJEXT) refclock_wwv$U.$(OBJEXT) \
|
||||
refclock_wwvb$U.$(OBJEXT)
|
||||
ntp_config$U.$(OBJEXT) ntp_control$U.$(OBJEXT) \
|
||||
ntp_crypto$U.$(OBJEXT) ntp_filegen$U.$(OBJEXT) \
|
||||
ntp_intres$U.$(OBJEXT) ntp_io$U.$(OBJEXT) \
|
||||
ntp_loopfilter$U.$(OBJEXT) ntp_monitor$U.$(OBJEXT) \
|
||||
ntp_peer$U.$(OBJEXT) ntp_proto$U.$(OBJEXT) \
|
||||
ntp_refclock$U.$(OBJEXT) ntp_request$U.$(OBJEXT) \
|
||||
ntp_restrict$U.$(OBJEXT) ntp_timer$U.$(OBJEXT) \
|
||||
ntp_util$U.$(OBJEXT) ntpd$U.$(OBJEXT) refclock_acts$U.$(OBJEXT) \
|
||||
refclock_arbiter$U.$(OBJEXT) refclock_arc$U.$(OBJEXT) \
|
||||
refclock_as2201$U.$(OBJEXT) refclock_atom$U.$(OBJEXT) \
|
||||
refclock_bancomm$U.$(OBJEXT) refclock_chronolog$U.$(OBJEXT) \
|
||||
refclock_chu$U.$(OBJEXT) refclock_conf$U.$(OBJEXT) \
|
||||
refclock_datum$U.$(OBJEXT) refclock_dumbclock$U.$(OBJEXT) \
|
||||
refclock_fg$U.$(OBJEXT) refclock_gpsvme$U.$(OBJEXT) \
|
||||
refclock_heath$U.$(OBJEXT) refclock_hopfser$U.$(OBJEXT) \
|
||||
refclock_hopfpci$U.$(OBJEXT) refclock_hpgps$U.$(OBJEXT) \
|
||||
refclock_irig$U.$(OBJEXT) refclock_jjy$U.$(OBJEXT) \
|
||||
refclock_jupiter$U.$(OBJEXT) refclock_leitch$U.$(OBJEXT) \
|
||||
refclock_local$U.$(OBJEXT) refclock_msfees$U.$(OBJEXT) \
|
||||
refclock_mx4200$U.$(OBJEXT) refclock_nmea$U.$(OBJEXT) \
|
||||
refclock_oncore$U.$(OBJEXT) refclock_palisade$U.$(OBJEXT) \
|
||||
refclock_parse$U.$(OBJEXT) refclock_pcf$U.$(OBJEXT) \
|
||||
refclock_pst$U.$(OBJEXT) refclock_ptbacts$U.$(OBJEXT) \
|
||||
refclock_shm$U.$(OBJEXT) refclock_tpro$U.$(OBJEXT) \
|
||||
refclock_trak$U.$(OBJEXT) refclock_true$U.$(OBJEXT) \
|
||||
refclock_tt560$U.$(OBJEXT) refclock_ulink$U.$(OBJEXT) \
|
||||
refclock_usno$U.$(OBJEXT) refclock_wwv$U.$(OBJEXT) \
|
||||
refclock_wwvb$U.$(OBJEXT) refclock_zyfer$U.$(OBJEXT)
|
||||
ntpd_OBJECTS = $(am_ntpd_OBJECTS)
|
||||
ntpd_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntpd_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
ntpd_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/check_y2k$U.Po $(DEPDIR)/cmd_args$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/map_vme$U.Po $(DEPDIR)/ntp_config$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_control$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_crypto$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_filegen$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_intres$U.Po $(DEPDIR)/ntp_io$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_loopfilter$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_monitor$U.Po $(DEPDIR)/ntp_peer$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_proto$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_refclock$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_request$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_restrict$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntp_timer$U.Po $(DEPDIR)/ntp_util$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntpd$U.Po $(DEPDIR)/refclock_acts$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_arbiter$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_arc$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_as2201$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_atom$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_bancomm$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_chronolog$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_chu$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_conf$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_datum$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_dumbclock$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_fg$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_gpsvme$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_heath$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_hopfpci$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_hopfser$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_hpgps$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_irig$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_jjy$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_jupiter$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_leitch$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_local$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_msfees$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_mx4200$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_nmea$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_oncore$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_palisade$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_parse$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_pcf$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_pst$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_ptbacts$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_shm$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_tpro$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_trak$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_true$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_tt560$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_ulink$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_usno$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_wwv$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_wwvb$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/refclock_zyfer$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = check_y2k.c $(ntpd_SOURCES)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/check_y2k$U.Po $(DEPDIR)/cmd_args$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/map_vme$U.Po $(DEPDIR)/ntp_config$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_control$U.Po $(DEPDIR)/ntp_crypto$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_filegen$U.Po $(DEPDIR)/ntp_intres$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_io$U.Po $(DEPDIR)/ntp_loopfilter$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_monitor$U.Po $(DEPDIR)/ntp_peer$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_proto$U.Po $(DEPDIR)/ntp_refclock$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_request$U.Po $(DEPDIR)/ntp_resolver$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_restrict$U.Po $(DEPDIR)/ntp_timer$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntp_util$U.Po $(DEPDIR)/ntpd$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_acts$U.Po $(DEPDIR)/refclock_arbiter$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_arc$U.Po $(DEPDIR)/refclock_as2201$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_atom$U.Po $(DEPDIR)/refclock_bancomm$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_chronolog$U.Po $(DEPDIR)/refclock_chu$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_conf$U.Po $(DEPDIR)/refclock_datum$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_dumbclock$U.Po $(DEPDIR)/refclock_fg$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_gpsvme$U.Po $(DEPDIR)/refclock_heath$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_hopfpci$U.Po $(DEPDIR)/refclock_hopfser$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_hpgps$U.Po $(DEPDIR)/refclock_irig$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_jupiter$U.Po $(DEPDIR)/refclock_leitch$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_local$U.Po $(DEPDIR)/refclock_msfees$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_mx4200$U.Po $(DEPDIR)/refclock_nmea$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_oncore$U.Po $(DEPDIR)/refclock_palisade$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_parse$U.Po $(DEPDIR)/refclock_pcf$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_pst$U.Po $(DEPDIR)/refclock_ptbacts$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_shm$U.Po $(DEPDIR)/refclock_tpro$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_trak$U.Po $(DEPDIR)/refclock_true$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_ulink$U.Po $(DEPDIR)/refclock_usno$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/refclock_wwv$U.Po $(DEPDIR)/refclock_wwvb$U.Po
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
SOURCES = check_y2k.c $(ntpd_SOURCES)
|
||||
OBJECTS = check_y2k$U.$(OBJEXT) $(am_ntpd_OBJECTS)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .h .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
.SUFFIXES: .c .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ntpd/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -258,8 +278,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -278,161 +300,238 @@ clean-binPROGRAMS:
|
||||
|
||||
clean-checkPROGRAMS:
|
||||
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
|
||||
check_y2k$(EXEEXT): $(check_y2k_OBJECTS) $(check_y2k_DEPENDENCIES)
|
||||
@rm -f check_y2k$(EXEEXT)
|
||||
$(LINK) $(check_y2k_LDFLAGS) $(check_y2k_OBJECTS) $(check_y2k_LDADD) $(LIBS)
|
||||
ntpd$(EXEEXT): $(ntpd_OBJECTS) $(ntpd_DEPENDENCIES)
|
||||
@rm -f ntpd$(EXEEXT)
|
||||
$(LINK) $(ntpd_LDFLAGS) $(ntpd_OBJECTS) $(ntpd_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
check_y2k: $(check_y2k_OBJECTS) $(check_y2k_DEPENDENCIES)
|
||||
@rm -f check_y2k
|
||||
$(LINK) $(check_y2k_LDFLAGS) $(check_y2k_OBJECTS) $(check_y2k_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/check_y2k$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/cmd_args$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/map_vme$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_config$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_control$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_crypto$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_filegen$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_intres$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_io$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_loopfilter$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_monitor$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_peer$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_proto$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_refclock$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_request$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_restrict$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_timer$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp_util$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpd$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_acts$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_arbiter$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_arc$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_as2201$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_atom$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_bancomm$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_chronolog$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_chu$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_conf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_datum$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_dumbclock$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_fg$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_gpsvme$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_heath$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_hopfpci$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_hopfser$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_hpgps$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_irig$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_jjy$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_jupiter$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_leitch$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_local$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_msfees$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_mx4200$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_nmea$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_oncore$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_palisade$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_parse$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_pcf$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_pst$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_ptbacts$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_shm$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_tpro$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_trak$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_true$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_tt560$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_ulink$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_usno$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_wwv$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_wwvb$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/refclock_zyfer$U.Po@am__quote@
|
||||
|
||||
ntpd: $(ntpd_OBJECTS) $(ntpd_DEPENDENCIES)
|
||||
@rm -f ntpd
|
||||
$(LINK) $(ntpd_LDFLAGS) $(ntpd_OBJECTS) $(ntpd_LDADD) $(LIBS)
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
check_y2k_.c: check_y2k.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/check_y2k.c; then echo $(srcdir)/check_y2k.c; else echo check_y2k.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > check_y2k_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/check_y2k.c; then echo $(srcdir)/check_y2k.c; else echo check_y2k.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > check_y2k_.c || rm -f check_y2k_.c
|
||||
cmd_args_.c: cmd_args.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/cmd_args.c; then echo $(srcdir)/cmd_args.c; else echo cmd_args.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > cmd_args_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/cmd_args.c; then echo $(srcdir)/cmd_args.c; else echo cmd_args.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > cmd_args_.c || rm -f cmd_args_.c
|
||||
map_vme_.c: map_vme.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/map_vme.c; then echo $(srcdir)/map_vme.c; else echo map_vme.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > map_vme_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/map_vme.c; then echo $(srcdir)/map_vme.c; else echo map_vme.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > map_vme_.c || rm -f map_vme_.c
|
||||
ntp_config_.c: ntp_config.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_config.c; then echo $(srcdir)/ntp_config.c; else echo ntp_config.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_config_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_config.c; then echo $(srcdir)/ntp_config.c; else echo ntp_config.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_config_.c || rm -f ntp_config_.c
|
||||
ntp_control_.c: ntp_control.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_control.c; then echo $(srcdir)/ntp_control.c; else echo ntp_control.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_control_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_control.c; then echo $(srcdir)/ntp_control.c; else echo ntp_control.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_control_.c || rm -f ntp_control_.c
|
||||
ntp_crypto_.c: ntp_crypto.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_crypto.c; then echo $(srcdir)/ntp_crypto.c; else echo ntp_crypto.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_crypto_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_crypto.c; then echo $(srcdir)/ntp_crypto.c; else echo ntp_crypto.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_crypto_.c || rm -f ntp_crypto_.c
|
||||
ntp_filegen_.c: ntp_filegen.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_filegen.c; then echo $(srcdir)/ntp_filegen.c; else echo ntp_filegen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_filegen_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_filegen.c; then echo $(srcdir)/ntp_filegen.c; else echo ntp_filegen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_filegen_.c || rm -f ntp_filegen_.c
|
||||
ntp_intres_.c: ntp_intres.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_intres.c; then echo $(srcdir)/ntp_intres.c; else echo ntp_intres.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_intres_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_intres.c; then echo $(srcdir)/ntp_intres.c; else echo ntp_intres.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_intres_.c || rm -f ntp_intres_.c
|
||||
ntp_io_.c: ntp_io.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_io.c; then echo $(srcdir)/ntp_io.c; else echo ntp_io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_io_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_io.c; then echo $(srcdir)/ntp_io.c; else echo ntp_io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_io_.c || rm -f ntp_io_.c
|
||||
ntp_loopfilter_.c: ntp_loopfilter.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_loopfilter.c; then echo $(srcdir)/ntp_loopfilter.c; else echo ntp_loopfilter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_loopfilter_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_loopfilter.c; then echo $(srcdir)/ntp_loopfilter.c; else echo ntp_loopfilter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_loopfilter_.c || rm -f ntp_loopfilter_.c
|
||||
ntp_monitor_.c: ntp_monitor.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_monitor.c; then echo $(srcdir)/ntp_monitor.c; else echo ntp_monitor.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_monitor_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_monitor.c; then echo $(srcdir)/ntp_monitor.c; else echo ntp_monitor.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_monitor_.c || rm -f ntp_monitor_.c
|
||||
ntp_peer_.c: ntp_peer.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_peer.c; then echo $(srcdir)/ntp_peer.c; else echo ntp_peer.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_peer_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_peer.c; then echo $(srcdir)/ntp_peer.c; else echo ntp_peer.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_peer_.c || rm -f ntp_peer_.c
|
||||
ntp_proto_.c: ntp_proto.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_proto.c; then echo $(srcdir)/ntp_proto.c; else echo ntp_proto.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_proto_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_proto.c; then echo $(srcdir)/ntp_proto.c; else echo ntp_proto.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_proto_.c || rm -f ntp_proto_.c
|
||||
ntp_refclock_.c: ntp_refclock.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_refclock.c; then echo $(srcdir)/ntp_refclock.c; else echo ntp_refclock.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_refclock_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_refclock.c; then echo $(srcdir)/ntp_refclock.c; else echo ntp_refclock.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_refclock_.c || rm -f ntp_refclock_.c
|
||||
ntp_request_.c: ntp_request.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_request.c; then echo $(srcdir)/ntp_request.c; else echo ntp_request.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_request_.c
|
||||
ntp_resolver_.c: ntp_resolver.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_resolver.c; then echo $(srcdir)/ntp_resolver.c; else echo ntp_resolver.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_resolver_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_request.c; then echo $(srcdir)/ntp_request.c; else echo ntp_request.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_request_.c || rm -f ntp_request_.c
|
||||
ntp_restrict_.c: ntp_restrict.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_restrict.c; then echo $(srcdir)/ntp_restrict.c; else echo ntp_restrict.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_restrict_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_restrict.c; then echo $(srcdir)/ntp_restrict.c; else echo ntp_restrict.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_restrict_.c || rm -f ntp_restrict_.c
|
||||
ntp_timer_.c: ntp_timer.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_timer.c; then echo $(srcdir)/ntp_timer.c; else echo ntp_timer.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_timer_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_timer.c; then echo $(srcdir)/ntp_timer.c; else echo ntp_timer.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_timer_.c || rm -f ntp_timer_.c
|
||||
ntp_util_.c: ntp_util.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_util.c; then echo $(srcdir)/ntp_util.c; else echo ntp_util.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_util_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp_util.c; then echo $(srcdir)/ntp_util.c; else echo ntp_util.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp_util_.c || rm -f ntp_util_.c
|
||||
ntpd_.c: ntpd.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpd.c; then echo $(srcdir)/ntpd.c; else echo ntpd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpd_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpd.c; then echo $(srcdir)/ntpd.c; else echo ntpd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpd_.c || rm -f ntpd_.c
|
||||
refclock_acts_.c: refclock_acts.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_acts.c; then echo $(srcdir)/refclock_acts.c; else echo refclock_acts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_acts_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_acts.c; then echo $(srcdir)/refclock_acts.c; else echo refclock_acts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_acts_.c || rm -f refclock_acts_.c
|
||||
refclock_arbiter_.c: refclock_arbiter.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_arbiter.c; then echo $(srcdir)/refclock_arbiter.c; else echo refclock_arbiter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_arbiter_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_arbiter.c; then echo $(srcdir)/refclock_arbiter.c; else echo refclock_arbiter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_arbiter_.c || rm -f refclock_arbiter_.c
|
||||
refclock_arc_.c: refclock_arc.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_arc.c; then echo $(srcdir)/refclock_arc.c; else echo refclock_arc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_arc_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_arc.c; then echo $(srcdir)/refclock_arc.c; else echo refclock_arc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_arc_.c || rm -f refclock_arc_.c
|
||||
refclock_as2201_.c: refclock_as2201.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_as2201.c; then echo $(srcdir)/refclock_as2201.c; else echo refclock_as2201.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_as2201_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_as2201.c; then echo $(srcdir)/refclock_as2201.c; else echo refclock_as2201.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_as2201_.c || rm -f refclock_as2201_.c
|
||||
refclock_atom_.c: refclock_atom.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_atom.c; then echo $(srcdir)/refclock_atom.c; else echo refclock_atom.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_atom_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_atom.c; then echo $(srcdir)/refclock_atom.c; else echo refclock_atom.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_atom_.c || rm -f refclock_atom_.c
|
||||
refclock_bancomm_.c: refclock_bancomm.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_bancomm.c; then echo $(srcdir)/refclock_bancomm.c; else echo refclock_bancomm.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_bancomm_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_bancomm.c; then echo $(srcdir)/refclock_bancomm.c; else echo refclock_bancomm.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_bancomm_.c || rm -f refclock_bancomm_.c
|
||||
refclock_chronolog_.c: refclock_chronolog.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_chronolog.c; then echo $(srcdir)/refclock_chronolog.c; else echo refclock_chronolog.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_chronolog_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_chronolog.c; then echo $(srcdir)/refclock_chronolog.c; else echo refclock_chronolog.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_chronolog_.c || rm -f refclock_chronolog_.c
|
||||
refclock_chu_.c: refclock_chu.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_chu.c; then echo $(srcdir)/refclock_chu.c; else echo refclock_chu.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_chu_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_chu.c; then echo $(srcdir)/refclock_chu.c; else echo refclock_chu.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_chu_.c || rm -f refclock_chu_.c
|
||||
refclock_conf_.c: refclock_conf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_conf.c; then echo $(srcdir)/refclock_conf.c; else echo refclock_conf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_conf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_conf.c; then echo $(srcdir)/refclock_conf.c; else echo refclock_conf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_conf_.c || rm -f refclock_conf_.c
|
||||
refclock_datum_.c: refclock_datum.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_datum.c; then echo $(srcdir)/refclock_datum.c; else echo refclock_datum.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_datum_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_datum.c; then echo $(srcdir)/refclock_datum.c; else echo refclock_datum.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_datum_.c || rm -f refclock_datum_.c
|
||||
refclock_dumbclock_.c: refclock_dumbclock.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_dumbclock.c; then echo $(srcdir)/refclock_dumbclock.c; else echo refclock_dumbclock.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_dumbclock_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_dumbclock.c; then echo $(srcdir)/refclock_dumbclock.c; else echo refclock_dumbclock.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_dumbclock_.c || rm -f refclock_dumbclock_.c
|
||||
refclock_fg_.c: refclock_fg.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_fg.c; then echo $(srcdir)/refclock_fg.c; else echo refclock_fg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_fg_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_fg.c; then echo $(srcdir)/refclock_fg.c; else echo refclock_fg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_fg_.c || rm -f refclock_fg_.c
|
||||
refclock_gpsvme_.c: refclock_gpsvme.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_gpsvme.c; then echo $(srcdir)/refclock_gpsvme.c; else echo refclock_gpsvme.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_gpsvme_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_gpsvme.c; then echo $(srcdir)/refclock_gpsvme.c; else echo refclock_gpsvme.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_gpsvme_.c || rm -f refclock_gpsvme_.c
|
||||
refclock_heath_.c: refclock_heath.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_heath.c; then echo $(srcdir)/refclock_heath.c; else echo refclock_heath.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_heath_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_heath.c; then echo $(srcdir)/refclock_heath.c; else echo refclock_heath.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_heath_.c || rm -f refclock_heath_.c
|
||||
refclock_hopfpci_.c: refclock_hopfpci.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hopfpci.c; then echo $(srcdir)/refclock_hopfpci.c; else echo refclock_hopfpci.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hopfpci_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hopfpci.c; then echo $(srcdir)/refclock_hopfpci.c; else echo refclock_hopfpci.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hopfpci_.c || rm -f refclock_hopfpci_.c
|
||||
refclock_hopfser_.c: refclock_hopfser.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hopfser.c; then echo $(srcdir)/refclock_hopfser.c; else echo refclock_hopfser.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hopfser_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hopfser.c; then echo $(srcdir)/refclock_hopfser.c; else echo refclock_hopfser.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hopfser_.c || rm -f refclock_hopfser_.c
|
||||
refclock_hpgps_.c: refclock_hpgps.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hpgps.c; then echo $(srcdir)/refclock_hpgps.c; else echo refclock_hpgps.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hpgps_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_hpgps.c; then echo $(srcdir)/refclock_hpgps.c; else echo refclock_hpgps.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_hpgps_.c || rm -f refclock_hpgps_.c
|
||||
refclock_irig_.c: refclock_irig.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_irig.c; then echo $(srcdir)/refclock_irig.c; else echo refclock_irig.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_irig_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_irig.c; then echo $(srcdir)/refclock_irig.c; else echo refclock_irig.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_irig_.c || rm -f refclock_irig_.c
|
||||
refclock_jjy_.c: refclock_jjy.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_jjy.c; then echo $(srcdir)/refclock_jjy.c; else echo refclock_jjy.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_jjy_.c || rm -f refclock_jjy_.c
|
||||
refclock_jupiter_.c: refclock_jupiter.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_jupiter.c; then echo $(srcdir)/refclock_jupiter.c; else echo refclock_jupiter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_jupiter_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_jupiter.c; then echo $(srcdir)/refclock_jupiter.c; else echo refclock_jupiter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_jupiter_.c || rm -f refclock_jupiter_.c
|
||||
refclock_leitch_.c: refclock_leitch.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_leitch.c; then echo $(srcdir)/refclock_leitch.c; else echo refclock_leitch.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_leitch_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_leitch.c; then echo $(srcdir)/refclock_leitch.c; else echo refclock_leitch.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_leitch_.c || rm -f refclock_leitch_.c
|
||||
refclock_local_.c: refclock_local.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_local.c; then echo $(srcdir)/refclock_local.c; else echo refclock_local.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_local_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_local.c; then echo $(srcdir)/refclock_local.c; else echo refclock_local.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_local_.c || rm -f refclock_local_.c
|
||||
refclock_msfees_.c: refclock_msfees.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_msfees.c; then echo $(srcdir)/refclock_msfees.c; else echo refclock_msfees.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_msfees_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_msfees.c; then echo $(srcdir)/refclock_msfees.c; else echo refclock_msfees.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_msfees_.c || rm -f refclock_msfees_.c
|
||||
refclock_mx4200_.c: refclock_mx4200.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_mx4200.c; then echo $(srcdir)/refclock_mx4200.c; else echo refclock_mx4200.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_mx4200_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_mx4200.c; then echo $(srcdir)/refclock_mx4200.c; else echo refclock_mx4200.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_mx4200_.c || rm -f refclock_mx4200_.c
|
||||
refclock_nmea_.c: refclock_nmea.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_nmea.c; then echo $(srcdir)/refclock_nmea.c; else echo refclock_nmea.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_nmea_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_nmea.c; then echo $(srcdir)/refclock_nmea.c; else echo refclock_nmea.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_nmea_.c || rm -f refclock_nmea_.c
|
||||
refclock_oncore_.c: refclock_oncore.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_oncore.c; then echo $(srcdir)/refclock_oncore.c; else echo refclock_oncore.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_oncore_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_oncore.c; then echo $(srcdir)/refclock_oncore.c; else echo refclock_oncore.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_oncore_.c || rm -f refclock_oncore_.c
|
||||
refclock_palisade_.c: refclock_palisade.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_palisade.c; then echo $(srcdir)/refclock_palisade.c; else echo refclock_palisade.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_palisade_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_palisade.c; then echo $(srcdir)/refclock_palisade.c; else echo refclock_palisade.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_palisade_.c || rm -f refclock_palisade_.c
|
||||
refclock_parse_.c: refclock_parse.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_parse.c; then echo $(srcdir)/refclock_parse.c; else echo refclock_parse.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_parse_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_parse.c; then echo $(srcdir)/refclock_parse.c; else echo refclock_parse.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_parse_.c || rm -f refclock_parse_.c
|
||||
refclock_pcf_.c: refclock_pcf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_pcf.c; then echo $(srcdir)/refclock_pcf.c; else echo refclock_pcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_pcf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_pcf.c; then echo $(srcdir)/refclock_pcf.c; else echo refclock_pcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_pcf_.c || rm -f refclock_pcf_.c
|
||||
refclock_pst_.c: refclock_pst.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_pst.c; then echo $(srcdir)/refclock_pst.c; else echo refclock_pst.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_pst_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_pst.c; then echo $(srcdir)/refclock_pst.c; else echo refclock_pst.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_pst_.c || rm -f refclock_pst_.c
|
||||
refclock_ptbacts_.c: refclock_ptbacts.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_ptbacts.c; then echo $(srcdir)/refclock_ptbacts.c; else echo refclock_ptbacts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_ptbacts_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_ptbacts.c; then echo $(srcdir)/refclock_ptbacts.c; else echo refclock_ptbacts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_ptbacts_.c || rm -f refclock_ptbacts_.c
|
||||
refclock_shm_.c: refclock_shm.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_shm.c; then echo $(srcdir)/refclock_shm.c; else echo refclock_shm.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_shm_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_shm.c; then echo $(srcdir)/refclock_shm.c; else echo refclock_shm.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_shm_.c || rm -f refclock_shm_.c
|
||||
refclock_tpro_.c: refclock_tpro.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_tpro.c; then echo $(srcdir)/refclock_tpro.c; else echo refclock_tpro.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_tpro_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_tpro.c; then echo $(srcdir)/refclock_tpro.c; else echo refclock_tpro.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_tpro_.c || rm -f refclock_tpro_.c
|
||||
refclock_trak_.c: refclock_trak.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_trak.c; then echo $(srcdir)/refclock_trak.c; else echo refclock_trak.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_trak_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_trak.c; then echo $(srcdir)/refclock_trak.c; else echo refclock_trak.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_trak_.c || rm -f refclock_trak_.c
|
||||
refclock_true_.c: refclock_true.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_true.c; then echo $(srcdir)/refclock_true.c; else echo refclock_true.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_true_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_true.c; then echo $(srcdir)/refclock_true.c; else echo refclock_true.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_true_.c || rm -f refclock_true_.c
|
||||
refclock_tt560_.c: refclock_tt560.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_tt560.c; then echo $(srcdir)/refclock_tt560.c; else echo refclock_tt560.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_tt560_.c || rm -f refclock_tt560_.c
|
||||
refclock_ulink_.c: refclock_ulink.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_ulink.c; then echo $(srcdir)/refclock_ulink.c; else echo refclock_ulink.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_ulink_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_ulink.c; then echo $(srcdir)/refclock_ulink.c; else echo refclock_ulink.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_ulink_.c || rm -f refclock_ulink_.c
|
||||
refclock_usno_.c: refclock_usno.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_usno.c; then echo $(srcdir)/refclock_usno.c; else echo refclock_usno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_usno_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_usno.c; then echo $(srcdir)/refclock_usno.c; else echo refclock_usno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_usno_.c || rm -f refclock_usno_.c
|
||||
refclock_wwv_.c: refclock_wwv.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_wwv.c; then echo $(srcdir)/refclock_wwv.c; else echo refclock_wwv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_wwv_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_wwv.c; then echo $(srcdir)/refclock_wwv.c; else echo refclock_wwv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_wwv_.c || rm -f refclock_wwv_.c
|
||||
refclock_wwvb_.c: refclock_wwvb.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_wwvb.c; then echo $(srcdir)/refclock_wwvb.c; else echo refclock_wwvb.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_wwvb_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_wwvb.c; then echo $(srcdir)/refclock_wwvb.c; else echo refclock_wwvb.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_wwvb_.c || rm -f refclock_wwvb_.c
|
||||
refclock_zyfer_.c: refclock_zyfer.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refclock_zyfer.c; then echo $(srcdir)/refclock_zyfer.c; else echo refclock_zyfer.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refclock_zyfer_.c || rm -f refclock_zyfer_.c
|
||||
check_y2k_.$(OBJEXT) cmd_args_.$(OBJEXT) map_vme_.$(OBJEXT) \
|
||||
ntp_config_.$(OBJEXT) ntp_control_.$(OBJEXT) ntp_crypto_.$(OBJEXT) \
|
||||
ntp_filegen_.$(OBJEXT) ntp_intres_.$(OBJEXT) ntp_io_.$(OBJEXT) \
|
||||
ntp_loopfilter_.$(OBJEXT) ntp_monitor_.$(OBJEXT) ntp_peer_.$(OBJEXT) \
|
||||
ntp_proto_.$(OBJEXT) ntp_refclock_.$(OBJEXT) ntp_request_.$(OBJEXT) \
|
||||
ntp_resolver_.$(OBJEXT) ntp_restrict_.$(OBJEXT) ntp_timer_.$(OBJEXT) \
|
||||
ntp_util_.$(OBJEXT) ntpd_.$(OBJEXT) refclock_acts_.$(OBJEXT) \
|
||||
refclock_arbiter_.$(OBJEXT) refclock_arc_.$(OBJEXT) \
|
||||
refclock_as2201_.$(OBJEXT) refclock_atom_.$(OBJEXT) \
|
||||
refclock_bancomm_.$(OBJEXT) refclock_chronolog_.$(OBJEXT) \
|
||||
refclock_chu_.$(OBJEXT) refclock_conf_.$(OBJEXT) \
|
||||
refclock_datum_.$(OBJEXT) refclock_dumbclock_.$(OBJEXT) \
|
||||
refclock_fg_.$(OBJEXT) refclock_gpsvme_.$(OBJEXT) \
|
||||
refclock_heath_.$(OBJEXT) refclock_hopfpci_.$(OBJEXT) \
|
||||
refclock_hopfser_.$(OBJEXT) refclock_hpgps_.$(OBJEXT) \
|
||||
refclock_irig_.$(OBJEXT) refclock_jupiter_.$(OBJEXT) \
|
||||
ntp_restrict_.$(OBJEXT) ntp_timer_.$(OBJEXT) ntp_util_.$(OBJEXT) \
|
||||
ntpd_.$(OBJEXT) refclock_acts_.$(OBJEXT) refclock_arbiter_.$(OBJEXT) \
|
||||
refclock_arc_.$(OBJEXT) refclock_as2201_.$(OBJEXT) \
|
||||
refclock_atom_.$(OBJEXT) refclock_bancomm_.$(OBJEXT) \
|
||||
refclock_chronolog_.$(OBJEXT) refclock_chu_.$(OBJEXT) \
|
||||
refclock_conf_.$(OBJEXT) refclock_datum_.$(OBJEXT) \
|
||||
refclock_dumbclock_.$(OBJEXT) refclock_fg_.$(OBJEXT) \
|
||||
refclock_gpsvme_.$(OBJEXT) refclock_heath_.$(OBJEXT) \
|
||||
refclock_hopfpci_.$(OBJEXT) refclock_hopfser_.$(OBJEXT) \
|
||||
refclock_hpgps_.$(OBJEXT) refclock_irig_.$(OBJEXT) \
|
||||
refclock_jjy_.$(OBJEXT) refclock_jupiter_.$(OBJEXT) \
|
||||
refclock_leitch_.$(OBJEXT) refclock_local_.$(OBJEXT) \
|
||||
refclock_msfees_.$(OBJEXT) refclock_mx4200_.$(OBJEXT) \
|
||||
refclock_nmea_.$(OBJEXT) refclock_oncore_.$(OBJEXT) \
|
||||
@ -440,9 +539,11 @@ refclock_palisade_.$(OBJEXT) refclock_parse_.$(OBJEXT) \
|
||||
refclock_pcf_.$(OBJEXT) refclock_pst_.$(OBJEXT) \
|
||||
refclock_ptbacts_.$(OBJEXT) refclock_shm_.$(OBJEXT) \
|
||||
refclock_tpro_.$(OBJEXT) refclock_trak_.$(OBJEXT) \
|
||||
refclock_true_.$(OBJEXT) refclock_ulink_.$(OBJEXT) \
|
||||
refclock_usno_.$(OBJEXT) refclock_wwv_.$(OBJEXT) \
|
||||
refclock_wwvb_.$(OBJEXT) : $(ANSI2KNR)
|
||||
refclock_true_.$(OBJEXT) refclock_tt560_.$(OBJEXT) \
|
||||
refclock_ulink_.$(OBJEXT) refclock_usno_.$(OBJEXT) \
|
||||
refclock_wwv_.$(OBJEXT) refclock_wwvb_.$(OBJEXT) \
|
||||
refclock_zyfer_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -455,7 +556,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -471,87 +572,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/check_y2k$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/cmd_args$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/map_vme$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_config$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_control$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_crypto$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_filegen$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_intres$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_io$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_loopfilter$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_monitor$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_peer$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_proto$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_refclock$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_request$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_resolver$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_restrict$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_timer$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp_util$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpd$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_acts$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_arbiter$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_arc$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_as2201$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_atom$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_bancomm$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_chronolog$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_chu$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_conf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_datum$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_dumbclock$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_fg$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_gpsvme$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_heath$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_hopfpci$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_hopfser$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_hpgps$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_irig$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_jupiter$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_leitch$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_local$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_msfees$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_mx4200$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_nmea$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_oncore$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_palisade$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_parse$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_pcf$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_pst$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_ptbacts$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_shm$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_tpro$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_trak$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_true$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_ulink$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_usno$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_wwv$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/refclock_wwvb$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -560,7 +584,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -588,24 +616,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
|
||||
@ -616,11 +641,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -628,7 +653,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -642,18 +667,19 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am check-local clean clean-binPROGRAMS \
|
||||
clean-checkPROGRAMS clean-generic distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-exec install-exec-am \
|
||||
install-info install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am check-local clean \
|
||||
clean-binPROGRAMS clean-checkPROGRAMS clean-generic distclean \
|
||||
distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
check-local: @MAKE_CHECK_Y2K@
|
||||
@ -668,9 +694,8 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libparse && $(MAKE)
|
||||
|
||||
version.o: $(ntpd_OBJECTS) ../libntp/libntp.a @LIBPARSE@ @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpd
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpd
|
||||
$(COMPILE) -c version.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* @(#) $Header: /cvs/ntp/ntpd/jupiter.h,v 1.1.1.1 1999/05/26 00:48:19 stenn Exp $ (LBL) */
|
||||
/* @(#) $Header$ (LBL) */
|
||||
|
||||
/*
|
||||
* Rockwell Jupiter GPS receiver definitions
|
||||
|
@ -24,7 +24,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#ifndef SIGCHLD
|
||||
# define SIGCHLD SIGCLD
|
||||
@ -79,8 +81,8 @@ extern int priority_done;
|
||||
* setvar [ ]
|
||||
* logfile logfile
|
||||
* logconfig [+|-|=][{sync|sys|peer|clock}{{,all}{info|statistics|events|status}}]...
|
||||
* enable auth|bclient|pll|kernel|monitor|stats
|
||||
* disable auth|bclient|pll|kernel|monitor|stats
|
||||
* enable auth|bclient|pll|kernel|monitor|stats|calibrate
|
||||
* disable auth|bclient|pll|kernel|monitor|stats|calibrate
|
||||
* phone ...
|
||||
* pps device [assert|clear] [hardpps]
|
||||
* priority high|normal
|
||||
@ -240,12 +242,12 @@ static struct keyword fgen_types[] = {
|
||||
static struct keyword flags_keywords[] = {
|
||||
{ "auth", PROTO_AUTHENTICATE },
|
||||
{ "bclient", PROTO_BROADCLIENT },
|
||||
{ "calibrate", PROTO_CAL },
|
||||
{ "kernel", PROTO_KERNEL },
|
||||
{ "monitor", PROTO_MONITOR },
|
||||
{ "ntp", PROTO_NTP },
|
||||
{ "stats", PROTO_FILEGEN },
|
||||
{ "pps", PROTO_PPS },
|
||||
{ "calibrate", PROTO_CAL },
|
||||
{ "stats", PROTO_FILEGEN },
|
||||
{ "", CONFIG_UNKNOWN }
|
||||
};
|
||||
|
||||
@ -2101,11 +2103,11 @@ save_resolve(
|
||||
}
|
||||
#endif
|
||||
|
||||
(void)fprintf(res_fp, "%s %d %d %d %d %d %d %d %s\n", name,
|
||||
(void)fprintf(res_fp, "%s %d %d %d %d %d %d %u %s\n", name,
|
||||
mode, version, minpoll, maxpoll, flags, ttl, keyid, keystr);
|
||||
#ifdef DEBUG
|
||||
if (debug > 1)
|
||||
printf("config: %s %d %d %d %d %x %d %08x %s\n", name, mode,
|
||||
printf("config: %s %d %d %d %d %x %d %u %s\n", name, mode,
|
||||
version, minpoll, maxpoll, flags, ttl, keyid, keystr);
|
||||
#endif
|
||||
|
||||
|
@ -395,6 +395,9 @@ static u_char clocktypes[] = {
|
||||
CTL_SST_TS_LF, /* REFCLK_FG (37) */
|
||||
CTL_SST_TS_UHF, /* REFCLK_HOPF_SERIAL (38) */
|
||||
CTL_SST_TS_UHF, /* REFCLK_HOPF_PCI (39) */
|
||||
CTL_SST_TS_LF, /* REFCLK_JJY (40) */
|
||||
CTL_SST_TS_UHF, /* REFCLK_TT560 (41) */
|
||||
CTL_SST_TS_UHF, /* REFCLK_ZYFER (42) */
|
||||
};
|
||||
|
||||
|
||||
|
@ -950,9 +950,7 @@ crypto_recv(
|
||||
#if NTP_API > 3
|
||||
ntv.modes = MOD_TAI;
|
||||
ntv.constant = sys_tai;
|
||||
if (ntp_adjtime(&ntv) == TIME_ERROR)
|
||||
msyslog(LOG_ERR,
|
||||
"kernel TAI update failed");
|
||||
(void)ntp_adjtime(&ntv);
|
||||
#endif /* NTP_API */
|
||||
#endif /* KERNEL_PLL */
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "ntp_machine.h"
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_request.h"
|
||||
@ -515,7 +516,7 @@ findhostaddr(
|
||||
msyslog(LOG_INFO, "findhostaddr: address resolved.");
|
||||
#endif
|
||||
s = strlen(hp->h_name) + 1;
|
||||
cp = emalloc(s);
|
||||
cp = (char *)emalloc(s);
|
||||
strcpy(cp, hp->h_name);
|
||||
entry->ce_name = cp;
|
||||
}
|
||||
|
@ -26,9 +26,13 @@
|
||||
#ifdef HAVE_NETINET_IN_SYSTM_H
|
||||
# include <netinet/in_systm.h>
|
||||
#else /* Some old linux systems at least have in_system.h instead. */
|
||||
# include <netinet/in_system.h>
|
||||
# ifdef HAVE_NETINET_IN_SYSTEM_H
|
||||
# include <netinet/in_system.h>
|
||||
# endif
|
||||
#endif /* HAVE_NETINET_IN_SYSTM_H */
|
||||
#include <netinet/ip.h>
|
||||
#ifdef HAVE_NETINET_IP_H
|
||||
# include <netinet/ip.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
@ -37,6 +41,8 @@
|
||||
#endif
|
||||
#include <arpa/inet.h>
|
||||
|
||||
extern int listen_to_virtual_ips;
|
||||
|
||||
#if _BSDI_VERSION >= 199510
|
||||
# include <ifaddrs.h>
|
||||
#endif
|
||||
@ -271,9 +277,15 @@ create_sockets(
|
||||
if ((ifap->ifa_flags & IFF_UP) == 0)
|
||||
continue;
|
||||
|
||||
if (debug)
|
||||
printf("after getifaddrs(), considering %s (%s)\n",
|
||||
ifap->ifa_name,
|
||||
inet_ntoa(((struct sockaddr_in *)ifap->ifa_addr)->sin_addr));
|
||||
|
||||
if (ifap->ifa_flags & IFF_LOOPBACK) {
|
||||
sin = (struct sockaddr_in *)ifap->ifa_addr;
|
||||
if (ntohl(sin->sin_addr.s_addr) != 0x7f000001)
|
||||
if (ntohl(sin->sin_addr.s_addr) != 0x7f000001 &&
|
||||
!listen_to_virtual_ips)
|
||||
continue;
|
||||
}
|
||||
inter_list[i].flags = 0;
|
||||
@ -314,10 +326,10 @@ create_sockets(
|
||||
* one physical interface. -wsr
|
||||
*/
|
||||
for (j=0; j < i; j++)
|
||||
if (inter_list[j].sin.sin_addr.s_addr &
|
||||
inter_list[j].mask.sin_addr.s_addr ==
|
||||
inter_list[i].sin.sin_addr.s_addr &
|
||||
inter_list[i].mask.sin_addr.s_addr)
|
||||
if ((inter_list[j].sin.sin_addr.s_addr &
|
||||
inter_list[j].mask.sin_addr.s_addr) ==
|
||||
(inter_list[i].sin.sin_addr.s_addr &
|
||||
inter_list[i].mask.sin_addr.s_addr))
|
||||
{
|
||||
if (inter_list[j].flags & INT_LOOPBACK)
|
||||
inter_list[j] = inter_list[i];
|
||||
@ -391,8 +403,6 @@ create_sockets(
|
||||
for(n = ifc.ifc_len, ifr = ifc.ifc_req; n > 0;
|
||||
ifr = (struct ifreq *)((char *)ifr + size))
|
||||
{
|
||||
extern int listen_to_virtual_ips;
|
||||
|
||||
size = sizeof(*ifr);
|
||||
|
||||
# ifdef HAVE_SA_LEN_IN_STRUCT_SOCKADDR
|
||||
@ -465,7 +475,7 @@ create_sockets(
|
||||
(ifreq.ifr_flags & IFF_LOOPBACK)
|
||||
# else /* not IFF_LOCAL_LOOPBACK and not IFF_LOOPBACK */
|
||||
/* test against 127.0.0.1 (yuck!!) */
|
||||
(inter_list[i].sin.sin_addr.s_addr == inet_addr("127.0.0.1"))
|
||||
((*(struct sockaddr_in *)&ifr->ifr_addr).sin_addr.s_addr == inet_addr("127.0.0.1"))
|
||||
# endif /* not IFF_LOCAL_LOOPBACK and not IFF_LOOPBACK */
|
||||
)
|
||||
{
|
||||
@ -1231,7 +1241,7 @@ fdbits(
|
||||
/*
|
||||
* input_handler - receive packets asynchronously
|
||||
*/
|
||||
extern void
|
||||
void
|
||||
input_handler(
|
||||
l_fp *cts
|
||||
)
|
||||
@ -1585,7 +1595,7 @@ findbcastinter(
|
||||
struct sockaddr_in *addr
|
||||
)
|
||||
{
|
||||
#if defined(SIOCGIFCONF) || defined(SYS_WINNT)
|
||||
#if !defined(MPE) && (defined(SIOCGIFCONF) || defined(SYS_WINNT))
|
||||
register int i;
|
||||
register u_int32 xaddr;
|
||||
|
||||
|
@ -32,20 +32,19 @@
|
||||
* included to protect against timewarps, timespikes and general mayhem.
|
||||
* All units are in s and s/s, unless noted otherwise.
|
||||
*/
|
||||
#define CLOCK_MAX .128 /* default max offset (s) */
|
||||
#define CLOCK_MAX .128 /* default step offset (s) */
|
||||
#define CLOCK_PANIC 1000. /* default panic offset (s) */
|
||||
#define CLOCK_MAXSTAB 2e-6 /* max frequency stability (s/s) */
|
||||
#define CLOCK_MAXERR 1e-2 /* max phase jitter (s) */
|
||||
#define CLOCK_PHI 15e-6 /* max frequency error (s/s) */
|
||||
#define SHIFT_PLL 4 /* PLL loop gain (shift) */
|
||||
#define CLOCK_AVG 4. /* FLL loop gain */
|
||||
#define CLOCK_FLL 8. /* FLL loop gain */
|
||||
#define CLOCK_AVG 4. /* parameter averaging constant */
|
||||
#define CLOCK_MINSEC 256. /* min FLL update interval (s) */
|
||||
#define CLOCK_MINSTEP 900. /* step-change timeout (s) */
|
||||
#define CLOCK_DAY 86400. /* one day of seconds */
|
||||
#define CLOCK_DAY 86400. /* one day of seconds (s) */
|
||||
#define CLOCK_LIMIT 30 /* poll-adjust threshold */
|
||||
#define CLOCK_PGATE 4. /* poll-adjust gate */
|
||||
#define CLOCK_ALLAN 1024. /* min Allan intercept (s) */
|
||||
#define CLOCK_ADF 1e11 /* Allan deviation factor */
|
||||
#define CLOCK_ALLAN 10 /* min Allan intercept (log2 s) */
|
||||
#define PPS_MAXAGE 120 /* kernel pps signal timeout (s) */
|
||||
|
||||
/*
|
||||
* Clock discipline state machine. This is used to control the
|
||||
@ -106,8 +105,6 @@
|
||||
* also a signal for the external clock driver to discipline the system
|
||||
* clock.
|
||||
*/
|
||||
#define PPS_MAXAGE 120 /* kernel pps signal timeout (s) */
|
||||
|
||||
/*
|
||||
* Program variables that can be tinkered.
|
||||
*/
|
||||
@ -115,7 +112,18 @@ double clock_max = CLOCK_MAX; /* max offset before step (s) */
|
||||
double clock_panic = CLOCK_PANIC; /* max offset before panic (s) */
|
||||
double clock_phi = CLOCK_PHI; /* dispersion rate (s/s) */
|
||||
double clock_minstep = CLOCK_MINSTEP; /* step timeout (s) */
|
||||
double allan_xpt = CLOCK_ALLAN; /* minimum Allan intercept (s) */
|
||||
u_char allan_xpt = CLOCK_ALLAN; /* minimum Allan intercept (log2 s) */
|
||||
|
||||
/*
|
||||
* Hybrid PLL/FLL parameters. These were chosen by experiment using a
|
||||
* MatLab program. The parameters were fudged to match a pure PLL at
|
||||
* poll intervals of 64 s and lower and a pure FLL at poll intervals of
|
||||
* 4096 s and higher. Between these extremes the parameters were chosen
|
||||
* as a geometric series of intervals while holding the overshoot to
|
||||
* less than 5 percent.
|
||||
*/
|
||||
static double fll[] = {0., 1./64, 1./32, 1./16, 1./8, 1./4, 1.};
|
||||
static double pll[] = {1., 1.4, 2., 2.8, 4.1, 7., 12.};
|
||||
|
||||
/*
|
||||
* Program variables
|
||||
@ -207,6 +215,7 @@ local_clock(
|
||||
double clock_frequency; /* clock frequency adjustment (ppm) */
|
||||
double dtemp, etemp; /* double temps */
|
||||
int retval; /* return value */
|
||||
int i;
|
||||
|
||||
/*
|
||||
* If the loop is opened, monitor and record the offsets
|
||||
@ -447,7 +456,7 @@ local_clock(
|
||||
* and ignore it.
|
||||
*/
|
||||
default:
|
||||
allow_panic = TRUE;
|
||||
allow_panic = FALSE;
|
||||
if (fabs(fp_offset - last_offset) >
|
||||
CLOCK_SGATE * oerror && mu <
|
||||
ULOGTOD(sys_poll + 1)) {
|
||||
@ -466,23 +475,30 @@ local_clock(
|
||||
/*
|
||||
* Compute the FLL and PLL frequency adjustments
|
||||
* conditioned on intricate weighting factors.
|
||||
* For the FLL, the averaging interval is
|
||||
* clamped to a minimum of 1024 s and the gain
|
||||
* is decreased from unity for mu above 1024 s
|
||||
* to zero below 256 s. For the PLL, the
|
||||
* averaging interval is clamped not to exceed
|
||||
* the sustem poll interval. No gain factor is
|
||||
* necessary, since the frequency steering above
|
||||
* 1024 s is negligible. Particularly for the
|
||||
* The gain factors depend on the poll interval
|
||||
* and Allan intercept. For the FLL, the
|
||||
* averaging interval is clamped to a minimum of
|
||||
* 1024 s and the gain increased in stages from
|
||||
* zero for poll intervals below half the Allan
|
||||
* intercept to unity above twice the Allan
|
||||
* intercept. For the PLL, the averaging
|
||||
* interval is clamped not to exceed the poll
|
||||
* interval. No gain factor is necessary, since
|
||||
* the frequency steering above the Allan
|
||||
* intercept is negligible. Particularly for the
|
||||
* PLL, these measures allow oversampling, but
|
||||
* not undersampling and insure stability even
|
||||
* when the rules of fair engagement are broken.
|
||||
*/
|
||||
dtemp = max(mu, allan_xpt);
|
||||
etemp = min(max(0, mu - CLOCK_MINSEC) /
|
||||
allan_xpt, 1.);
|
||||
flladj = fp_offset * etemp / (dtemp *
|
||||
CLOCK_AVG);
|
||||
i = sys_poll - allan_xpt + 4;
|
||||
if (i < 0)
|
||||
i = 0;
|
||||
else if (i > 6)
|
||||
i = 6;
|
||||
etemp = fll[i];
|
||||
dtemp = max(mu, ULOGTOD(allan_xpt));
|
||||
flladj = (fp_offset - clock_offset) * etemp /
|
||||
(dtemp * CLOCK_FLL);
|
||||
dtemp = ULOGTOD(SHIFT_PLL + 2 + sys_poll);
|
||||
etemp = min(mu, ULOGTOD(sys_poll));
|
||||
plladj = fp_offset * etemp / (dtemp * dtemp);
|
||||
@ -679,8 +695,8 @@ local_clock(
|
||||
if (debug)
|
||||
printf(
|
||||
"local_clock: mu %.0f noi %.3f stb %.3f pol %d cnt %d\n",
|
||||
mu, sys_jitter * 1e6 / mu, clock_stability * 1e6,
|
||||
sys_poll, tc_counter);
|
||||
mu, sys_jitter * 1e6, clock_stability * 1e6, sys_poll,
|
||||
tc_counter);
|
||||
#endif /* DEBUG */
|
||||
return (retval);
|
||||
}
|
||||
@ -695,6 +711,7 @@ adj_host_clock(
|
||||
)
|
||||
{
|
||||
double adjustment;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Update the dispersion since the last update. In contrast to
|
||||
@ -740,7 +757,19 @@ adj_host_clock(
|
||||
sys_peer->flags & FLAG_PREFER)
|
||||
return;
|
||||
}
|
||||
adjustment = clock_offset / ULOGTOD(SHIFT_PLL + sys_poll);
|
||||
|
||||
/*
|
||||
* This ugly bit of business is necessary in order to move the
|
||||
* pole frequency higher in FLL mode. This is necessary for loop
|
||||
* stability.
|
||||
*/
|
||||
i = sys_poll - allan_xpt + 4;
|
||||
if (i < 0)
|
||||
i = 0;
|
||||
else if (i > 6)
|
||||
i = 6;
|
||||
adjustment = clock_offset / (pll[i] * ULOGTOD(SHIFT_PLL +
|
||||
sys_poll));
|
||||
clock_offset -= adjustment;
|
||||
adj_systime(adjustment + drift_comp);
|
||||
}
|
||||
@ -922,7 +951,7 @@ loop_config(
|
||||
case LOOP_ALLAN: /* minimum Allan intercept */
|
||||
if (freq < CLOCK_ALLAN)
|
||||
freq = CLOCK_ALLAN;
|
||||
allan_xpt = freq;
|
||||
allan_xpt = (u_char)freq;
|
||||
break;
|
||||
|
||||
case LOOP_HUFFPUFF: /* huff-n'-puff filter length */
|
||||
|
@ -309,11 +309,7 @@ receive(
|
||||
#endif
|
||||
if (restrict_mask & RES_IGNORE)
|
||||
return; /* no anything */
|
||||
if (!(SRCPORT(&rbufp->recv_srcadr) == NTP_PORT ||
|
||||
SRCPORT(&rbufp->recv_srcadr) >= IPPORT_RESERVED)) {
|
||||
sys_badlength++;
|
||||
return; /* invalid port */
|
||||
}
|
||||
|
||||
pkt = &rbufp->recv_pkt;
|
||||
if (PKT_VERSION(pkt->li_vn_mode) == NTP_VERSION) {
|
||||
sys_newversionpkt++; /* new version */
|
||||
@ -2506,7 +2502,8 @@ int
|
||||
default_get_precision(void)
|
||||
{
|
||||
struct timeval tp;
|
||||
#if !defined(SYS_WINNT) && !defined(VMS) && !defined(_SEQUENT_)
|
||||
#if !defined(SYS_WINNT) && !defined(VMS) && !defined(_SEQUENT_) && \
|
||||
!defined(MPE)
|
||||
struct timezone tzp;
|
||||
#elif defined(VMS) || defined(_SEQUENT_)
|
||||
struct timezone {
|
||||
|
@ -379,6 +379,7 @@ process_private(
|
||||
)
|
||||
{
|
||||
struct req_pkt *inpkt;
|
||||
struct req_pkt_tail *tailinpkt;
|
||||
struct sockaddr_in *srcadr;
|
||||
struct interface *inter;
|
||||
struct req_proc *proc;
|
||||
@ -410,7 +411,7 @@ process_private(
|
||||
|| (++ec, INFO_ERR(inpkt->err_nitems) != 0)
|
||||
|| (++ec, INFO_MBZ(inpkt->mbz_itemsize) != 0)
|
||||
|| (++ec, rbufp->recv_length > REQ_LEN_MAC)
|
||||
|| (++ec, rbufp->recv_length < REQ_LEN_NOMAC)
|
||||
|| (++ec, rbufp->recv_length < REQ_LEN_HDR)
|
||||
) {
|
||||
msyslog(LOG_ERR, "process_private: INFO_ERR_FMT: test %d failed", ec);
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_FMT);
|
||||
@ -462,18 +463,27 @@ process_private(
|
||||
l_fp ftmp;
|
||||
double dtemp;
|
||||
|
||||
if (rbufp->recv_length < (REQ_LEN_HDR +
|
||||
(INFO_ITEMSIZE(inpkt->mbz_itemsize) *
|
||||
INFO_NITEMS(inpkt->err_nitems))
|
||||
+ sizeof(struct req_pkt_tail))) {
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_FMT);
|
||||
}
|
||||
tailinpkt = (struct req_pkt_tail *)((char *)&rbufp->recv_pkt +
|
||||
rbufp->recv_length - sizeof(struct req_pkt_tail));
|
||||
|
||||
/*
|
||||
* If this guy is restricted from doing this, don't let him
|
||||
* If wrong key was used, or packet doesn't have mac, return.
|
||||
*/
|
||||
if (!INFO_IS_AUTH(inpkt->auth_seq) || info_auth_keyid == 0
|
||||
|| ntohl(inpkt->keyid) != info_auth_keyid) {
|
||||
|| ntohl(tailinpkt->keyid) != info_auth_keyid) {
|
||||
#ifdef DEBUG
|
||||
if (debug > 4)
|
||||
printf("failed auth %d info_auth_keyid %lu pkt keyid %lu\n",
|
||||
INFO_IS_AUTH(inpkt->auth_seq),
|
||||
(u_long)info_auth_keyid,
|
||||
(u_long)ntohl(inpkt->keyid));
|
||||
(u_long)ntohl(tailinpkt->keyid));
|
||||
#endif
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_AUTH);
|
||||
return;
|
||||
@ -502,7 +512,7 @@ process_private(
|
||||
* calculate absolute time difference between xmit time stamp
|
||||
* and receive time stamp. If too large, too bad.
|
||||
*/
|
||||
NTOHL_FP(&inpkt->tstamp, &ftmp);
|
||||
NTOHL_FP(&tailinpkt->tstamp, &ftmp);
|
||||
L_SUB(&ftmp, &rbufp->recv_time);
|
||||
LFPTOD(&ftmp, dtemp);
|
||||
if (fabs(dtemp) >= INFO_TS_MAXSKEW) {
|
||||
@ -517,7 +527,8 @@ process_private(
|
||||
* So far so good. See if decryption works out okay.
|
||||
*/
|
||||
if (!authdecrypt(info_auth_keyid, (u_int32 *)inpkt,
|
||||
REQ_LEN_NOMAC, (int)(rbufp->recv_length - REQ_LEN_NOMAC))) {
|
||||
rbufp->recv_length - sizeof(struct req_pkt_tail) +
|
||||
REQ_LEN_HDR, sizeof(struct req_pkt_tail) - REQ_LEN_HDR)) {
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_AUTH);
|
||||
return;
|
||||
}
|
||||
@ -526,8 +537,13 @@ process_private(
|
||||
/*
|
||||
* If we need data, check to see if we have some. If we
|
||||
* don't, check to see that there is none (picky, picky).
|
||||
*
|
||||
* Handle the exception of REQ_CONFIG. It can have two data sizes.
|
||||
*/
|
||||
if (INFO_ITEMSIZE(inpkt->mbz_itemsize) != proc->sizeofitem) {
|
||||
if (INFO_ITEMSIZE(inpkt->mbz_itemsize) != proc->sizeofitem &&
|
||||
!(inpkt->implementation == IMPL_XNTPD &&
|
||||
inpkt->request == REQ_CONFIG &&
|
||||
INFO_ITEMSIZE(inpkt->mbz_itemsize) == sizeof(struct old_conf_peer))) {
|
||||
msyslog(LOG_ERR, "INFO_ITEMSIZE(inpkt->mbz_itemsize) != proc->sizeofitem: %d != %d",
|
||||
INFO_ITEMSIZE(inpkt->mbz_itemsize), proc->sizeofitem);
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_FMT);
|
||||
@ -903,22 +919,24 @@ sys_info(
|
||||
is->poll = sys_poll;
|
||||
|
||||
is->flags = 0;
|
||||
if (sys_bclient)
|
||||
is->flags |= INFO_FLAG_BCLIENT;
|
||||
if (sys_authenticate)
|
||||
is->flags |= INFO_FLAG_AUTHENTICATE;
|
||||
is->flags |= INFO_FLAG_AUTHENTICATE;
|
||||
if (sys_bclient)
|
||||
is->flags |= INFO_FLAG_BCLIENT;
|
||||
#ifdef REFCLOCK
|
||||
if (cal_enable)
|
||||
is->flags |= INFO_FLAG_CAL;
|
||||
#endif /* REFCLOCK */
|
||||
if (kern_enable)
|
||||
is->flags |= INFO_FLAG_KERNEL;
|
||||
if (ntp_enable)
|
||||
is->flags |= INFO_FLAG_NTP;
|
||||
if (pll_control)
|
||||
is->flags |= INFO_FLAG_PLL_SYNC;
|
||||
if (pps_control)
|
||||
is->flags |= INFO_FLAG_PPS_SYNC;
|
||||
is->flags |= INFO_FLAG_KERNEL;
|
||||
if (mon_enabled != MON_OFF)
|
||||
is->flags |= INFO_FLAG_MONITOR;
|
||||
is->flags |= INFO_FLAG_MONITOR;
|
||||
if (ntp_enable)
|
||||
is->flags |= INFO_FLAG_NTP;
|
||||
if (pps_enable)
|
||||
is->flags |= INFO_FLAG_PPS_SYNC;
|
||||
if (stats_control)
|
||||
is->flags |= INFO_FLAG_FILEGEN;
|
||||
is->flags |= INFO_FLAG_FILEGEN;
|
||||
is->bdelay = HTONS_FP(DTOFP(sys_bdelay));
|
||||
HTONL_UF(sys_authdelay.l_f, &is->authdelay);
|
||||
|
||||
@ -1133,8 +1151,9 @@ do_conf(
|
||||
)
|
||||
{
|
||||
u_int fl;
|
||||
register struct conf_peer *cp;
|
||||
register int items;
|
||||
struct conf_peer *cp;
|
||||
struct old_conf_peer *ocp;
|
||||
int items;
|
||||
struct sockaddr_in peeraddr;
|
||||
|
||||
/*
|
||||
@ -1142,6 +1161,9 @@ do_conf(
|
||||
* okay. If not, complain about it. Note we are
|
||||
* very picky here.
|
||||
*/
|
||||
ocp = NULL;
|
||||
if (INFO_ITEMSIZE(inpkt->mbz_itemsize) == sizeof(struct old_conf_peer))
|
||||
ocp = (struct old_conf_peer *)inpkt->data;
|
||||
items = INFO_NITEMS(inpkt->err_nitems);
|
||||
cp = (struct conf_peer *)inpkt->data;
|
||||
|
||||
@ -1158,7 +1180,11 @@ do_conf(
|
||||
CONF_FLAG_NOSELECT | CONF_FLAG_BURST | CONF_FLAG_IBURST |
|
||||
CONF_FLAG_SKEY))
|
||||
fl = 1;
|
||||
cp++;
|
||||
if (ocp) {
|
||||
ocp++;
|
||||
cp = (struct conf_peer *)ocp;
|
||||
} else
|
||||
cp++;
|
||||
}
|
||||
|
||||
if (fl) {
|
||||
@ -1172,6 +1198,8 @@ do_conf(
|
||||
*/
|
||||
items = INFO_NITEMS(inpkt->err_nitems);
|
||||
cp = (struct conf_peer *)inpkt->data;
|
||||
if (ocp)
|
||||
ocp = (struct old_conf_peer *)inpkt->data;
|
||||
memset((char *)&peeraddr, 0, sizeof(struct sockaddr_in));
|
||||
peeraddr.sin_family = AF_INET;
|
||||
peeraddr.sin_port = htons(NTP_PORT);
|
||||
@ -1211,11 +1239,15 @@ do_conf(
|
||||
/* XXX W2DO? minpoll/maxpoll arguments ??? */
|
||||
if (peer_config(&peeraddr, any_interface, cp->hmode,
|
||||
cp->version, cp->minpoll, cp->maxpoll, fl, cp->ttl,
|
||||
cp->keyid, cp->keystr) == 0) {
|
||||
cp->keyid, NULL) == 0) {
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_NODATA);
|
||||
return;
|
||||
}
|
||||
cp++;
|
||||
if (ocp) {
|
||||
ocp++;
|
||||
cp = (struct conf_peer *)ocp;
|
||||
} else
|
||||
cp++;
|
||||
}
|
||||
|
||||
req_ack(srcadr, inter, inpkt, INFO_OKAY);
|
||||
@ -1433,27 +1465,32 @@ setclr_flags(
|
||||
|
||||
if (flags & ~(SYS_FLAG_BCLIENT | SYS_FLAG_PPS |
|
||||
SYS_FLAG_NTP | SYS_FLAG_KERNEL | SYS_FLAG_MONITOR |
|
||||
SYS_FLAG_FILEGEN)) {
|
||||
SYS_FLAG_FILEGEN | SYS_FLAG_AUTH | SYS_FLAG_CAL)) {
|
||||
msyslog(LOG_ERR, "setclr_flags: extra flags: %#x",
|
||||
flags & ~(SYS_FLAG_BCLIENT | SYS_FLAG_PPS |
|
||||
SYS_FLAG_NTP | SYS_FLAG_KERNEL |
|
||||
SYS_FLAG_MONITOR | SYS_FLAG_FILEGEN));
|
||||
SYS_FLAG_MONITOR | SYS_FLAG_FILEGEN |
|
||||
SYS_FLAG_AUTH | SYS_FLAG_CAL));
|
||||
req_ack(srcadr, inter, inpkt, INFO_ERR_FMT);
|
||||
return;
|
||||
}
|
||||
|
||||
if (flags & SYS_FLAG_BCLIENT)
|
||||
proto_config(PROTO_BROADCLIENT, set, 0.);
|
||||
proto_config(PROTO_BROADCLIENT, set, 0.);
|
||||
if (flags & SYS_FLAG_PPS)
|
||||
proto_config(PROTO_PPS, set, 0.);
|
||||
proto_config(PROTO_PPS, set, 0.);
|
||||
if (flags & SYS_FLAG_NTP)
|
||||
proto_config(PROTO_NTP, set, 0.);
|
||||
proto_config(PROTO_NTP, set, 0.);
|
||||
if (flags & SYS_FLAG_KERNEL)
|
||||
proto_config(PROTO_KERNEL, set, 0.);
|
||||
proto_config(PROTO_KERNEL, set, 0.);
|
||||
if (flags & SYS_FLAG_MONITOR)
|
||||
proto_config(PROTO_MONITOR, set, 0.);
|
||||
proto_config(PROTO_MONITOR, set, 0.);
|
||||
if (flags & SYS_FLAG_FILEGEN)
|
||||
proto_config(PROTO_FILEGEN, set, 0.);
|
||||
proto_config(PROTO_FILEGEN, set, 0.);
|
||||
if (flags & SYS_FLAG_AUTH)
|
||||
proto_config(PROTO_AUTHENTICATE, set, 0.);
|
||||
if (flags & SYS_FLAG_CAL)
|
||||
proto_config(PROTO_CAL, set, 0.);
|
||||
req_ack(srcadr, inter, inpkt, INFO_OKAY);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <sys/signal.h>
|
||||
#ifdef HAVE_SYS_SIGNAL_H
|
||||
# include <sys/signal.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
@ -6,6 +6,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "ntp_machine.h"
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_stdlib.h"
|
||||
@ -19,9 +20,15 @@
|
||||
#include <stdio.h>
|
||||
#ifndef SYS_WINNT
|
||||
# if !defined(VMS) /*wjm*/
|
||||
# include <sys/param.h>
|
||||
# ifdef HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
# endif
|
||||
# endif /* VMS */
|
||||
# include <sys/signal.h>
|
||||
# ifdef HAVE_SYS_SIGNAL_H
|
||||
# include <sys/signal.h>
|
||||
# else
|
||||
# include <signal.h>
|
||||
# endif
|
||||
# ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
# endif /* HAVE_SYS_IOCTL_H */
|
||||
@ -118,7 +125,7 @@ HANDLE ResolverThreadHandle = NULL;
|
||||
/* variables used to inform the Service Control Manager of our current state */
|
||||
SERVICE_STATUS ssStatus;
|
||||
SERVICE_STATUS_HANDLE sshStatusHandle;
|
||||
HANDLE WaitHandles[2] = { NULL, NULL };
|
||||
HANDLE WaitHandles[3] = { NULL, NULL, NULL };
|
||||
char szMsgPath[255];
|
||||
static BOOL WINAPI OnConsoleEvent(DWORD dwCtrlType);
|
||||
#endif /* SYS_WINNT */
|
||||
@ -354,7 +361,7 @@ ntpdmain(
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETUID
|
||||
#if defined(HAVE_GETUID) && !defined(MPE) /* MPE lacks the concept of root */
|
||||
{
|
||||
uid_t uid;
|
||||
|
||||
@ -790,6 +797,7 @@ service_main(
|
||||
#if defined(HAVE_IO_COMPLETION_PORT)
|
||||
WaitHandles[0] = CreateEvent(NULL, FALSE, FALSE, NULL); /* exit reques */
|
||||
WaitHandles[1] = get_timer_handle();
|
||||
WaitHandles[2] = get_io_event();
|
||||
|
||||
for (;;) {
|
||||
DWORD Index = WaitForMultipleObjectsEx(sizeof(WaitHandles)/sizeof(WaitHandles[0]), WaitHandles, FALSE, 1000, MWMO_ALERTABLE);
|
||||
@ -801,16 +809,36 @@ service_main(
|
||||
case WAIT_OBJECT_0 + 1 : /* timer */
|
||||
timer();
|
||||
break;
|
||||
case WAIT_OBJECT_0 + 2 : { /* Windows message */
|
||||
|
||||
case WAIT_OBJECT_0 + 2 : /* Io event */
|
||||
# ifdef DEBUG
|
||||
if ( debug > 3 )
|
||||
{
|
||||
printf( "IoEvent occurred\n" );
|
||||
}
|
||||
# endif
|
||||
break;
|
||||
|
||||
# if 1
|
||||
/*
|
||||
* FIXME: According to the documentation for WaitForMultipleObjectsEx
|
||||
* this is not possible. This may be a vestigial from when this was
|
||||
* MsgWaitForMultipleObjects, maybe it should be removed?
|
||||
*/
|
||||
case WAIT_OBJECT_0 + 3 : /* windows message */
|
||||
{
|
||||
MSG msg;
|
||||
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
if (msg.message == WM_QUIT) {
|
||||
exit(0);
|
||||
while ( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) )
|
||||
{
|
||||
if ( msg.message == WM_QUIT )
|
||||
{
|
||||
exit( 0 );
|
||||
}
|
||||
DispatchMessage(&msg);
|
||||
DispatchMessage( &msg );
|
||||
}
|
||||
}
|
||||
break;
|
||||
# endif
|
||||
|
||||
case WAIT_IO_COMPLETION : /* loop */
|
||||
case WAIT_TIMEOUT :
|
||||
|
@ -1315,6 +1315,9 @@ chu_poll(
|
||||
} else if (up->leap & 0x2) {
|
||||
pp->leap = LEAP_ADDSECOND;
|
||||
leapchar = 'L';
|
||||
} else if (up->leap & 0x4) {
|
||||
pp->leap = LEAP_DELSECOND;
|
||||
leapchar = 'l';
|
||||
} else {
|
||||
pp->leap = LEAP_NOWARNING;
|
||||
}
|
||||
|
@ -240,6 +240,24 @@ extern struct refclock refclock_hopfpci;
|
||||
#define refclock_hopfpci refclock_none
|
||||
#endif
|
||||
|
||||
#ifdef CLOCK_JJY
|
||||
extern struct refclock refclock_jjy;
|
||||
#else
|
||||
#define refclock_jjy refclock_none
|
||||
#endif
|
||||
|
||||
#ifdef CLOCK_TT560
|
||||
extern struct refclock refclock_tt560;
|
||||
#else
|
||||
#define refclock_tt560 refclock_none
|
||||
#endif
|
||||
|
||||
#ifdef CLOCK_ZYFER
|
||||
extern struct refclock refclock_zyfer;
|
||||
#else
|
||||
#define refclock_zyfer refclock_none
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Order is clock_start(), clock_shutdown(), clock_poll(),
|
||||
* clock_control(), clock_init(), clock_buginfo, clock_flags;
|
||||
@ -259,7 +277,7 @@ struct refclock *refclock_conf[] = {
|
||||
&refclock_mx4200, /* 9 REFCLK_GPS_MX4200 */
|
||||
&refclock_as2201, /* 10 REFCLK_GPS_AS2201 */
|
||||
&refclock_arbiter, /* 11 REFCLK_GPS_ARBITER */
|
||||
&refclock_tpro, /* 12 REFCLK_IRIG_TPRO */
|
||||
&refclock_tpro, /* 12 REFCLK_IRIG_TPRO */
|
||||
&refclock_leitch, /* 13 REFCLK_ATOM_LEITCH */
|
||||
&refclock_msfees, /* 14 REFCLK_MSF_EES */
|
||||
&refclock_true, /* 15 alias for REFCLK_TRUETIME */
|
||||
@ -276,17 +294,20 @@ struct refclock *refclock_conf[] = {
|
||||
&refclock_hpgps, /* 26 REFCLK_GPS_HP */
|
||||
&refclock_arc, /* 27 REFCLK_ARCRON_MSF */
|
||||
&refclock_shm, /* 28 REFCLK_SHM */
|
||||
&refclock_palisade, /* 29 REFCLK_PALISADE */
|
||||
&refclock_palisade, /* 29 REFCLK_PALISADE */
|
||||
&refclock_oncore, /* 30 REFCLK_ONCORE */
|
||||
&refclock_jupiter, /* 31 REFCLK_GPS_JUPITER */
|
||||
&refclock_chronolog, /* 32 REFCLK_CHRONOLOG */
|
||||
&refclock_dumbclock, /* 33 REFCLK_DUMBCLOCK */
|
||||
&refclock_ulink, /* 34 REFCLOCK_ULINK */
|
||||
&refclock_pcf, /* 35 REFCLOCK_PCF */
|
||||
&refclock_ulink, /* 34 REFCLOCK_ULINK */
|
||||
&refclock_pcf, /* 35 REFCLOCK_PCF */
|
||||
&refclock_wwv, /* 36 REFCLOCK_WWV_AUDIO */
|
||||
&refclock_fg, /* 37 REFCLOCK_FG */
|
||||
&refclock_hopfser, /* 38 REFCLK_HOPF_SERIAL */
|
||||
&refclock_hopfpci /* 39 REFCLK_HOPF_PCI */
|
||||
&refclock_hopfpci, /* 39 REFCLK_HOPF_PCI */
|
||||
&refclock_jjy, /* 40 REFCLK_JJY */
|
||||
&refclock_tt560, /* 41 REFCLK_TT560 */
|
||||
&refclock_zyfer /* 42 REFCLK_ZYFER */
|
||||
};
|
||||
|
||||
u_char num_refclock_conf = sizeof(refclock_conf)/sizeof(struct refclock *);
|
||||
|
712
contrib/ntp/ntpd/refclock_jjy.c
Normal file
712
contrib/ntp/ntpd/refclock_jjy.c
Normal file
@ -0,0 +1,712 @@
|
||||
/*
|
||||
* refclock_jjy - clock driver for JJY receivers
|
||||
*/
|
||||
|
||||
/**********************************************************************/
|
||||
/* */
|
||||
/* Copyright (C) 2001, Takao Abe. All rights reserved. */
|
||||
/* */
|
||||
/* Permission to use, copy, modify, and distribute this software */
|
||||
/* and its documentation for any purpose is hereby granted */
|
||||
/* without fee, provided that the following conditions are met: */
|
||||
/* */
|
||||
/* One retains the entire copyright notice properly, and both the */
|
||||
/* copyright notice and this license. in the documentation and/or */
|
||||
/* other materials provided with the distribution. */
|
||||
/* */
|
||||
/* This software and the name of the author must not be used to */
|
||||
/* endorse or promote products derived from this software without */
|
||||
/* prior written permission. */
|
||||
/* */
|
||||
/* THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESSED OR IMPLIED */
|
||||
/* WARRANTIES OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, THE */
|
||||
/* IMPLIED WARRANTIES OF MERCHANTABLILITY AND FITNESS FOR A */
|
||||
/* PARTICULAR PURPOSE. */
|
||||
/* IN NO EVENT SHALL THE AUTHOR TAKAO ABE BE LIABLE FOR ANY DIRECT, */
|
||||
/* INDIRECT, GENERAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
|
||||
/* ( INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
|
||||
/* GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS */
|
||||
/* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, */
|
||||
/* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ( INCLUDING */
|
||||
/* NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF */
|
||||
/* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
|
||||
/* */
|
||||
/* This driver is developed in my private time, and is opened as */
|
||||
/* voluntary contributions for the NTP. */
|
||||
/* The manufacturer of the JJY receiver has not participated in */
|
||||
/* a development of this driver. */
|
||||
/* The manufacturer does not warrant anything about this driver, */
|
||||
/* and is not liable for anything about this driver. */
|
||||
/* */
|
||||
/**********************************************************************/
|
||||
/* */
|
||||
/* Author Takao Abe */
|
||||
/* Email abetakao@bea.hi-ho.ne.jp */
|
||||
/* Homepage http://www.bea.hi-ho.ne.jp/abetakao/ */
|
||||
/* */
|
||||
/**********************************************************************/
|
||||
/* */
|
||||
/* History */
|
||||
/* */
|
||||
/* 2001/07/15 */
|
||||
/* [New] Support the Tristate Ltd. JJY receiver */
|
||||
/* */
|
||||
/* 2001/08/04 */
|
||||
/* [Change] Log to clockstats even if bad reply */
|
||||
/* [Fix] PRECISION = (-3) (about 100 ms) */
|
||||
/* [Add] Support the C-DEX Co.Ltd. JJY receiver */
|
||||
/* 2001/12/04 */
|
||||
/* [Fix] C-DEX JST2000 ( fukusima@goto.info.waseda.ac.jp ) */
|
||||
/* */
|
||||
/**********************************************************************/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(REFCLOCK) && defined(CLOCK_JJY)
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_tty.h"
|
||||
#include "ntp_refclock.h"
|
||||
#include "ntp_calendar.h"
|
||||
#include "ntp_stdlib.h"
|
||||
|
||||
/**********************************************************************/
|
||||
/* */
|
||||
/* The Tristate Ltd. JJY receiver JJY01 */
|
||||
/* */
|
||||
/* Command Response Remarks */
|
||||
/* ------------ ---------------------- --------------------- */
|
||||
/* date<CR><LF> YYYY/MM/DD XXX<CR><LF> */
|
||||
/* time<CR><LF> HH:MM:SS<CR><LF> */
|
||||
/* stim<CR><LF> HH:MM:SS<CR><LF> Reply at just second */
|
||||
/* */
|
||||
/* During synchronization after a receiver is turned on, */
|
||||
/* It replies the past time from 2000/01/01 00:00:00. */
|
||||
/* The function "refclock_process" checks the time and tells */
|
||||
/* as an insanity time. */
|
||||
/* */
|
||||
/**********************************************************************/
|
||||
/* */
|
||||
/* The C-DEX Co. Ltd. JJY receiver JST2000 */
|
||||
/* */
|
||||
/* Command Response Remarks */
|
||||
/* ------------ ---------------------- --------------------- */
|
||||
/* <ENQ>1J<ETX> <STX>JYYMMDD HHMMSSS<ETX> */
|
||||
/* */
|
||||
/**********************************************************************/
|
||||
|
||||
/*
|
||||
* Interface definitions
|
||||
*/
|
||||
#define DEVICE "/dev/jjy%d" /* device name and unit */
|
||||
#define SPEED232 B9600 /* uart speed (9600 baud) */
|
||||
#define REFID "JJY" /* reference ID */
|
||||
#define DESCRIPTION "JJY Receiver"
|
||||
#define PRECISION (-3) /* precision assumed (about 100 ms) */
|
||||
|
||||
/*
|
||||
* JJY unit control structure
|
||||
*/
|
||||
struct jjyunit {
|
||||
char unittype ; /* UNITTYPE_XXXXXXXXXX */
|
||||
short version ;
|
||||
short linediscipline ; /* LDISC_CLK or LDISC_RAW */
|
||||
int linecount ;
|
||||
int lineerror ;
|
||||
int year, month, day, hour, minute, second, msecond ;
|
||||
/* LDISC_RAW only */
|
||||
#define MAX_LINECOUNT 8
|
||||
#define MAX_RAWBUF 64
|
||||
int lineexpect ;
|
||||
int charexpect [ MAX_LINECOUNT ] ;
|
||||
int charcount ;
|
||||
char rawbuf [ MAX_RAWBUF ] ;
|
||||
};
|
||||
|
||||
#define UNITTYPE_TRISTATE_JJY01 1
|
||||
#define UNITTYPE_CDEX_JST2000 2
|
||||
|
||||
/*
|
||||
* Function prototypes
|
||||
*/
|
||||
static int jjy_start P((int, struct peer *));
|
||||
static void jjy_shutdown P((int, struct peer *));
|
||||
static void jjy_poll P((int, struct peer *));
|
||||
static void jjy_poll_tristate_jjy01 P((int, struct peer *));
|
||||
static void jjy_poll_cdex_jst2000 P((int, struct peer *));
|
||||
static void jjy_receive P((struct recvbuf *));
|
||||
static int jjy_receive_tristate_jjy01 P((struct recvbuf *));
|
||||
static int jjy_receive_cdex_jst2000 P((struct recvbuf *));
|
||||
|
||||
/*
|
||||
* Transfer vector
|
||||
*/
|
||||
struct refclock refclock_jjy = {
|
||||
jjy_start, /* start up driver */
|
||||
jjy_shutdown, /* shutdown driver */
|
||||
jjy_poll, /* transmit poll message */
|
||||
noentry, /* not used */
|
||||
noentry, /* not used */
|
||||
noentry, /* not used */
|
||||
NOFLAGS /* not used */
|
||||
};
|
||||
|
||||
/*
|
||||
* Start up driver return code
|
||||
*/
|
||||
#define RC_START_SUCCESS 1
|
||||
#define RC_START_ERROR 0
|
||||
|
||||
/*
|
||||
* Local constants definition
|
||||
*/
|
||||
|
||||
#define MAX_LOGTEXT 64
|
||||
|
||||
|
||||
/**************************************************************************************************/
|
||||
/* jjy_start - open the devices and initialize data for processing */
|
||||
/**************************************************************************************************/
|
||||
static int
|
||||
jjy_start ( int unit, struct peer *peer )
|
||||
{
|
||||
|
||||
struct jjyunit *up ;
|
||||
struct refclockproc *pp ;
|
||||
int fd ;
|
||||
char *pDeviceName ;
|
||||
short iDiscipline ;
|
||||
|
||||
#ifdef DEBUG
|
||||
if ( debug ) {
|
||||
printf ( "jjy_start (refclock_jjy.c) : %s mode=%d ", ntoa(&peer->srcadr), peer->ttlmax ) ;
|
||||
printf ( DEVICE, unit ) ;
|
||||
printf ( "\n" ) ;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* Open serial port
|
||||
*/
|
||||
if ( ! ( pDeviceName = (char*) emalloc ( strlen(DEVICE) + 10 ) ) ) {
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
sprintf ( pDeviceName, DEVICE, unit ) ;
|
||||
|
||||
/*
|
||||
* peer->ttlmax is a mode number specified by "127.127.40.X mode N" in the ntp.conf
|
||||
*/
|
||||
switch ( peer->ttlmax ) {
|
||||
case 0 :
|
||||
case 1 : iDiscipline = LDISC_CLK ; break ;
|
||||
case 2 : iDiscipline = LDISC_RAW ; break ;
|
||||
default :
|
||||
msyslog ( LOG_ERR, "JJY receiver [ %s mode %d ] : Unsupported mode",
|
||||
ntoa(&peer->srcadr), peer->ttlmax ) ;
|
||||
free ( (void*) pDeviceName ) ;
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
|
||||
if ( ! ( fd = refclock_open ( pDeviceName, SPEED232, iDiscipline ) ) ) {
|
||||
free ( (void*) pDeviceName ) ;
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
free ( (void*) pDeviceName ) ;
|
||||
|
||||
/*
|
||||
* Allocate and initialize unit structure
|
||||
*/
|
||||
if ( ! ( up = (struct jjyunit *) emalloc (sizeof(struct jjyunit)) ) ) {
|
||||
close ( fd ) ;
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
|
||||
memset ( (char*)up, 0, sizeof(struct jjyunit) ) ;
|
||||
up->linediscipline = iDiscipline ;
|
||||
|
||||
/*
|
||||
* peer->ttlmax is a mode number specified by "127.127.40.X mode N" in the ntp.conf
|
||||
*/
|
||||
switch ( peer->ttlmax ) {
|
||||
case 0 :
|
||||
/*
|
||||
* The mode 0 is a default clock type at this time.
|
||||
* But this will be change to auto-detect mode in the future.
|
||||
*/
|
||||
case 1 :
|
||||
up->unittype = UNITTYPE_TRISTATE_JJY01 ;
|
||||
up->version = 100 ;
|
||||
up->lineexpect = 2 ;
|
||||
up->charexpect[0] = 14 ; /* YYYY/MM/DD WWW<CR><LF> */
|
||||
up->charexpect[1] = 8 ; /* HH:MM:SS<CR><LF> */
|
||||
break ;
|
||||
case 2 :
|
||||
up->unittype = UNITTYPE_CDEX_JST2000 ;
|
||||
up->lineexpect = 1 ;
|
||||
up->charexpect[0] = 15 ; /* <STX>JYYMMDD HHMMSSS<ETX> */
|
||||
break ;
|
||||
default :
|
||||
msyslog ( LOG_ERR, "JJY receiver [ %s mode %d ] : Unsupported mode",
|
||||
ntoa(&peer->srcadr), peer->ttlmax ) ;
|
||||
close ( fd ) ;
|
||||
free ( (void*) up ) ;
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
|
||||
pp = peer->procptr ;
|
||||
pp->unitptr = (caddr_t) up ;
|
||||
pp->io.clock_recv = jjy_receive ;
|
||||
pp->io.srcclock = (caddr_t) peer ;
|
||||
pp->io.datalen = 0 ;
|
||||
pp->io.fd = fd ;
|
||||
if ( ! io_addclock(&pp->io) ) {
|
||||
close ( fd ) ;
|
||||
free ( (void*) up ) ;
|
||||
return RC_START_ERROR ;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize miscellaneous variables
|
||||
*/
|
||||
peer->precision = PRECISION ;
|
||||
peer->burst = 1 ;
|
||||
pp->clockdesc = DESCRIPTION ;
|
||||
memcpy ( (char*)&pp->refid, REFID, strlen(REFID) ) ;
|
||||
|
||||
return RC_START_SUCCESS ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**************************************************************************************************/
|
||||
/* jjy_shutdown - shutdown the clock */
|
||||
/**************************************************************************************************/
|
||||
static void
|
||||
jjy_shutdown ( int unit, struct peer *peer )
|
||||
{
|
||||
|
||||
struct jjyunit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr ;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
io_closeclock ( &pp->io ) ;
|
||||
free ( (void*) up ) ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**************************************************************************************************/
|
||||
/* jjy_receive - receive data from the serial interface */
|
||||
/**************************************************************************************************/
|
||||
static void
|
||||
jjy_receive ( struct recvbuf *rbufp )
|
||||
{
|
||||
|
||||
struct jjyunit *up ;
|
||||
struct refclockproc *pp ;
|
||||
struct peer *peer;
|
||||
|
||||
l_fp tRecvTimestamp; /* arrival timestamp */
|
||||
int rc ;
|
||||
char sLogText [ MAX_LOGTEXT ] ;
|
||||
int i, bCntrlChar ;
|
||||
|
||||
/*
|
||||
* Initialize pointers and read the timecode and timestamp
|
||||
*/
|
||||
peer = (struct peer *) rbufp->recv_srcclock ;
|
||||
pp = peer->procptr ;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
|
||||
/*
|
||||
* Get next input line
|
||||
*/
|
||||
pp->lencode = refclock_gtlin ( rbufp, pp->a_lastcode, BMAX, &tRecvTimestamp ) ;
|
||||
|
||||
if ( up->linediscipline == LDISC_RAW ) {
|
||||
/*
|
||||
* The reply with <STX> and <ETX> may give a blank line
|
||||
*/
|
||||
if ( pp->lencode == 0 && up->charcount == 0 ) return ;
|
||||
/*
|
||||
* Copy received charaters to temporary buffer
|
||||
*/
|
||||
for ( i = 0 ; i < pp->lencode && up->charcount < MAX_RAWBUF - 2 ; i ++ , up->charcount ++ ) {
|
||||
up->rawbuf[up->charcount] = pp->a_lastcode[i] ;
|
||||
}
|
||||
while ( up->charcount > 0 && up->rawbuf[0] < ' ' ) {
|
||||
for ( i = 0 ; i < up->charcount - 1 ; i ++ ) up->rawbuf[i] = up->rawbuf[i+1] ;
|
||||
up->charcount -- ;
|
||||
}
|
||||
bCntrlChar = 0 ;
|
||||
for ( i = 0 ; i < up->charcount ; i ++ ) {
|
||||
if ( up->rawbuf[i] < ' ' ) {
|
||||
bCntrlChar = 1 ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
if ( pp->lencode > 0 && up->linecount < up->lineexpect ) {
|
||||
if ( bCntrlChar == 0 && up->charcount < up->charexpect[up->linecount] ) return ;
|
||||
}
|
||||
up->rawbuf[up->charcount] = 0 ;
|
||||
} else {
|
||||
/*
|
||||
* The reply with <CR><LF> gives a blank line
|
||||
*/
|
||||
if ( pp->lencode == 0 ) return ;
|
||||
}
|
||||
/*
|
||||
* We get down to business
|
||||
*/
|
||||
|
||||
pp->lastrec = tRecvTimestamp ;
|
||||
|
||||
up->linecount ++ ;
|
||||
|
||||
if ( up->lineerror != 0 ) return ;
|
||||
|
||||
switch ( up->unittype ) {
|
||||
|
||||
case UNITTYPE_TRISTATE_JJY01 :
|
||||
rc = jjy_receive_tristate_jjy01 ( rbufp ) ;
|
||||
break ;
|
||||
|
||||
case UNITTYPE_CDEX_JST2000 :
|
||||
rc = jjy_receive_cdex_jst2000 ( rbufp ) ;
|
||||
break ;
|
||||
|
||||
default :
|
||||
rc = 0 ;
|
||||
break ;
|
||||
|
||||
}
|
||||
|
||||
if ( up->linediscipline == LDISC_RAW ) {
|
||||
if ( up->linecount <= up->lineexpect && up->charcount > up->charexpect[up->linecount-1] ) {
|
||||
for ( i = 0 ; i < up->charcount - up->charexpect[up->linecount-1] ; i ++ ) {
|
||||
up->rawbuf[i] = up->rawbuf[i+up->charexpect[up->linecount-1]] ;
|
||||
}
|
||||
up->charcount -= up->charexpect[up->linecount-1] ;
|
||||
} else {
|
||||
up->charcount = 0 ;
|
||||
}
|
||||
}
|
||||
|
||||
if ( rc == 0 ) return ;
|
||||
|
||||
if ( up->lineerror != 0 ) {
|
||||
refclock_report ( peer, CEVNT_BADREPLY ) ;
|
||||
strcpy ( sLogText, "BAD REPLY [" ) ;
|
||||
if ( up->linediscipline == LDISC_RAW ) {
|
||||
strncat ( sLogText, up->rawbuf, MAX_LOGTEXT - strlen ( sLogText ) - 1 ) ;
|
||||
} else {
|
||||
strncat ( sLogText, pp->a_lastcode, MAX_LOGTEXT - strlen ( sLogText ) - 1 ) ;
|
||||
}
|
||||
sLogText[MAX_LOGTEXT-1] = 0 ;
|
||||
if ( strlen ( sLogText ) < MAX_LOGTEXT - 2 ) strcat ( sLogText, "]" ) ;
|
||||
record_clock_stats ( &peer->srcadr, sLogText ) ;
|
||||
return ;
|
||||
}
|
||||
|
||||
pp->year = up->year ;
|
||||
pp->day = ymd2yd ( up->year, up->month, up->day ) ;
|
||||
pp->hour = up->hour ;
|
||||
pp->minute = up->minute ;
|
||||
pp->second = up->second ;
|
||||
pp->msec = up->msecond ;
|
||||
pp->usec = 0;
|
||||
|
||||
/*
|
||||
* JST to UTC
|
||||
*/
|
||||
pp->hour -= 9 ;
|
||||
if ( pp->hour < 0 ) {
|
||||
pp->hour += 24 ;
|
||||
pp->day -- ;
|
||||
if ( pp->day < 1 ) {
|
||||
pp->year -- ;
|
||||
pp->day = ymd2yd ( pp->year, 12, 31 ) ;
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG
|
||||
if ( debug ) {
|
||||
printf ( "jjy_receive (refclock_jjy.c) : %04d/%02d/%02d %02d:%02d:%02d JST ",
|
||||
up->year, up->month, up->day, up->hour, up->minute, up->second ) ;
|
||||
printf ( "( %04d/%03d %02d:%02d:%02d UTC )\n",
|
||||
pp->year, pp->day, pp->hour, pp->minute, pp->second ) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Process the new sample in the median filter and determine the
|
||||
* timecode timestamp.
|
||||
*/
|
||||
if ( ! refclock_process ( pp ) ) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
sprintf ( sLogText, "BAD TIME %04d/%02d/%02d %02d:%02d:%02d JST",
|
||||
up->year, up->month, up->day, up->hour, up->minute, up->second ) ;
|
||||
record_clock_stats ( &peer->srcadr, sLogText ) ;
|
||||
return ;
|
||||
}
|
||||
|
||||
sprintf ( sLogText, "%04d/%02d/%02d %02d:%02d:%02d JST",
|
||||
up->year, up->month, up->day, up->hour, up->minute, up->second ) ;
|
||||
record_clock_stats ( &peer->srcadr, sLogText ) ;
|
||||
|
||||
refclock_receive(peer);
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************************************/
|
||||
|
||||
static int
|
||||
jjy_receive_tristate_jjy01 ( struct recvbuf *rbufp )
|
||||
{
|
||||
|
||||
struct jjyunit *up ;
|
||||
struct refclockproc *pp ;
|
||||
struct peer *peer;
|
||||
|
||||
char *pBuf ;
|
||||
int iLen ;
|
||||
int rc ;
|
||||
|
||||
/*
|
||||
* Initialize pointers and read the timecode and timestamp
|
||||
*/
|
||||
peer = (struct peer *) rbufp->recv_srcclock ;
|
||||
pp = peer->procptr ;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
|
||||
if ( up->linediscipline == LDISC_RAW ) {
|
||||
pBuf = up->rawbuf ;
|
||||
iLen = up->charcount ;
|
||||
} else {
|
||||
pBuf = pp->a_lastcode ;
|
||||
iLen = pp->lencode ;
|
||||
}
|
||||
|
||||
switch ( up->linecount ) {
|
||||
|
||||
case 1 : /* YYYY/MM/DD */
|
||||
|
||||
if ( iLen < 10 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
rc = sscanf ( pBuf, "%4d/%2d/%2d", &up->year, &up->month, &up->day ) ;
|
||||
if ( rc != 3 || up->year < 2000 || up->month < 1 || up->month > 12 || up->day < 1 || up->day > 31 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
return 0 ;
|
||||
|
||||
case 2 : /* HH:MM:SS */
|
||||
|
||||
if ( iLen < 8 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
rc = sscanf ( pBuf, "%2d:%2d:%2d", &up->hour, &up->minute, &up->second ) ;
|
||||
if ( rc != 3 || up->hour > 23 || up->minute > 59 || up->second > 60 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
up->msecond = 0 ;
|
||||
if ( up->hour == 0 && up->minute == 0 && up->second <= 2 ) {
|
||||
/*
|
||||
* The command "date" and "time" ( or "stim" ) were sent to the JJY receiver continuously.
|
||||
* But the JJY receiver replies a date and time separately.
|
||||
* Just after midnight transtions, we ignore this time.
|
||||
*/
|
||||
return 0 ;
|
||||
}
|
||||
break ;
|
||||
|
||||
default : /* Unexpected reply */
|
||||
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
|
||||
}
|
||||
|
||||
return 1 ;
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************************************/
|
||||
|
||||
static int
|
||||
jjy_receive_cdex_jst2000 ( struct recvbuf *rbufp )
|
||||
{
|
||||
|
||||
struct jjyunit *up ;
|
||||
struct refclockproc *pp ;
|
||||
struct peer *peer;
|
||||
|
||||
char *pBuf ;
|
||||
int iLen ;
|
||||
int rc ;
|
||||
|
||||
/*
|
||||
* Initialize pointers and read the timecode and timestamp
|
||||
*/
|
||||
peer = (struct peer *) rbufp->recv_srcclock ;
|
||||
pp = peer->procptr ;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
|
||||
if ( up->linediscipline == LDISC_RAW ) {
|
||||
pBuf = up->rawbuf ;
|
||||
iLen = up->charcount ;
|
||||
} else {
|
||||
pBuf = pp->a_lastcode ;
|
||||
iLen = pp->lencode ;
|
||||
}
|
||||
|
||||
switch ( up->linecount ) {
|
||||
|
||||
case 1 : /* JYYMMDD HHMMSSS */
|
||||
|
||||
if ( iLen < 15 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
rc = sscanf ( pBuf, "J%2d%2d%2d%*1d%2d%2d%2d%1d",
|
||||
&up->year, &up->month, &up->day, &up->hour, &up->minute, &up->second, &up->msecond ) ;
|
||||
if ( rc != 7 || up->month < 1 || up->month > 12 || up->day < 1 || up->day > 31
|
||||
|| up->hour > 23 || up->minute > 59 || up->second > 60 ) {
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
}
|
||||
up->year += 2000 ;
|
||||
up->msecond *= 100 ;
|
||||
break ;
|
||||
|
||||
default : /* Unexpected reply */
|
||||
|
||||
up->lineerror = 1 ;
|
||||
break ;
|
||||
|
||||
}
|
||||
|
||||
return 1 ;
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************************************/
|
||||
/* jjy_poll - called by the transmit procedure */
|
||||
/**************************************************************************************************/
|
||||
static void
|
||||
jjy_poll ( int unit, struct peer *peer )
|
||||
{
|
||||
|
||||
struct jjyunit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
|
||||
if ( pp->polls > 0 && up->linecount == 0 ) {
|
||||
/*
|
||||
* No reply for last command
|
||||
*/
|
||||
refclock_report ( peer, CEVNT_TIMEOUT ) ;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
if ( debug ) {
|
||||
printf ( "jjy_poll (refclock_jjy.c) : %ld\n", pp->polls ) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
pp->polls ++ ;
|
||||
|
||||
up->linecount = 0 ;
|
||||
up->lineerror = 0 ;
|
||||
up->charcount = 0 ;
|
||||
|
||||
switch ( up->unittype ) {
|
||||
|
||||
case UNITTYPE_TRISTATE_JJY01 :
|
||||
jjy_poll_tristate_jjy01 ( unit, peer ) ;
|
||||
break ;
|
||||
|
||||
case UNITTYPE_CDEX_JST2000 :
|
||||
jjy_poll_cdex_jst2000 ( unit, peer ) ;
|
||||
break ;
|
||||
|
||||
default :
|
||||
break ;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************************************/
|
||||
|
||||
static void
|
||||
jjy_poll_tristate_jjy01 ( int unit, struct peer *peer )
|
||||
{
|
||||
|
||||
struct jjyunit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr;
|
||||
up = (struct jjyunit *) pp->unitptr ;
|
||||
|
||||
/*
|
||||
* Send "date<CR><LF>" command
|
||||
*/
|
||||
|
||||
if ( write ( pp->io.fd, "date\r\n",6 ) != 6 ) {
|
||||
refclock_report ( peer, CEVNT_FAULT ) ;
|
||||
}
|
||||
|
||||
/*
|
||||
* Send "stim<CR><LF>" or "time<CR><LF>" command
|
||||
*/
|
||||
|
||||
if ( up->version >= 100 ) {
|
||||
if ( write ( pp->io.fd, "stim\r\n",6 ) != 6 ) {
|
||||
refclock_report ( peer, CEVNT_FAULT ) ;
|
||||
}
|
||||
} else {
|
||||
if ( write ( pp->io.fd, "time\r\n",6 ) != 6 ) {
|
||||
refclock_report ( peer, CEVNT_FAULT ) ;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************************************/
|
||||
|
||||
static void
|
||||
jjy_poll_cdex_jst2000 ( int unit, struct peer *peer )
|
||||
{
|
||||
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr;
|
||||
|
||||
/*
|
||||
* Send "<ENQ>1J<ETX>" command
|
||||
*/
|
||||
|
||||
if ( write ( pp->io.fd, "\x051J\x03", 4 ) != 4 ) {
|
||||
refclock_report ( peer, CEVNT_FAULT ) ;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#else
|
||||
int refclock_jjy_bs ;
|
||||
#endif /* REFCLOCK */
|
@ -255,4 +255,6 @@ local_poll(
|
||||
refclock_receive(peer);
|
||||
pp->fudgetime1 = 0;
|
||||
}
|
||||
#else
|
||||
int refclock_local_bs;
|
||||
#endif /* REFCLOCK */
|
||||
|
@ -652,7 +652,7 @@ oncore_start(
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (pps_device) {
|
||||
if (pps_device && pps_device[0]) {
|
||||
if (stat(pps_device, &stat1)) {
|
||||
perror("ONCORE: stat pps_device");
|
||||
return(0);
|
||||
|
@ -878,4 +878,6 @@ getint (
|
||||
return (short) (bp[1] + (bp[0] << 8));
|
||||
}
|
||||
|
||||
#else
|
||||
int refclock_palisade_bs;
|
||||
#endif /* REFCLOCK */
|
||||
|
@ -410,7 +410,7 @@ true_receive(
|
||||
}
|
||||
}
|
||||
else {
|
||||
refclock_report(peer, CEVNT_BADREPLY);
|
||||
/*refclock_report(peer, CEVNT_BADREPLY);*/
|
||||
label = "UNKNOWN";
|
||||
}
|
||||
true_debug(peer, "GOES: station %s\n", label);
|
||||
|
274
contrib/ntp/ntpd/refclock_tt560.c
Normal file
274
contrib/ntp/ntpd/refclock_tt560.c
Normal file
@ -0,0 +1,274 @@
|
||||
/*
|
||||
* refclock_tt560 - clock driver for the TrueTime 560 IRIG-B decoder
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(REFCLOCK) && defined(CLOCK_TT560)
|
||||
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_refclock.h"
|
||||
#include "ntp_unixtime.h"
|
||||
#include "sys/tt560_api.h"
|
||||
#include "ntp_stdlib.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/*
|
||||
* This driver supports the TrueTime 560 IRIG-B decoder for the PCI bus.
|
||||
*/
|
||||
|
||||
/*
|
||||
* TT560 interface definitions
|
||||
*/
|
||||
#define DEVICE "/dev/tt560%d" /* device name and unit */
|
||||
#define PRECISION (-20) /* precision assumed (1 us) */
|
||||
#define REFID "IRIG" /* reference ID */
|
||||
#define DESCRIPTION "TrueTime 560 IRIG-B PCI Decoder"
|
||||
|
||||
/*
|
||||
* Unit control structure
|
||||
*/
|
||||
struct tt560unit {
|
||||
tt_mem_space_t *tt_mem; /* mapped address of PCI board */
|
||||
time_freeze_reg_t tt560rawt; /* data returned from PCI board */
|
||||
};
|
||||
|
||||
typedef union byteswap_u
|
||||
{
|
||||
unsigned int long_word;
|
||||
unsigned char byte[4];
|
||||
} byteswap_t;
|
||||
|
||||
/*
|
||||
* Function prototypes
|
||||
*/
|
||||
static int tt560_start P((int, struct peer *));
|
||||
static void tt560_shutdown P((int, struct peer *));
|
||||
static void tt560_poll P((int unit, struct peer *));
|
||||
|
||||
/*
|
||||
* Transfer vector
|
||||
*/
|
||||
struct refclock refclock_tt560 = {
|
||||
tt560_start, /* clock_start */
|
||||
tt560_shutdown, /* clock_shutdown */
|
||||
tt560_poll, /* clock_poll */
|
||||
noentry, /* clock_control (not used) */
|
||||
noentry, /* clock_init (not used) */
|
||||
noentry, /* clock_buginfo (not used) */
|
||||
NOFLAGS /* clock_flags (not used) */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* tt560_start - open the TT560 device and initialize data for processing
|
||||
*/
|
||||
static int
|
||||
tt560_start(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct tt560unit *up;
|
||||
struct refclockproc *pp;
|
||||
char device[20];
|
||||
int fd;
|
||||
caddr_t membase;
|
||||
|
||||
/*
|
||||
* Open TT560 device
|
||||
*/
|
||||
(void)sprintf(device, DEVICE, unit);
|
||||
fd = open(device, O_RDWR);
|
||||
if (fd == -1) {
|
||||
msyslog(LOG_ERR, "tt560_start: open of %s: %m", device);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Map the device registers into user space.
|
||||
*/
|
||||
membase = mmap ((caddr_t) 0, TTIME_MEMORY_SIZE,
|
||||
PROT_READ | PROT_WRITE,
|
||||
MAP_SHARED, fd, (off_t)0);
|
||||
|
||||
if (membase == (caddr_t) -1) {
|
||||
msyslog(LOG_ERR, "tt560_start: mapping of %s: %m", device);
|
||||
(void) close(fd);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Allocate and initialize unit structure
|
||||
*/
|
||||
if (!(up = (struct tt560unit *) emalloc(sizeof(struct tt560unit)))) {
|
||||
(void) close(fd);
|
||||
return (0);
|
||||
}
|
||||
memset((char *)up, 0, sizeof(struct tt560unit));
|
||||
up->tt_mem = (tt_mem_space_t *)membase;
|
||||
pp = peer->procptr;
|
||||
pp->io.clock_recv = noentry;
|
||||
pp->io.srcclock = (caddr_t)peer;
|
||||
pp->io.datalen = 0;
|
||||
pp->io.fd = fd;
|
||||
pp->unitptr = (caddr_t)up;
|
||||
|
||||
/*
|
||||
* Initialize miscellaneous peer variables
|
||||
*/
|
||||
peer->precision = PRECISION;
|
||||
peer->burst = NSTAGE;
|
||||
pp->clockdesc = DESCRIPTION;
|
||||
memcpy((char *)&pp->refid, REFID, 4);
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* tt560_shutdown - shut down the clock
|
||||
*/
|
||||
static void
|
||||
tt560_shutdown(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct tt560unit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr;
|
||||
up = (struct tt560unit *)pp->unitptr;
|
||||
io_closeclock(&pp->io);
|
||||
free(up);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* tt560_poll - called by the transmit procedure
|
||||
*/
|
||||
static void
|
||||
tt560_poll(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct tt560unit *up;
|
||||
struct refclockproc *pp;
|
||||
time_freeze_reg_t *tp;
|
||||
tt_mem_space_t *mp;
|
||||
|
||||
int i;
|
||||
unsigned int *p_time_t, *tt_mem_t;
|
||||
|
||||
/*
|
||||
* This is the main routine. It snatches the time from the TT560
|
||||
* board and tacks on a local timestamp.
|
||||
*/
|
||||
pp = peer->procptr;
|
||||
up = (struct tt560unit *)pp->unitptr;
|
||||
mp = up->tt_mem;
|
||||
tp = &up->tt560rawt;
|
||||
|
||||
p_time_t = (unsigned int *)tp;
|
||||
tt_mem_t = (unsigned int *)&mp->time_freeze_reg;
|
||||
|
||||
*tt_mem_t = 0; /* update the time freeze register */
|
||||
/* and copy time stamp to memory */
|
||||
for (i=0; i < TIME_FREEZE_REG_LEN; i++) {
|
||||
*p_time_t = byte_swap(*tt_mem_t);
|
||||
p_time_t++;
|
||||
tt_mem_t++;
|
||||
}
|
||||
|
||||
get_systime(&pp->lastrec);
|
||||
pp->polls++;
|
||||
|
||||
/*
|
||||
* We get down to business, check the timecode format and decode
|
||||
* its contents. If the timecode has invalid length or is not in
|
||||
* proper format, we declare bad format and exit. Note: we
|
||||
* can't use the sec/usec conversion produced by the driver,
|
||||
* since the year may be suspect. All format error checking is
|
||||
* done by the sprintf() and sscanf() routines.
|
||||
*/
|
||||
sprintf(pp->a_lastcode,
|
||||
"%1x%1x%1x %1x%1x:%1x%1x:%1x%1x.%1x%1x%1x%1x%1x%1x %1x",
|
||||
tp->hun_day, tp->tens_day, tp->unit_day,
|
||||
tp->tens_hour, tp->unit_hour,
|
||||
tp->tens_min, tp->unit_min,
|
||||
tp->tens_sec, tp->unit_sec,
|
||||
tp->hun_ms, tp->tens_ms, tp->unit_ms,
|
||||
tp->hun_us, tp->tens_us, tp->unit_us,
|
||||
tp->status);
|
||||
pp->lencode = strlen(pp->a_lastcode);
|
||||
#ifdef DEBUG
|
||||
if (debug)
|
||||
printf("tt560: time %s timecode %d %s\n",
|
||||
ulfptoa(&pp->lastrec, 6), pp->lencode,
|
||||
pp->a_lastcode);
|
||||
#endif
|
||||
if (sscanf(pp->a_lastcode, "%3d %2d:%2d:%2d.%6ld",
|
||||
&pp->day, &pp->hour, &pp->minute, &pp->second, &pp->usec)
|
||||
!= 5) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
return;
|
||||
}
|
||||
if ((tp->status & 0x6) != 0x6)
|
||||
pp->leap = LEAP_NOTINSYNC;
|
||||
else
|
||||
pp->leap = LEAP_NOWARNING;
|
||||
if (!refclock_process(pp)) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
return;
|
||||
}
|
||||
if (peer->burst > 0)
|
||||
return;
|
||||
if (pp->coderecv == pp->codeproc) {
|
||||
refclock_report(peer, CEVNT_TIMEOUT);
|
||||
return;
|
||||
}
|
||||
record_clock_stats(&peer->srcadr, pp->a_lastcode);
|
||||
refclock_receive(peer);
|
||||
peer->burst = NSTAGE;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
*
|
||||
* byte_swap
|
||||
*
|
||||
* Inputs: 32 bit integer
|
||||
*
|
||||
* Output: byte swapped 32 bit integer.
|
||||
*
|
||||
* This routine is used to compensate for the byte alignment
|
||||
* differences between big-endian and little-endian integers.
|
||||
*
|
||||
******************************************************************/
|
||||
static unsigned int
|
||||
byte_swap(unsigned int input_num)
|
||||
{
|
||||
byteswap_t byte_swap;
|
||||
unsigned char temp;
|
||||
|
||||
byte_swap.long_word = input_num;
|
||||
|
||||
temp = byte_swap.byte[3];
|
||||
byte_swap.byte[3] = byte_swap.byte[0];
|
||||
byte_swap.byte[0] = temp;
|
||||
|
||||
temp = byte_swap.byte[2];
|
||||
byte_swap.byte[2] = byte_swap.byte[1];
|
||||
byte_swap.byte[1] = temp;
|
||||
|
||||
return (byte_swap.long_word);
|
||||
}
|
||||
|
||||
#else
|
||||
int refclock_tt560_bs;
|
||||
#endif /* REFCLOCK */
|
346
contrib/ntp/ntpd/refclock_zyfer.c
Normal file
346
contrib/ntp/ntpd/refclock_zyfer.c
Normal file
@ -0,0 +1,346 @@
|
||||
/*
|
||||
* refclock_zyfer - clock driver for the Zyfer GPSTarplus Clock
|
||||
*
|
||||
* Harlan Stenn, Jan 2002
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(REFCLOCK) && defined(CLOCK_ZYFER)
|
||||
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_refclock.h"
|
||||
#include "ntp_stdlib.h"
|
||||
#include "ntp_unixtime.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef HAVE_SYS_TERMIOS_H
|
||||
# include <sys/termios.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_PPSCLOCK_H
|
||||
# include <sys/ppsclock.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This driver provides support for the TOD serial port of a Zyfer GPStarplus.
|
||||
* This clock also provides PPS as well as IRIG outputs.
|
||||
* Precision is limited by the serial driver, etc.
|
||||
*
|
||||
* If I was really brave I'd hack/generalize the serial driver to deal
|
||||
* with arbitrary on-time characters. This clock *begins* the stream with
|
||||
* `!`, the on-time character, and the string is *not* EOL-terminated.
|
||||
*
|
||||
* Configure the beast for 9600, 8N1. While I see leap-second stuff
|
||||
* in the documentation, the published specs on the TOD format only show
|
||||
* the seconds going to '59'. I see no leap warning in the TOD format.
|
||||
*
|
||||
* The clock sends the following message once per second:
|
||||
*
|
||||
* !TIME,2002,017,07,59,32,2,4,1
|
||||
* YYYY DDD HH MM SS m T O
|
||||
*
|
||||
* ! On-time character
|
||||
* YYYY Year
|
||||
* DDD 001-366 Day of Year
|
||||
* HH 00-23 Hour
|
||||
* MM 00-59 Minute
|
||||
* SS 00-59 Second (probably 00-60)
|
||||
* m 1-5 Time Mode:
|
||||
* 1 = GPS time
|
||||
* 2 = UTC time
|
||||
* 3 = LGPS time (Local GPS)
|
||||
* 4 = LUTC time (Local UTC)
|
||||
* 5 = Manual time
|
||||
* T 4-9 Time Figure Of Merit:
|
||||
* 4 x <= 1us
|
||||
* 5 1us < x <= 10 us
|
||||
* 6 10us < x <= 100us
|
||||
* 7 100us < x <= 1ms
|
||||
* 8 1ms < x <= 10ms
|
||||
* 9 10ms < x
|
||||
* O 0-4 Operation Mode:
|
||||
* 0 Warm-up
|
||||
* 1 Time Locked
|
||||
* 2 Coasting
|
||||
* 3 Recovering
|
||||
* 4 Manual
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Interface definitions
|
||||
*/
|
||||
#define DEVICE "/dev/zyfer%d" /* device name and unit */
|
||||
#define SPEED232 B9600 /* uart speed (9600 baud) */
|
||||
#define PRECISION (-20) /* precision assumed (about 1 us) */
|
||||
#define REFID "GPS\0" /* reference ID */
|
||||
#define DESCRIPTION "Zyfer GPStarplus" /* WRU */
|
||||
|
||||
#define LENZYFER 29 /* timecode length */
|
||||
|
||||
/*
|
||||
* Unit control structure
|
||||
*/
|
||||
struct zyferunit {
|
||||
u_char Rcvbuf[LENZYFER + 1];
|
||||
u_char polled; /* poll message flag */
|
||||
int pollcnt;
|
||||
l_fp tstamp; /* timestamp of last poll */
|
||||
int Rcvptr;
|
||||
};
|
||||
|
||||
/*
|
||||
* Function prototypes
|
||||
*/
|
||||
static int zyfer_start P((int, struct peer *));
|
||||
static void zyfer_shutdown P((int, struct peer *));
|
||||
static void zyfer_receive P((struct recvbuf *));
|
||||
static void zyfer_poll P((int, struct peer *));
|
||||
|
||||
/*
|
||||
* Transfer vector
|
||||
*/
|
||||
struct refclock refclock_zyfer = {
|
||||
zyfer_start, /* start up driver */
|
||||
zyfer_shutdown, /* shut down driver */
|
||||
zyfer_poll, /* transmit poll message */
|
||||
noentry, /* not used (old zyfer_control) */
|
||||
noentry, /* initialize driver (not used) */
|
||||
noentry, /* not used (old zyfer_buginfo) */
|
||||
NOFLAGS /* not used */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* zyfer_start - open the devices and initialize data for processing
|
||||
*/
|
||||
static int
|
||||
zyfer_start(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct zyferunit *up;
|
||||
struct refclockproc *pp;
|
||||
int fd;
|
||||
char device[20];
|
||||
|
||||
/*
|
||||
* Open serial port.
|
||||
* Something like LDISC_ACTS that looked for ! would be nice...
|
||||
*/
|
||||
(void)sprintf(device, DEVICE, unit);
|
||||
if ( !(fd = refclock_open(device, SPEED232, LDISC_RAW)) )
|
||||
return (0);
|
||||
|
||||
msyslog(LOG_NOTICE, "zyfer(%d) fd: %d dev <%s>", unit, fd, device);
|
||||
|
||||
/*
|
||||
* Allocate and initialize unit structure
|
||||
*/
|
||||
if (!(up = (struct zyferunit *)
|
||||
emalloc(sizeof(struct zyferunit)))) {
|
||||
(void) close(fd);
|
||||
return (0);
|
||||
}
|
||||
memset((char *)up, 0, sizeof(struct zyferunit));
|
||||
pp = peer->procptr;
|
||||
pp->io.clock_recv = zyfer_receive;
|
||||
pp->io.srcclock = (caddr_t)peer;
|
||||
pp->io.datalen = 0;
|
||||
pp->io.fd = fd;
|
||||
if (!io_addclock(&pp->io)) {
|
||||
(void) close(fd);
|
||||
free(up);
|
||||
return (0);
|
||||
}
|
||||
pp->unitptr = (caddr_t)up;
|
||||
|
||||
/*
|
||||
* Initialize miscellaneous variables
|
||||
*/
|
||||
peer->precision = PRECISION;
|
||||
pp->clockdesc = DESCRIPTION;
|
||||
memcpy((char *)&pp->refid, REFID, 4);
|
||||
up->pollcnt = 2;
|
||||
up->polled = 0; /* May not be needed... */
|
||||
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* zyfer_shutdown - shut down the clock
|
||||
*/
|
||||
static void
|
||||
zyfer_shutdown(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct zyferunit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
pp = peer->procptr;
|
||||
up = (struct zyferunit *)pp->unitptr;
|
||||
io_closeclock(&pp->io);
|
||||
free(up);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* zyfer_receive - receive data from the serial interface
|
||||
*/
|
||||
static void
|
||||
zyfer_receive(
|
||||
struct recvbuf *rbufp
|
||||
)
|
||||
{
|
||||
register struct zyferunit *up;
|
||||
struct refclockproc *pp;
|
||||
struct peer *peer;
|
||||
int tmode; /* Time mode */
|
||||
int tfom; /* Time Figure Of Merit */
|
||||
int omode; /* Operation mode */
|
||||
u_char *p;
|
||||
#ifdef PPS
|
||||
struct ppsclockev ppsev;
|
||||
int request;
|
||||
#ifdef HAVE_CIOGETEV
|
||||
request = CIOGETEV;
|
||||
#endif
|
||||
#ifdef HAVE_TIOCGPPSEV
|
||||
request = TIOCGPPSEV;
|
||||
#endif
|
||||
#endif /* PPS */
|
||||
|
||||
peer = (struct peer *)rbufp->recv_srcclock;
|
||||
pp = peer->procptr;
|
||||
up = (struct zyferunit *)pp->unitptr;
|
||||
p = (u_char *) &rbufp->recv_space;
|
||||
/*
|
||||
* If lencode is 0:
|
||||
* - if *rbufp->recv_space is !
|
||||
* - - call refclock_gtlin to get things going
|
||||
* - else flush
|
||||
* else stuff it on the end of lastcode
|
||||
* If we don't have LENZYFER bytes
|
||||
* - wait for more data
|
||||
* Crack the beast, and if it's OK, process it.
|
||||
*
|
||||
* We use refclock_getlin() because we might use LDISC_CLK.
|
||||
*
|
||||
* Under FreeBSD, we get the ! followed by two 14-byte packets.
|
||||
*/
|
||||
|
||||
if (pp->lencode >= LENZYFER)
|
||||
pp->lencode = 0;
|
||||
|
||||
if (!pp->lencode) {
|
||||
if (*p == '!')
|
||||
pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode,
|
||||
BMAX, &pp->lastrec);
|
||||
else
|
||||
return;
|
||||
} else {
|
||||
memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length);
|
||||
pp->lencode += rbufp->recv_length;
|
||||
pp->a_lastcode[pp->lencode] = '\0';
|
||||
}
|
||||
|
||||
if (pp->lencode < LENZYFER)
|
||||
return;
|
||||
|
||||
record_clock_stats(&peer->srcadr, pp->a_lastcode);
|
||||
|
||||
/*
|
||||
* We get down to business, check the timecode format and decode
|
||||
* its contents. If the timecode has invalid length or is not in
|
||||
* proper format, we declare bad format and exit.
|
||||
*/
|
||||
|
||||
if (pp->lencode != LENZYFER) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Timecode sample: "!TIME,2002,017,07,59,32,2,4,1"
|
||||
*/
|
||||
if (sscanf(pp->a_lastcode, "!TIME,%4d,%3d,%2d,%2d,%2d,%d,%d,%d",
|
||||
&pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second,
|
||||
&tmode, &tfom, &omode) != 8) {
|
||||
refclock_report(peer, CEVNT_BADREPLY);
|
||||
return;
|
||||
}
|
||||
|
||||
if (tmode != 2) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Should we make sure tfom is 4? */
|
||||
|
||||
if (omode != 1) {
|
||||
pp->leap = LEAP_NOTINSYNC;
|
||||
return;
|
||||
}
|
||||
#ifdef PPS
|
||||
if(ioctl(fdpps,request,(caddr_t) &ppsev) >=0) {
|
||||
ppsev.tv.tv_sec += (u_int32) JAN_1970;
|
||||
TVTOTS(&ppsev.tv,&up->tstamp);
|
||||
}
|
||||
/* record the last ppsclock event time stamp */
|
||||
pp->lastrec = up->tstamp;
|
||||
#endif /* PPS */
|
||||
if (!refclock_process(pp)) {
|
||||
refclock_report(peer, CEVNT_BADTIME);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Good place for record_clock_stats()
|
||||
*/
|
||||
up->pollcnt = 2;
|
||||
|
||||
if (up->polled) {
|
||||
up->polled = 0;
|
||||
refclock_receive(peer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* zyfer_poll - called by the transmit procedure
|
||||
*/
|
||||
static void
|
||||
zyfer_poll(
|
||||
int unit,
|
||||
struct peer *peer
|
||||
)
|
||||
{
|
||||
register struct zyferunit *up;
|
||||
struct refclockproc *pp;
|
||||
|
||||
/*
|
||||
* We don't really do anything here, except arm the receiving
|
||||
* side to capture a sample and check for timeouts.
|
||||
*/
|
||||
pp = peer->procptr;
|
||||
up = (struct zyferunit *)pp->unitptr;
|
||||
if (!up->pollcnt)
|
||||
refclock_report(peer, CEVNT_TIMEOUT);
|
||||
else
|
||||
up->pollcnt--;
|
||||
pp->polls++;
|
||||
up->polled = 1;
|
||||
}
|
||||
|
||||
#else
|
||||
int refclock_zyfer_bs;
|
||||
#endif /* REFCLOCK */
|
@ -16,5 +16,5 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpdate
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
|
||||
$(COMPILE) -c version.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = ntpdate ntptimeset
|
||||
ntptimeset_SOURCES = ntptimeset.c ntptime_config.c
|
||||
@ -127,8 +121,6 @@ DISTCLEANFILES = .version version.c stamp-v
|
||||
noinst_HEADERS = ntpdate.h
|
||||
#EXTRA_DIST = ntpdate.mak
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = ntpdate
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -136,46 +128,45 @@ CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = ntpdate$(EXEEXT) ntptimeset$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
ntpdate_SOURCES = ntpdate.c
|
||||
ntpdate_OBJECTS = ntpdate$U.$(OBJEXT)
|
||||
ntpdate_LDADD = $(LDADD)
|
||||
ntpdate_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntpdate_LDFLAGS =
|
||||
ntpdate_LDFLAGS =
|
||||
am_ntptimeset_OBJECTS = ntptimeset$U.$(OBJEXT) \
|
||||
ntptime_config$U.$(OBJEXT)
|
||||
ntptime_config$U.$(OBJEXT)
|
||||
ntptimeset_OBJECTS = $(am_ntptimeset_OBJECTS)
|
||||
ntptimeset_LDADD = $(LDADD)
|
||||
ntptimeset_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntptimeset_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
ntptimeset_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/ntpdate$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntptime_config$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntptimeset$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = ntpdate.c $(ntptimeset_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/ntpdate$U.Po $(DEPDIR)/ntptime_config$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntptimeset$U.Po
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
SOURCES = ntpdate.c $(ntptimeset_SOURCES)
|
||||
OBJECTS = ntpdate$U.$(OBJEXT) $(am_ntptimeset_OBJECTS)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ntpdate/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -183,8 +174,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -200,37 +193,54 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
ntpdate$(EXEEXT): $(ntpdate_OBJECTS) $(ntpdate_DEPENDENCIES)
|
||||
@rm -f ntpdate$(EXEEXT)
|
||||
$(LINK) $(ntpdate_LDFLAGS) $(ntpdate_OBJECTS) $(ntpdate_LDADD) $(LIBS)
|
||||
ntptimeset$(EXEEXT): $(ntptimeset_OBJECTS) $(ntptimeset_DEPENDENCIES)
|
||||
@rm -f ntptimeset$(EXEEXT)
|
||||
$(LINK) $(ntptimeset_LDFLAGS) $(ntptimeset_OBJECTS) $(ntptimeset_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
ntpdate: $(ntpdate_OBJECTS) $(ntpdate_DEPENDENCIES)
|
||||
@rm -f ntpdate
|
||||
$(LINK) $(ntpdate_LDFLAGS) $(ntpdate_OBJECTS) $(ntpdate_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpdate$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntptime_config$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntptimeset$U.Po@am__quote@
|
||||
|
||||
ntptimeset: $(ntptimeset_OBJECTS) $(ntptimeset_DEPENDENCIES)
|
||||
@rm -f ntptimeset
|
||||
$(LINK) $(ntptimeset_LDFLAGS) $(ntptimeset_OBJECTS) $(ntptimeset_LDADD) $(LIBS)
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
ntpdate_.c: ntpdate.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdate.c; then echo $(srcdir)/ntpdate.c; else echo ntpdate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdate_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdate.c; then echo $(srcdir)/ntpdate.c; else echo ntpdate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdate_.c || rm -f ntpdate_.c
|
||||
ntptime_config_.c: ntptime_config.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptime_config.c; then echo $(srcdir)/ntptime_config.c; else echo ntptime_config.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptime_config_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptime_config.c; then echo $(srcdir)/ntptime_config.c; else echo ntptime_config.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptime_config_.c || rm -f ntptime_config_.c
|
||||
ntptimeset_.c: ntptimeset.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptimeset.c; then echo $(srcdir)/ntptimeset.c; else echo ntptimeset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptimeset_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptimeset.c; then echo $(srcdir)/ntptimeset.c; else echo ntptimeset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptimeset_.c || rm -f ntptimeset_.c
|
||||
ntpdate_.$(OBJEXT) ntptime_config_.$(OBJEXT) ntptimeset_.$(OBJEXT) : \
|
||||
$(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -243,7 +253,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -259,32 +269,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpdate$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntptime_config$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntptimeset$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -293,7 +281,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -319,24 +311,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
@ -346,11 +335,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -358,7 +347,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -372,17 +361,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
distclean distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
$(PROGRAMS): $(LDADD)
|
||||
@ -391,9 +381,8 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpdate
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
|
||||
$(COMPILE) -c version.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <netinfo/ni.h>
|
||||
#endif
|
||||
|
||||
#include "ntp_machine.h"
|
||||
#include "ntp_fp.h"
|
||||
#include "ntp.h"
|
||||
#include "ntp_io.h"
|
||||
@ -32,7 +33,11 @@
|
||||
#endif
|
||||
#ifndef SYS_WINNT
|
||||
# include <netdb.h>
|
||||
# include <sys/signal.h>
|
||||
# ifdef HAVE_SYS_SIGNAL_H
|
||||
# include <sys/signal.h>
|
||||
# else
|
||||
# include <signal.h>
|
||||
# endif
|
||||
# ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
# endif
|
||||
@ -423,7 +428,7 @@ ntpdatemain (
|
||||
|
||||
if (errflg) {
|
||||
(void) fprintf(stderr,
|
||||
"usage: %s [-bBdqsv] [-a key#] [-e delay] [-k file] [-p samples] [-o version#] [-r rate] [-t timeo] server ...\n",
|
||||
"usage: %s [-bBdqsuv] [-a key#] [-e delay] [-k file] [-p samples] [-o version#] [-r rate] [-t timeo] server ...\n",
|
||||
progname);
|
||||
exit(2);
|
||||
}
|
||||
@ -735,7 +740,7 @@ receive(
|
||||
register struct pkt *rpkt;
|
||||
register struct server *server;
|
||||
register s_fp di;
|
||||
l_fp t10, t23;
|
||||
l_fp t10, t23, tmp;
|
||||
l_fp org;
|
||||
l_fp rec;
|
||||
l_fp ci;
|
||||
@ -857,9 +862,15 @@ receive(
|
||||
L_SUB(&t23, &org); /* pkt->org == t3 */
|
||||
|
||||
/* now have (t2 - t3) and (t0 - t1). Calculate (ci) and (di) */
|
||||
/*
|
||||
* Calculate (ci) = ((t1 - t0) / 2) + ((t2 - t3) / 2)
|
||||
* For large offsets this may prevent an overflow on '+'
|
||||
*/
|
||||
ci = t10;
|
||||
L_ADD(&ci, &t23);
|
||||
L_RSHIFT(&ci);
|
||||
tmp = t23;
|
||||
L_RSHIFT(&tmp);
|
||||
L_ADD(&ci, &tmp);
|
||||
|
||||
/*
|
||||
* Calculate di in t23 in full precision, then truncate
|
||||
@ -1015,23 +1026,44 @@ clock_select(void)
|
||||
*/
|
||||
nlist = 0; /* none yet */
|
||||
for (server = sys_servers; server != NULL; server = server->next_server) {
|
||||
if (server->delay == 0)
|
||||
continue; /* no data */
|
||||
if (server->stratum > NTP_INFIN)
|
||||
continue; /* stratum no good */
|
||||
if (server->delay > NTP_MAXWGT) {
|
||||
continue; /* too far away */
|
||||
if (server->delay == 0) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: no data\n", ntoa(&server->srcadr));
|
||||
continue; /* no data */
|
||||
}
|
||||
if (server->stratum > NTP_INFIN) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: strata too high\n", ntoa(&server->srcadr));
|
||||
continue; /* stratum no good */
|
||||
}
|
||||
if (server->delay > NTP_MAXWGT) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: server too far away\n",
|
||||
ntoa(&server->srcadr));
|
||||
continue; /* too far away */
|
||||
}
|
||||
if (server->leap == LEAP_NOTINSYNC) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: Leap not in sync\n", ntoa(&server->srcadr));
|
||||
continue; /* he's in trouble */
|
||||
}
|
||||
if (server->leap == LEAP_NOTINSYNC)
|
||||
continue; /* he's in trouble */
|
||||
if (!L_ISHIS(&server->org, &server->reftime)) {
|
||||
continue; /* very broken host */
|
||||
if (debug)
|
||||
printf("%s: Server dropped: server is very broken\n",
|
||||
ntoa(&server->srcadr));
|
||||
continue; /* very broken host */
|
||||
}
|
||||
if ((server->org.l_ui - server->reftime.l_ui)
|
||||
>= NTP_MAXAGE) {
|
||||
>= NTP_MAXAGE) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: Server has gone too long without sync\n",
|
||||
ntoa(&server->srcadr));
|
||||
continue; /* too long without sync */
|
||||
}
|
||||
if (server->trust != 0) {
|
||||
if (debug)
|
||||
printf("%s: Server dropped: Server is untrusted\n",
|
||||
ntoa(&server->srcadr));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -121,6 +121,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "ntp_machine.h"
|
||||
#include "ntp_fp.h"
|
||||
#include "ntp.h"
|
||||
#include "ntp_io.h"
|
||||
@ -141,7 +142,11 @@
|
||||
#include <ctype.h>
|
||||
#ifndef SYS_WINNT
|
||||
# include <netdb.h>
|
||||
# include <sys/signal.h>
|
||||
# ifdef HAVE_SYS_SIGNAL_H
|
||||
# include <sys/signal.h>
|
||||
# else
|
||||
# include <signal.h>
|
||||
# endif
|
||||
# include <sys/ioctl.h>
|
||||
#endif /* SYS_WINNT */
|
||||
|
||||
|
@ -17,5 +17,5 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpdc_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpdc
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdc
|
||||
$(COMPILE) -c version.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = ntpdc
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
@ -128,8 +122,6 @@ noinst_HEADERS = ntpdc.h
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
ntpdc_SOURCES = ntpdc.c ntpdc_ops.c
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = ntpdc
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -137,39 +129,37 @@ CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = ntpdc$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
am_ntpdc_OBJECTS = ntpdc$U.$(OBJEXT) ntpdc_ops$U.$(OBJEXT)
|
||||
ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
|
||||
ntpdc_LDADD = $(LDADD)
|
||||
ntpdc_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntpdc_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
ntpdc_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/ntpdc$U.Po $(DEPDIR)/ntpdc_ops$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(ntpdc_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/ntpdc$U.Po $(DEPDIR)/ntpdc_ops$U.Po
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
SOURCES = $(ntpdc_SOURCES)
|
||||
OBJECTS = $(am_ntpdc_OBJECTS)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ntpdc/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -177,8 +167,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -194,30 +186,47 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
|
||||
@rm -f ntpdc$(EXEEXT)
|
||||
$(LINK) $(ntpdc_LDFLAGS) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
ntpdc: $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
|
||||
@rm -f ntpdc
|
||||
$(LINK) $(ntpdc_LDFLAGS) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpdc$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpdc_ops$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
ntpdc_.c: ntpdc.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc.c; then echo $(srcdir)/ntpdc.c; else echo ntpdc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdc_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc.c; then echo $(srcdir)/ntpdc.c; else echo ntpdc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdc_.c || rm -f ntpdc_.c
|
||||
ntpdc_ops_.c: ntpdc_ops.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc_ops.c; then echo $(srcdir)/ntpdc_ops.c; else echo ntpdc_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdc_ops_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc_ops.c; then echo $(srcdir)/ntpdc_ops.c; else echo ntpdc_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdc_ops_.c || rm -f ntpdc_ops_.c
|
||||
ntpdc_.$(OBJEXT) ntpdc_ops_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -230,7 +239,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -246,31 +255,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpdc$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpdc_ops$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -279,7 +267,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -305,24 +297,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
@ -332,11 +321,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -344,7 +333,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -358,17 +347,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
distclean distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
$(PROGRAMS): $(LDADD)
|
||||
@ -377,9 +367,8 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpdc_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpdc
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdc
|
||||
$(COMPILE) -c version.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -191,6 +191,11 @@ void timer(void) { ; }; /* 1998/06/03 - Used in ntplib/machines.c */
|
||||
static char *pktdata;
|
||||
static int pktdatasize;
|
||||
|
||||
/*
|
||||
* These are used to help the magic with old and new versions of ntpd.
|
||||
*/
|
||||
static int req_pkt_size = REQ_LEN_NOMAC;
|
||||
|
||||
/*
|
||||
* For commands typed on the command line (with the -c option)
|
||||
*/
|
||||
@ -474,6 +479,7 @@ openhost(
|
||||
error("connect", "", "");
|
||||
|
||||
havehost = 1;
|
||||
req_pkt_size = REQ_LEN_NOMAC;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -770,11 +776,15 @@ sendrequest(
|
||||
|
||||
if (!auth) {
|
||||
qpkt.auth_seq = AUTH_SEQ(0, 0);
|
||||
return sendpkt((char *)&qpkt, REQ_LEN_NOMAC);
|
||||
return sendpkt((char *)&qpkt, req_pkt_size);
|
||||
} else {
|
||||
l_fp ts;
|
||||
int maclen = 0;
|
||||
const char *pass = "\0";
|
||||
struct req_pkt_tail *qpktail;
|
||||
|
||||
qpktail = (struct req_pkt_tail *)((char *)&qpkt + req_pkt_size
|
||||
+ MAX_MAC_LEN - sizeof(struct req_pkt_tail));
|
||||
|
||||
if (info_auth_keyid == 0) {
|
||||
maclen = getkeyid("Keyid: ");
|
||||
@ -797,17 +807,17 @@ sendrequest(
|
||||
authusekey(info_auth_keyid, info_auth_keytype, (const u_char *)pass);
|
||||
authtrust(info_auth_keyid, 1);
|
||||
qpkt.auth_seq = AUTH_SEQ(1, 0);
|
||||
qpkt.keyid = htonl(info_auth_keyid);
|
||||
qpktail->keyid = htonl(info_auth_keyid);
|
||||
get_systime(&ts);
|
||||
L_ADD(&ts, &delay_time);
|
||||
HTONL_FP(&ts, &qpkt.tstamp);
|
||||
HTONL_FP(&ts, &qpktail->tstamp);
|
||||
maclen = authencrypt(info_auth_keyid, (u_int32 *)&qpkt,
|
||||
REQ_LEN_NOMAC);
|
||||
req_pkt_size);
|
||||
if (maclen == 0) {
|
||||
(void) fprintf(stderr, "Key not found\n");
|
||||
return (1);
|
||||
}
|
||||
return sendpkt((char *)&qpkt, (int)(REQ_LEN_NOMAC + maclen));
|
||||
return sendpkt((char *)&qpkt, (int)(req_pkt_size + maclen));
|
||||
}
|
||||
/*NOTREACHED*/
|
||||
}
|
||||
@ -846,6 +856,7 @@ doquery(
|
||||
/*
|
||||
* Poll the socket and clear out any pending data
|
||||
*/
|
||||
again:
|
||||
do {
|
||||
tvzero.tv_sec = tvzero.tv_usec = 0;
|
||||
FD_ZERO(&fds);
|
||||
@ -873,6 +884,26 @@ doquery(
|
||||
*/
|
||||
res = getresponse(implcode, reqcode, ritems, rsize, rdata);
|
||||
|
||||
/*
|
||||
* Try to be compatible with older implementations of ntpd.
|
||||
*/
|
||||
if (res == INFO_ERR_FMT && req_pkt_size != 48) {
|
||||
int oldsize;
|
||||
|
||||
oldsize = req_pkt_size;
|
||||
|
||||
switch(req_pkt_size) {
|
||||
case REQ_LEN_NOMAC:
|
||||
req_pkt_size = 48;
|
||||
break;
|
||||
}
|
||||
|
||||
fprintf(stderr,
|
||||
"***Warning changing the request packet size from %d to %d\n",
|
||||
oldsize, req_pkt_size);
|
||||
goto again;
|
||||
}
|
||||
|
||||
/* log error message if not told to be quiet */
|
||||
if ((res > 0) && (((1 << res) & quiet_mask) == 0)) {
|
||||
switch(res) {
|
||||
|
@ -786,7 +786,7 @@ sysinfo(
|
||||
|
||||
(void) fprintf(fp, "system flags: ");
|
||||
if ((is->flags & (INFO_FLAG_BCLIENT | INFO_FLAG_AUTHENABLE |
|
||||
INFO_FLAG_NTP | INFO_FLAG_KERNEL| INFO_FLAG_PLL_SYNC |
|
||||
INFO_FLAG_NTP | INFO_FLAG_KERNEL| INFO_FLAG_CAL |
|
||||
INFO_FLAG_PPS_SYNC | INFO_FLAG_MONITOR | INFO_FLAG_FILEGEN)) == 0) {
|
||||
(void) fprintf(fp, "none\n");
|
||||
} else {
|
||||
@ -802,10 +802,10 @@ sysinfo(
|
||||
(void) fprintf(fp, "kernel ");
|
||||
if (is->flags & INFO_FLAG_FILEGEN)
|
||||
(void) fprintf(fp, "stats ");
|
||||
if (is->flags & INFO_FLAG_PLL_SYNC)
|
||||
(void) fprintf(fp, "kernel_sync ");
|
||||
if (is->flags & INFO_FLAG_CAL)
|
||||
(void) fprintf(fp, "calibrate ");
|
||||
if (is->flags & INFO_FLAG_PPS_SYNC)
|
||||
(void) fprintf(fp, "pps_sync ");
|
||||
(void) fprintf(fp, "pps ");
|
||||
(void) fprintf(fp, "\n");
|
||||
}
|
||||
(void) fprintf(fp, "jitter: %s s\n",
|
||||
@ -1174,6 +1174,13 @@ doconfig(
|
||||
sizeof(struct conf_peer), (char *)&cpeer, &items,
|
||||
&itemsize, &dummy, 0);
|
||||
|
||||
if (res == INFO_ERR_FMT) {
|
||||
(void) fprintf(fp,
|
||||
"***Retrying command with old conf_peer size\n");
|
||||
res = doquery(IMPL_XNTPD, REQ_CONFIG, 1, 1,
|
||||
sizeof(struct old_conf_peer), (char *)&cpeer,
|
||||
&items, &itemsize, &dummy, 0);
|
||||
}
|
||||
if (res == 0)
|
||||
(void) fprintf(fp, "done!\n");
|
||||
return;
|
||||
@ -1256,21 +1263,25 @@ doset(
|
||||
sys.flags = 0;
|
||||
res = 0;
|
||||
for (items = 0; items < pcmd->nargs; items++) {
|
||||
if (STREQ(pcmd->argval[items].string, "pps"))
|
||||
sys.flags |= SYS_FLAG_PPS;
|
||||
if (STREQ(pcmd->argval[items].string, "auth"))
|
||||
sys.flags |= SYS_FLAG_AUTH;
|
||||
else if (STREQ(pcmd->argval[items].string, "bclient"))
|
||||
sys.flags |= SYS_FLAG_BCLIENT;
|
||||
else if (STREQ(pcmd->argval[items].string, "monitor"))
|
||||
sys.flags |= SYS_FLAG_MONITOR;
|
||||
else if (STREQ(pcmd->argval[items].string, "ntp"))
|
||||
sys.flags |= SYS_FLAG_NTP;
|
||||
sys.flags |= SYS_FLAG_BCLIENT;
|
||||
else if (STREQ(pcmd->argval[items].string, "calibrate"))
|
||||
sys.flags |= SYS_FLAG_CAL;
|
||||
else if (STREQ(pcmd->argval[items].string, "kernel"))
|
||||
sys.flags |= SYS_FLAG_KERNEL;
|
||||
sys.flags |= SYS_FLAG_KERNEL;
|
||||
else if (STREQ(pcmd->argval[items].string, "monitor"))
|
||||
sys.flags |= SYS_FLAG_MONITOR;
|
||||
else if (STREQ(pcmd->argval[items].string, "ntp"))
|
||||
sys.flags |= SYS_FLAG_NTP;
|
||||
else if (STREQ(pcmd->argval[items].string, "pps"))
|
||||
sys.flags |= SYS_FLAG_PPS;
|
||||
else if (STREQ(pcmd->argval[items].string, "stats"))
|
||||
sys.flags |= SYS_FLAG_FILEGEN;
|
||||
sys.flags |= SYS_FLAG_FILEGEN;
|
||||
else {
|
||||
(void) fprintf(fp, "Unknown flag %s\n",
|
||||
pcmd->argval[items].string);
|
||||
pcmd->argval[items].string);
|
||||
res = 1;
|
||||
}
|
||||
}
|
||||
|
@ -17,5 +17,5 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpq_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpq
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
|
||||
$(COMPILE) -c version.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = ntpq
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
@ -128,8 +122,6 @@ noinst_HEADERS = ntpq.h
|
||||
ETAGS_ARGS = Makefile.am
|
||||
|
||||
ntpq_SOURCES = ntpq.c ntpq_ops.c
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = ntpq
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -137,39 +129,37 @@ CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = ntpq$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
am_ntpq_OBJECTS = ntpq$U.$(OBJEXT) ntpq_ops$U.$(OBJEXT)
|
||||
ntpq_OBJECTS = $(am_ntpq_OBJECTS)
|
||||
ntpq_LDADD = $(LDADD)
|
||||
ntpq_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntpq_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
ntpq_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/ntpq$U.Po $(DEPDIR)/ntpq_ops$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(ntpq_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/ntpq$U.Po $(DEPDIR)/ntpq_ops$U.Po
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
SOURCES = $(ntpq_SOURCES)
|
||||
OBJECTS = $(am_ntpq_OBJECTS)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ntpq/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -177,8 +167,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -194,30 +186,47 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
ntpq$(EXEEXT): $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
|
||||
@rm -f ntpq$(EXEEXT)
|
||||
$(LINK) $(ntpq_LDFLAGS) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
ntpq: $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
|
||||
@rm -f ntpq
|
||||
$(LINK) $(ntpq_LDFLAGS) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpq$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntpq_ops$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
ntpq_.c: ntpq.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq.c; then echo $(srcdir)/ntpq.c; else echo ntpq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpq_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq.c; then echo $(srcdir)/ntpq.c; else echo ntpq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpq_.c || rm -f ntpq_.c
|
||||
ntpq_ops_.c: ntpq_ops.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq_ops.c; then echo $(srcdir)/ntpq_ops.c; else echo ntpq_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpq_ops_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq_ops.c; then echo $(srcdir)/ntpq_ops.c; else echo ntpq_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpq_ops_.c || rm -f ntpq_ops_.c
|
||||
ntpq_.$(OBJEXT) ntpq_ops_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -230,7 +239,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -246,31 +255,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpq$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntpq_ops$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -279,7 +267,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -305,24 +297,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
@ -332,11 +321,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -344,7 +333,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -358,17 +347,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
distclean distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
$(PROGRAMS): $(LDADD)
|
||||
@ -377,9 +367,8 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntpq_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
|
||||
$(top_builddir)/scripts/mkver ntpq
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
|
||||
$(COMPILE) -c version.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -21,6 +21,11 @@
|
||||
#define closesocket close
|
||||
#endif /* SYS_WINNT */
|
||||
|
||||
#ifdef HAVE_LIBREADLINE
|
||||
# include <readline/readline.h>
|
||||
# include <readline/history.h>
|
||||
#endif /* HAVE_LIBREADLINE */
|
||||
|
||||
#ifdef SYS_VXWORKS
|
||||
/* vxWorks needs mode flag -casey*/
|
||||
#define open(name, flags) open(name, flags, 0777)
|
||||
@ -1259,22 +1264,33 @@ doquery(
|
||||
static void
|
||||
getcmds(void)
|
||||
{
|
||||
char line[MAXLINE];
|
||||
#ifdef HAVE_LIBREADLINE
|
||||
char *line;
|
||||
|
||||
for (;;) {
|
||||
if (interactive) {
|
||||
#ifdef VMS /* work around a problem with mixing stdout & stderr */
|
||||
fputs("",stdout);
|
||||
for (;;) {
|
||||
if ((line = readline(interactive?prompt:"")) == NULL) return;
|
||||
if (*line) add_history(line);
|
||||
docmd(line);
|
||||
free(line);
|
||||
}
|
||||
#else /* not HAVE_LIBREADLINE */
|
||||
char line[MAXLINE];
|
||||
|
||||
for (;;) {
|
||||
if (interactive) {
|
||||
#ifdef VMS /* work around a problem with mixing stdout & stderr */
|
||||
fputs("",stdout);
|
||||
#endif
|
||||
(void) fputs(prompt, stderr);
|
||||
(void) fflush(stderr);
|
||||
}
|
||||
(void) fputs(prompt, stderr);
|
||||
(void) fflush(stderr);
|
||||
}
|
||||
|
||||
if (fgets(line, sizeof line, stdin) == NULL)
|
||||
return;
|
||||
if (fgets(line, sizeof line, stdin) == NULL)
|
||||
return;
|
||||
|
||||
docmd(line);
|
||||
}
|
||||
docmd(line);
|
||||
}
|
||||
#endif /* not HAVE_LIBREADLINE */
|
||||
}
|
||||
|
||||
|
||||
|
@ -15,5 +15,5 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntptrace_OBJECTS) ../libntp/libntp.a Makefile
|
||||
$(top_builddir)/scripts/mkver ntptrace
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntptrace
|
||||
$(COMPILE) -c version.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
bin_PROGRAMS = ntptrace
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
@ -126,8 +120,6 @@ DISTCLEANFILES = .version version.c
|
||||
noinst_HEADERS = ntptrace.h
|
||||
#EXTRA_DIST = ntptrace.mak README TAGS save
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = ntptrace
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -135,39 +127,37 @@ CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = ntptrace$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
ntptrace_SOURCES = ntptrace.c
|
||||
ntptrace_OBJECTS = ntptrace$U.$(OBJEXT)
|
||||
ntptrace_LDADD = $(LDADD)
|
||||
ntptrace_DEPENDENCIES = version.o ../libntp/libntp.a
|
||||
ntptrace_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
ntptrace_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/ntptrace$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = ntptrace.c
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/ntptrace$U.Po
|
||||
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
|
||||
|
||||
SOURCES = ntptrace.c
|
||||
OBJECTS = ntptrace$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ntptrace/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -175,8 +165,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -192,28 +184,44 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
ntptrace$(EXEEXT): $(ntptrace_OBJECTS) $(ntptrace_DEPENDENCIES)
|
||||
@rm -f ntptrace$(EXEEXT)
|
||||
$(LINK) $(ntptrace_LDFLAGS) $(ntptrace_OBJECTS) $(ntptrace_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
ntptrace: $(ntptrace_OBJECTS) $(ntptrace_DEPENDENCIES)
|
||||
@rm -f ntptrace
|
||||
$(LINK) $(ntptrace_LDFLAGS) $(ntptrace_OBJECTS) $(ntptrace_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntptrace$U.Po@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
ntptrace_.c: ntptrace.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptrace.c; then echo $(srcdir)/ntptrace.c; else echo ntptrace.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptrace_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptrace.c; then echo $(srcdir)/ntptrace.c; else echo ntptrace.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptrace_.c || rm -f ntptrace_.c
|
||||
ntptrace_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -226,7 +234,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -242,30 +250,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntptrace$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -274,7 +262,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -300,24 +292,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
@ -327,11 +316,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -339,7 +328,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -353,17 +342,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
distclean distclean-compile distclean-depend distclean-generic \
|
||||
distclean-tags distdir dvi dvi-am info info-am install \
|
||||
install-am install-binPROGRAMS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
$(PROGRAMS): $(LDADD)
|
||||
@ -372,9 +362,8 @@ $(PROGRAMS): $(LDADD)
|
||||
cd ../libntp && $(MAKE)
|
||||
|
||||
version.o: $(ntptrace_OBJECTS) ../libntp/libntp.a Makefile
|
||||
$(top_builddir)/scripts/mkver ntptrace
|
||||
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntptrace
|
||||
$(COMPILE) -c version.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -28,11 +28,17 @@
|
||||
#include <signal.h>
|
||||
#include <ctype.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/signal.h>
|
||||
#ifdef HAVE_SYS_SIGNAL_H
|
||||
# include <sys/signal.h>
|
||||
#else
|
||||
# include <signal.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <sys/resource.h>
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
# include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* only 16 stratums, so this is more than enough.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,24 +104,19 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ../util/ansi2knr
|
||||
noinst_PROGRAMS = @TESTDCF@ @DCFD@
|
||||
EXTRA_PROGRAMS = testdcf dcfd
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
ETAGS_ARGS = Makefile.am
|
||||
DISTCLEANFILES = $(EXTRA_PROGRAMS)
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = parseutil
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
@ -133,76 +125,90 @@ EXTRA_PROGRAMS = testdcf$(EXEEXT) dcfd$(EXEEXT)
|
||||
noinst_PROGRAMS = @TESTDCF@ @DCFD@
|
||||
PROGRAMS = $(noinst_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
dcfd_SOURCES = dcfd.c
|
||||
dcfd_OBJECTS = dcfd$U.$(OBJEXT)
|
||||
dcfd_LDADD = $(LDADD)
|
||||
dcfd_DEPENDENCIES =
|
||||
dcfd_LDFLAGS =
|
||||
dcfd_DEPENDENCIES =
|
||||
dcfd_LDFLAGS =
|
||||
testdcf_SOURCES = testdcf.c
|
||||
testdcf_OBJECTS = testdcf$U.$(OBJEXT)
|
||||
testdcf_LDADD = $(LDADD)
|
||||
testdcf_DEPENDENCIES =
|
||||
testdcf_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
testdcf_DEPENDENCIES =
|
||||
testdcf_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dcfd$U.Po $(DEPDIR)/testdcf$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = dcfd.c testdcf.c
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/dcfd$U.Po $(DEPDIR)/testdcf$U.Po
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
SOURCES = dcfd.c testdcf.c
|
||||
OBJECTS = dcfd$U.$(OBJEXT) testdcf$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu parseutil/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||
dcfd$(EXEEXT): $(dcfd_OBJECTS) $(dcfd_DEPENDENCIES)
|
||||
@rm -f dcfd$(EXEEXT)
|
||||
$(LINK) $(dcfd_LDFLAGS) $(dcfd_OBJECTS) $(dcfd_LDADD) $(LIBS)
|
||||
testdcf$(EXEEXT): $(testdcf_OBJECTS) $(testdcf_DEPENDENCIES)
|
||||
@rm -f testdcf$(EXEEXT)
|
||||
$(LINK) $(testdcf_LDFLAGS) $(testdcf_OBJECTS) $(testdcf_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
../util/ansi2knr: ../util/ansi2knr.$(OBJEXT)
|
||||
|
||||
ANSI2KNR = ../util/ansi2knr
|
||||
../util/ansi2knr:
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||
|
||||
../util/ansi2knr.$(OBJEXT):
|
||||
cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
|
||||
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
dcfd: $(dcfd_OBJECTS) $(dcfd_DEPENDENCIES)
|
||||
@rm -f dcfd
|
||||
$(LINK) $(dcfd_LDFLAGS) $(dcfd_OBJECTS) $(dcfd_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dcfd$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/testdcf$U.Po@am__quote@
|
||||
|
||||
testdcf: $(testdcf_OBJECTS) $(testdcf_DEPENDENCIES)
|
||||
@rm -f testdcf
|
||||
$(LINK) $(testdcf_LDFLAGS) $(testdcf_OBJECTS) $(testdcf_LDADD) $(LIBS)
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
dcfd_.c: dcfd.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dcfd.c; then echo $(srcdir)/dcfd.c; else echo dcfd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dcfd_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dcfd.c; then echo $(srcdir)/dcfd.c; else echo dcfd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dcfd_.c || rm -f dcfd_.c
|
||||
testdcf_.c: testdcf.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/testdcf.c; then echo $(srcdir)/testdcf.c; else echo testdcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > testdcf_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/testdcf.c; then echo $(srcdir)/testdcf.c; else echo testdcf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > testdcf_.c || rm -f testdcf_.c
|
||||
dcfd_.$(OBJEXT) testdcf_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -215,7 +221,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -231,31 +237,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/dcfd$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/testdcf$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -264,7 +249,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -290,24 +279,21 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
|
||||
@ -317,11 +303,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -329,7 +315,7 @@ install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -343,21 +329,23 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
.PHONY: all all-am check check-am check-local clean clean-generic \
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: GTAGS all all-am check check-am check-local clean clean-generic \
|
||||
clean-noinstPROGRAMS distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-kr tags uninstall uninstall-am
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
#EXTRA_DIST= TAGS
|
||||
|
||||
check-local: dcfd
|
||||
./dcfd -Y
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,8 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +33,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +49,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +73,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +89,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,42 +102,36 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
|
||||
bin_SCRIPTS = ntp-wait
|
||||
noinst_SCRIPTS = calc_tickadj checktime freq_adj mkver ntpsweep ntpver plot_summary summary
|
||||
EXTRA_DIST = fixautomakedepsmagic hpadjtime.sh monitoring ntp-close \
|
||||
ntp-groper ntp-restart ntp-status rc1 rc2 stats support
|
||||
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = scripts
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES = calc_tickadj checktime freq_adj mkver ntp-wait \
|
||||
ntpsweep ntpver plot_summary summary
|
||||
ntpsweep ntpver plot_summary summary
|
||||
SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS)
|
||||
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = README Makefile.am Makefile.in calc_tickadj.in \
|
||||
checktime.in freq_adj.in mkver.in ntp-wait.in ntpsweep.in ntpver.in \
|
||||
plot_summary.in summary.in
|
||||
|
||||
checktime.in freq_adj.in mkver.in ntp-wait.in ntpsweep.in \
|
||||
ntpver.in plot_summary.in summary.in
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu scripts/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -185,6 +174,7 @@ uninstall-binSCRIPTS:
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
uninstall-info-am:
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
@ -196,7 +186,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -222,23 +216,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
@ -247,11 +238,11 @@ distclean: distclean-am
|
||||
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -259,7 +250,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binSCRIPTS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -273,16 +264,16 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
uninstall-am: uninstall-binSCRIPTS
|
||||
uninstall-am: uninstall-binSCRIPTS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic distclean \
|
||||
distclean-generic distdir dvi dvi-am info info-am install \
|
||||
install-am install-binSCRIPTS install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-man \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic uninstall uninstall-am uninstall-binSCRIPTS
|
||||
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic uninstall uninstall-am \
|
||||
uninstall-binSCRIPTS uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -5,6 +5,11 @@ ConfStr="$PROG"
|
||||
|
||||
ConfStr="$ConfStr @VERSION@"
|
||||
|
||||
case "$CSET" in
|
||||
'') ;;
|
||||
*) ConfStr="$ConfStr@$CSET" ;;
|
||||
esac
|
||||
|
||||
case "@LIBRSAREF@" in
|
||||
'')
|
||||
case "@AUTOKEY@" in
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @PATH_PERL@ -w
|
||||
#
|
||||
# $Id: ntpsweep.in,v 1.1 2000/02/10 08:13:40 stenn Exp $
|
||||
# $Id$
|
||||
#
|
||||
# DISCLAIMER
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! @PATH_PERL@ -w
|
||||
# $Id: plot_summary.in,v 1.1 2000/02/10 08:13:40 stenn Exp $
|
||||
# $Id$
|
||||
#
|
||||
# Use Gnuplot to display data in summary files produced by summary.pl.
|
||||
# This script requires GNUPLOT 3.7!
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! @PATH_PERL@ -w
|
||||
# $Id: summary.in,v 1.1 2000/02/10 08:13:40 stenn Exp $
|
||||
# $Id$
|
||||
# Perl version of (summary.sh, loop.awk, peer.awk):
|
||||
# Create summaries from xntpd's loop and peer statistics.
|
||||
#
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
@ -11,6 +11,10 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -31,11 +35,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -49,23 +51,18 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
@SET_MAKE@
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOKEY = @AUTOKEY@
|
||||
AWK = @AWK@
|
||||
@ -78,13 +75,12 @@ DCFD = @DCFD@
|
||||
DEPDIR = @DEPDIR@
|
||||
EF_LIBS = @EF_LIBS@
|
||||
EF_PROGS = @EF_PROGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBPARSE = @LIBPARSE@
|
||||
LIBRSAREF = @LIBRSAREF@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_ADJTIMED = @MAKE_ADJTIMED@
|
||||
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
|
||||
MAKE_LIBPARSE = @MAKE_LIBPARSE@
|
||||
@ -95,6 +91,7 @@ MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
|
||||
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
|
||||
MAKE_TICKADJ = @MAKE_TICKADJ@
|
||||
MAKE_TIMETRIM = @MAKE_TIMETRIM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENSSL = @OPENSSL@
|
||||
OPENSSL_INC = @OPENSSL_INC@
|
||||
OPENSSL_LIB = @OPENSSL_LIB@
|
||||
@ -107,16 +104,13 @@ RSADIR = @RSADIR@
|
||||
RSAOBJS = @RSAOBJS@
|
||||
RSAREF = @RSAREF@
|
||||
RSASRCS = @RSASRCS@
|
||||
STRIP = @STRIP@
|
||||
TESTDCF = @TESTDCF@
|
||||
U = @U@
|
||||
VERSION = @VERSION@
|
||||
_am_include = @_am_include@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = ansi2knr
|
||||
bin_PROGRAMS = @MAKE_NTPTIME@ @MAKE_TICKADJ@ @MAKE_TIMETRIM@ ntp-genkeys
|
||||
EXTRA_PROGRAMS = byteorder hist jitter kern longsize ntptime \
|
||||
@ -132,110 +126,107 @@ LDADD = ../libntp/libntp.a
|
||||
#EXTRA_DIST = README TAGS
|
||||
EXTRA_DIST =
|
||||
ETAGS_ARGS = Makefile.am
|
||||
EXEEXT =
|
||||
OBJEXT = o
|
||||
subdir = util
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
EXTRA_PROGRAMS = byteorder$(EXEEXT) hist$(EXEEXT) jitter$(EXEEXT) \
|
||||
kern$(EXEEXT) longsize$(EXEEXT) ntptime$(EXEEXT) precision$(EXEEXT) \
|
||||
sht$(EXEEXT) testrs6000$(EXEEXT) tickadj$(EXEEXT) timetrim$(EXEEXT)
|
||||
kern$(EXEEXT) longsize$(EXEEXT) ntptime$(EXEEXT) \
|
||||
precision$(EXEEXT) sht$(EXEEXT) testrs6000$(EXEEXT) \
|
||||
tickadj$(EXEEXT) timetrim$(EXEEXT)
|
||||
bin_PROGRAMS = @MAKE_NTPTIME@ @MAKE_TICKADJ@ @MAKE_TIMETRIM@ \
|
||||
ntp-genkeys$(EXEEXT)
|
||||
ntp-genkeys$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LIBS = @LIBS@
|
||||
ANSI2KNR = @ANSI2KNR@
|
||||
byteorder_SOURCES = byteorder.c
|
||||
byteorder_OBJECTS = byteorder$U.$(OBJEXT)
|
||||
byteorder_LDADD = $(LDADD)
|
||||
byteorder_DEPENDENCIES = ../libntp/libntp.a
|
||||
byteorder_LDFLAGS =
|
||||
byteorder_LDFLAGS =
|
||||
hist_SOURCES = hist.c
|
||||
hist_OBJECTS = hist$U.$(OBJEXT)
|
||||
hist_LDADD = $(LDADD)
|
||||
hist_DEPENDENCIES = ../libntp/libntp.a
|
||||
hist_LDFLAGS =
|
||||
hist_LDFLAGS =
|
||||
jitter_SOURCES = jitter.c
|
||||
jitter_OBJECTS = jitter$U.$(OBJEXT)
|
||||
jitter_LDADD = $(LDADD)
|
||||
jitter_DEPENDENCIES = ../libntp/libntp.a
|
||||
jitter_LDFLAGS =
|
||||
jitter_LDFLAGS =
|
||||
kern_SOURCES = kern.c
|
||||
kern_OBJECTS = kern$U.$(OBJEXT)
|
||||
kern_LDADD = $(LDADD)
|
||||
kern_DEPENDENCIES = ../libntp/libntp.a
|
||||
kern_LDFLAGS =
|
||||
kern_LDFLAGS =
|
||||
longsize_SOURCES = longsize.c
|
||||
longsize_OBJECTS = longsize$U.$(OBJEXT)
|
||||
longsize_LDADD = $(LDADD)
|
||||
longsize_DEPENDENCIES = ../libntp/libntp.a
|
||||
longsize_LDFLAGS =
|
||||
longsize_LDFLAGS =
|
||||
ntp_genkeys_SOURCES = ntp-genkeys.c
|
||||
ntp_genkeys_OBJECTS = ntp-genkeys$U.$(OBJEXT)
|
||||
ntp_genkeys_LDFLAGS =
|
||||
ntp_genkeys_LDFLAGS =
|
||||
ntptime_SOURCES = ntptime.c
|
||||
ntptime_OBJECTS = ntptime$U.$(OBJEXT)
|
||||
ntptime_LDADD = $(LDADD)
|
||||
ntptime_DEPENDENCIES = ../libntp/libntp.a
|
||||
ntptime_LDFLAGS =
|
||||
ntptime_LDFLAGS =
|
||||
precision_SOURCES = precision.c
|
||||
precision_OBJECTS = precision$U.$(OBJEXT)
|
||||
precision_LDADD = $(LDADD)
|
||||
precision_DEPENDENCIES = ../libntp/libntp.a
|
||||
precision_LDFLAGS =
|
||||
precision_LDFLAGS =
|
||||
sht_SOURCES = sht.c
|
||||
sht_OBJECTS = sht$U.$(OBJEXT)
|
||||
sht_LDADD = $(LDADD)
|
||||
sht_DEPENDENCIES = ../libntp/libntp.a
|
||||
sht_LDFLAGS =
|
||||
sht_LDFLAGS =
|
||||
testrs6000_SOURCES = testrs6000.c
|
||||
testrs6000_OBJECTS = testrs6000$U.$(OBJEXT)
|
||||
testrs6000_LDADD = $(LDADD)
|
||||
testrs6000_DEPENDENCIES = ../libntp/libntp.a
|
||||
testrs6000_LDFLAGS =
|
||||
testrs6000_LDFLAGS =
|
||||
tickadj_SOURCES = tickadj.c
|
||||
tickadj_OBJECTS = tickadj$U.$(OBJEXT)
|
||||
tickadj_LDADD = $(LDADD)
|
||||
tickadj_DEPENDENCIES = ../libntp/libntp.a
|
||||
tickadj_LDFLAGS =
|
||||
tickadj_LDFLAGS =
|
||||
timetrim_SOURCES = timetrim.c
|
||||
timetrim_OBJECTS = timetrim$U.$(OBJEXT)
|
||||
timetrim_LDADD = $(LDADD)
|
||||
timetrim_DEPENDENCIES = ../libntp/libntp.a
|
||||
timetrim_LDFLAGS =
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
timetrim_LDFLAGS =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/byteorder$U.Po $(DEPDIR)/hist$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/jitter$U.Po $(DEPDIR)/kern$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/longsize$U.Po $(DEPDIR)/ntp-genkeys$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/ntptime$U.Po $(DEPDIR)/precision$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/sht$U.Po $(DEPDIR)/testrs6000$U.Po \
|
||||
@AMDEP_TRUE@ $(DEPDIR)/tickadj$U.Po $(DEPDIR)/timetrim$U.Po
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = byteorder.c hist.c jitter.c kern.c longsize.c \
|
||||
ntp-genkeys.c ntptime.c precision.c sht.c testrs6000.c tickadj.c \
|
||||
timetrim.c
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
@AMDEP@DEP_FILES = $(DEPDIR)/byteorder$U.Po $(DEPDIR)/hist$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/jitter$U.Po $(DEPDIR)/kern$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/longsize$U.Po $(DEPDIR)/ntp-genkeys$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/ntptime$U.Po $(DEPDIR)/precision$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/sht$U.Po $(DEPDIR)/testrs6000$U.Po \
|
||||
@AMDEP@ $(DEPDIR)/tickadj$U.Po $(DEPDIR)/timetrim$U.Po
|
||||
ntp-genkeys.c ntptime.c precision.c sht.c testrs6000.c \
|
||||
tickadj.c timetrim.c
|
||||
DIST_COMMON = README Makefile.am Makefile.in ansi2knr.1 ansi2knr.c
|
||||
|
||||
SOURCES = byteorder.c hist.c jitter.c kern.c longsize.c ntp-genkeys.c ntptime.c precision.c sht.c testrs6000.c tickadj.c timetrim.c
|
||||
OBJECTS = byteorder$U.$(OBJEXT) hist$U.$(OBJEXT) jitter$U.$(OBJEXT) kern$U.$(OBJEXT) longsize$U.$(OBJEXT) ntp-genkeys$U.$(OBJEXT) ntptime$U.$(OBJEXT) precision$U.$(OBJEXT) sht$U.$(OBJEXT) testrs6000$U.$(OBJEXT) tickadj$U.$(OBJEXT) timetrim$U.$(OBJEXT)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu util/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
@ -243,8 +234,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
@ -260,6 +253,42 @@ uninstall-binPROGRAMS:
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
byteorder$(EXEEXT): $(byteorder_OBJECTS) $(byteorder_DEPENDENCIES)
|
||||
@rm -f byteorder$(EXEEXT)
|
||||
$(LINK) $(byteorder_LDFLAGS) $(byteorder_OBJECTS) $(byteorder_LDADD) $(LIBS)
|
||||
hist$(EXEEXT): $(hist_OBJECTS) $(hist_DEPENDENCIES)
|
||||
@rm -f hist$(EXEEXT)
|
||||
$(LINK) $(hist_LDFLAGS) $(hist_OBJECTS) $(hist_LDADD) $(LIBS)
|
||||
jitter$(EXEEXT): $(jitter_OBJECTS) $(jitter_DEPENDENCIES)
|
||||
@rm -f jitter$(EXEEXT)
|
||||
$(LINK) $(jitter_LDFLAGS) $(jitter_OBJECTS) $(jitter_LDADD) $(LIBS)
|
||||
kern$(EXEEXT): $(kern_OBJECTS) $(kern_DEPENDENCIES)
|
||||
@rm -f kern$(EXEEXT)
|
||||
$(LINK) $(kern_LDFLAGS) $(kern_OBJECTS) $(kern_LDADD) $(LIBS)
|
||||
longsize$(EXEEXT): $(longsize_OBJECTS) $(longsize_DEPENDENCIES)
|
||||
@rm -f longsize$(EXEEXT)
|
||||
$(LINK) $(longsize_LDFLAGS) $(longsize_OBJECTS) $(longsize_LDADD) $(LIBS)
|
||||
ntp-genkeys$(EXEEXT): $(ntp_genkeys_OBJECTS) $(ntp_genkeys_DEPENDENCIES)
|
||||
@rm -f ntp-genkeys$(EXEEXT)
|
||||
$(LINK) $(ntp_genkeys_LDFLAGS) $(ntp_genkeys_OBJECTS) $(ntp_genkeys_LDADD) $(LIBS)
|
||||
ntptime$(EXEEXT): $(ntptime_OBJECTS) $(ntptime_DEPENDENCIES)
|
||||
@rm -f ntptime$(EXEEXT)
|
||||
$(LINK) $(ntptime_LDFLAGS) $(ntptime_OBJECTS) $(ntptime_LDADD) $(LIBS)
|
||||
precision$(EXEEXT): $(precision_OBJECTS) $(precision_DEPENDENCIES)
|
||||
@rm -f precision$(EXEEXT)
|
||||
$(LINK) $(precision_LDFLAGS) $(precision_OBJECTS) $(precision_LDADD) $(LIBS)
|
||||
sht$(EXEEXT): $(sht_OBJECTS) $(sht_DEPENDENCIES)
|
||||
@rm -f sht$(EXEEXT)
|
||||
$(LINK) $(sht_LDFLAGS) $(sht_OBJECTS) $(sht_LDADD) $(LIBS)
|
||||
testrs6000$(EXEEXT): $(testrs6000_OBJECTS) $(testrs6000_DEPENDENCIES)
|
||||
@rm -f testrs6000$(EXEEXT)
|
||||
$(LINK) $(testrs6000_LDFLAGS) $(testrs6000_OBJECTS) $(testrs6000_LDADD) $(LIBS)
|
||||
tickadj$(EXEEXT): $(tickadj_OBJECTS) $(tickadj_DEPENDENCIES)
|
||||
@rm -f tickadj$(EXEEXT)
|
||||
$(LINK) $(tickadj_LDFLAGS) $(tickadj_OBJECTS) $(tickadj_LDADD) $(LIBS)
|
||||
timetrim$(EXEEXT): $(timetrim_OBJECTS) $(timetrim_DEPENDENCIES)
|
||||
@rm -f timetrim$(EXEEXT)
|
||||
$(LINK) $(timetrim_LDFLAGS) $(timetrim_OBJECTS) $(timetrim_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
@ -267,91 +296,74 @@ mostlyclean-compile:
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
clean-krextra:
|
||||
-rm -f ansi2knr
|
||||
ANSI2KNR = @ANSI2KNR@
|
||||
ansi2knr: ansi2knr.$(OBJEXT)
|
||||
$(LINK) ansi2knr.$(OBJEXT) $(LIBS)
|
||||
ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
|
||||
|
||||
clean-krextra:
|
||||
-rm -f ansi2knr
|
||||
|
||||
mostlyclean-kr:
|
||||
-rm -f *_.c
|
||||
|
||||
byteorder: $(byteorder_OBJECTS) $(byteorder_DEPENDENCIES)
|
||||
@rm -f byteorder
|
||||
$(LINK) $(byteorder_LDFLAGS) $(byteorder_OBJECTS) $(byteorder_LDADD) $(LIBS)
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/byteorder$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/hist$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/jitter$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kern$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/longsize$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntp-genkeys$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ntptime$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/precision$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/sht$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/testrs6000$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tickadj$U.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/timetrim$U.Po@am__quote@
|
||||
|
||||
hist: $(hist_OBJECTS) $(hist_DEPENDENCIES)
|
||||
@rm -f hist
|
||||
$(LINK) $(hist_LDFLAGS) $(hist_OBJECTS) $(hist_LDADD) $(LIBS)
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
jitter: $(jitter_OBJECTS) $(jitter_DEPENDENCIES)
|
||||
@rm -f jitter
|
||||
$(LINK) $(jitter_LDFLAGS) $(jitter_OBJECTS) $(jitter_LDADD) $(LIBS)
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
kern: $(kern_OBJECTS) $(kern_DEPENDENCIES)
|
||||
@rm -f kern
|
||||
$(LINK) $(kern_LDFLAGS) $(kern_OBJECTS) $(kern_LDADD) $(LIBS)
|
||||
|
||||
longsize: $(longsize_OBJECTS) $(longsize_DEPENDENCIES)
|
||||
@rm -f longsize
|
||||
$(LINK) $(longsize_LDFLAGS) $(longsize_OBJECTS) $(longsize_LDADD) $(LIBS)
|
||||
|
||||
ntp-genkeys: $(ntp_genkeys_OBJECTS) $(ntp_genkeys_DEPENDENCIES)
|
||||
@rm -f ntp-genkeys
|
||||
$(LINK) $(ntp_genkeys_LDFLAGS) $(ntp_genkeys_OBJECTS) $(ntp_genkeys_LDADD) $(LIBS)
|
||||
|
||||
ntptime: $(ntptime_OBJECTS) $(ntptime_DEPENDENCIES)
|
||||
@rm -f ntptime
|
||||
$(LINK) $(ntptime_LDFLAGS) $(ntptime_OBJECTS) $(ntptime_LDADD) $(LIBS)
|
||||
|
||||
precision: $(precision_OBJECTS) $(precision_DEPENDENCIES)
|
||||
@rm -f precision
|
||||
$(LINK) $(precision_LDFLAGS) $(precision_OBJECTS) $(precision_LDADD) $(LIBS)
|
||||
|
||||
sht: $(sht_OBJECTS) $(sht_DEPENDENCIES)
|
||||
@rm -f sht
|
||||
$(LINK) $(sht_LDFLAGS) $(sht_OBJECTS) $(sht_LDADD) $(LIBS)
|
||||
|
||||
testrs6000: $(testrs6000_OBJECTS) $(testrs6000_DEPENDENCIES)
|
||||
@rm -f testrs6000
|
||||
$(LINK) $(testrs6000_LDFLAGS) $(testrs6000_OBJECTS) $(testrs6000_LDADD) $(LIBS)
|
||||
|
||||
tickadj: $(tickadj_OBJECTS) $(tickadj_DEPENDENCIES)
|
||||
@rm -f tickadj
|
||||
$(LINK) $(tickadj_LDFLAGS) $(tickadj_OBJECTS) $(tickadj_LDADD) $(LIBS)
|
||||
|
||||
timetrim: $(timetrim_OBJECTS) $(timetrim_DEPENDENCIES)
|
||||
@rm -f timetrim
|
||||
$(LINK) $(timetrim_LDFLAGS) $(timetrim_OBJECTS) $(timetrim_LDADD) $(LIBS)
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
byteorder_.c: byteorder.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/byteorder.c; then echo $(srcdir)/byteorder.c; else echo byteorder.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > byteorder_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/byteorder.c; then echo $(srcdir)/byteorder.c; else echo byteorder.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > byteorder_.c || rm -f byteorder_.c
|
||||
hist_.c: hist.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hist.c; then echo $(srcdir)/hist.c; else echo hist.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hist_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hist.c; then echo $(srcdir)/hist.c; else echo hist.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hist_.c || rm -f hist_.c
|
||||
jitter_.c: jitter.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jitter.c; then echo $(srcdir)/jitter.c; else echo jitter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jitter_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jitter.c; then echo $(srcdir)/jitter.c; else echo jitter.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jitter_.c || rm -f jitter_.c
|
||||
kern_.c: kern.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kern.c; then echo $(srcdir)/kern.c; else echo kern.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kern_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kern.c; then echo $(srcdir)/kern.c; else echo kern.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kern_.c || rm -f kern_.c
|
||||
longsize_.c: longsize.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/longsize.c; then echo $(srcdir)/longsize.c; else echo longsize.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > longsize_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/longsize.c; then echo $(srcdir)/longsize.c; else echo longsize.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > longsize_.c || rm -f longsize_.c
|
||||
ntp-genkeys_.c: ntp-genkeys.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp-genkeys.c; then echo $(srcdir)/ntp-genkeys.c; else echo ntp-genkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp-genkeys_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntp-genkeys.c; then echo $(srcdir)/ntp-genkeys.c; else echo ntp-genkeys.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntp-genkeys_.c || rm -f ntp-genkeys_.c
|
||||
ntptime_.c: ntptime.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptime.c; then echo $(srcdir)/ntptime.c; else echo ntptime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptime_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptime.c; then echo $(srcdir)/ntptime.c; else echo ntptime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptime_.c || rm -f ntptime_.c
|
||||
precision_.c: precision.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/precision.c; then echo $(srcdir)/precision.c; else echo precision.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > precision_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/precision.c; then echo $(srcdir)/precision.c; else echo precision.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > precision_.c || rm -f precision_.c
|
||||
sht_.c: sht.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sht.c; then echo $(srcdir)/sht.c; else echo sht.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sht_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sht.c; then echo $(srcdir)/sht.c; else echo sht.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sht_.c || rm -f sht_.c
|
||||
testrs6000_.c: testrs6000.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/testrs6000.c; then echo $(srcdir)/testrs6000.c; else echo testrs6000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > testrs6000_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/testrs6000.c; then echo $(srcdir)/testrs6000.c; else echo testrs6000.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > testrs6000_.c || rm -f testrs6000_.c
|
||||
tickadj_.c: tickadj.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tickadj.c; then echo $(srcdir)/tickadj.c; else echo tickadj.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tickadj_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tickadj.c; then echo $(srcdir)/tickadj.c; else echo tickadj.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tickadj_.c || rm -f tickadj_.c
|
||||
timetrim_.c: timetrim.c $(ANSI2KNR)
|
||||
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/timetrim.c; then echo $(srcdir)/timetrim.c; else echo timetrim.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > timetrim_.c
|
||||
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/timetrim.c; then echo $(srcdir)/timetrim.c; else echo timetrim.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > timetrim_.c || rm -f timetrim_.c
|
||||
byteorder_.$(OBJEXT) hist_.$(OBJEXT) jitter_.$(OBJEXT) kern_.$(OBJEXT) \
|
||||
longsize_.$(OBJEXT) ntp-genkeys_.$(OBJEXT) ntptime_.$(OBJEXT) \
|
||||
precision_.$(OBJEXT) sht_.$(OBJEXT) testrs6000_.$(OBJEXT) \
|
||||
tickadj_.$(OBJEXT) timetrim_.$(OBJEXT) : $(ANSI2KNR)
|
||||
uninstall-info-am:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
@ -364,7 +376,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
@ -380,41 +392,10 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $$here
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/byteorder$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/hist$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/jitter$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/kern$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/longsize$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntp-genkeys$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/ntptime$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/precision$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/sht$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/testrs6000$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/tickadj$U.Po
|
||||
@AMDEP@@_am_include@ $(DEPDIR)/timetrim$U.Po
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf $(DEPDIR)
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c -o $@ `cygpath -w $<`
|
||||
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
@ -423,7 +404,11 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
@ -449,23 +434,20 @@ install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
||||
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f Makefile.in
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-krextra mostlyclean-am
|
||||
@ -475,11 +457,11 @@ distclean: distclean-am
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags
|
||||
|
||||
dvi:
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info:
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
@ -487,7 +469,7 @@ install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info:
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
@ -501,18 +483,18 @@ mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-binPROGRAMS clean-generic \
|
||||
clean-krextra distclean distclean-compile distclean-depend \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-man install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS
|
||||
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic clean-krextra distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-tags distdir dvi \
|
||||
dvi-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-exec install-exec-am \
|
||||
install-info install-info-am install-man install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
|
||||
../libntp/libntp.a:
|
||||
@ -520,7 +502,6 @@ uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
kern.o: kern.c
|
||||
$(COMPILE) -DHAVE_TIMEX_H -c kern.c
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Copyright (C) 1989, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved. */
|
||||
|
||||
/*$Id: ansi2knr.c,v 1.2 1999/08/18 23:33:56 stenn Exp $*/
|
||||
/*$Id$*/
|
||||
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
|
||||
|
||||
/*
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <netinfo/ni.h>
|
||||
#endif
|
||||
|
||||
#include "ntp_machine.h"
|
||||
#include "ntpd.h"
|
||||
#include "ntp_stdlib.h"
|
||||
#include "ntp_string.h"
|
||||
@ -18,6 +19,10 @@
|
||||
#include "ntp_config.h"
|
||||
#include "ntp_cmdargs.h"
|
||||
|
||||
#ifndef GETTIMEOFDAY
|
||||
# define GETTIMEOFDAY gettimeofday
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h> /* PATH_MAX */
|
||||
@ -27,6 +32,8 @@
|
||||
# include "ntp_crypto.h"
|
||||
#endif
|
||||
|
||||
#include "l_stdlib.h"
|
||||
|
||||
#ifndef PATH_MAX
|
||||
# ifdef _POSIX_PATH_MAX
|
||||
# define PATH_MAX _POSIX_PATH_MAX
|
||||
@ -164,7 +171,6 @@ char *f3_dhparms;
|
||||
u_long sys_automax; /* maximum session key lifetime */
|
||||
int sys_bclient; /* we set our time to broadcasts */
|
||||
int sys_manycastserver; /* 1 => respond to manycast client pkts */
|
||||
u_long client_limit_period;
|
||||
char * req_file; /* name of the file with configuration info */
|
||||
keyid_t ctl_auth_keyid; /* keyid used for authenticating write requests */
|
||||
struct interface *any_interface; /* default interface */
|
||||
@ -752,7 +758,7 @@ main(
|
||||
char pathbuf[PATH_MAX];
|
||||
|
||||
gethostname(hostname, sizeof(hostname));
|
||||
gettimeofday(&tv, 0);
|
||||
GETTIMEOFDAY(&tv, 0);
|
||||
ntptime = tv.tv_sec + JAN_1970;
|
||||
|
||||
/* Initialize config_file */
|
||||
@ -886,13 +892,13 @@ main(
|
||||
printf("Generating MD5 key file...\n");
|
||||
str = newfile(f1_keys, f2_keys, sec_mask, f3_keys);
|
||||
if (!memorex) {
|
||||
srandom((u_int)tv.tv_usec);
|
||||
SRANDOM((u_int)tv.tv_usec);
|
||||
fprintf(str, "# MD5 key file %s\n# %s", f2_keys,
|
||||
ctime((const time_t *) &tv.tv_sec));
|
||||
for (i = 1; i <= 16; i++) {
|
||||
for (j = 0; j < 16; j++) {
|
||||
while (1) {
|
||||
temp = random() & 0xff;
|
||||
temp = RANDOM & 0xff;
|
||||
/*
|
||||
** Harlan says Karnaugh maps
|
||||
** are not his friend, and
|
||||
@ -929,7 +935,7 @@ main(
|
||||
R_RandomInit(&randomstr);
|
||||
R_GetRandomBytesNeeded(&len, &randomstr);
|
||||
for (i = 0; i < len; i++) {
|
||||
temp = random();
|
||||
temp = RANDOM;
|
||||
R_RandomUpdate(&randomstr, (u_char *)&temp, 1);
|
||||
}
|
||||
rval = R_GeneratePEMKeys(&rsaref_public,
|
||||
@ -998,7 +1004,7 @@ main(
|
||||
R_RandomInit(&randomstr);
|
||||
R_GetRandomBytesNeeded(&len, &randomstr);
|
||||
for (i = 0; i < len; i++) {
|
||||
temp = random();
|
||||
temp = RANDOM;
|
||||
R_RandomUpdate(&randomstr, (u_char *)&temp, 1);
|
||||
}
|
||||
|
||||
|
1
contrib/ntp/version
Normal file
1
contrib/ntp/version
Normal file
@ -0,0 +1 @@
|
||||
1.791
|
Loading…
Reference in New Issue
Block a user