Module Name: src
Committed By: kardel
Date: Sun Dec 13 17:13:49 UTC 2009
Added Files:
src/external/bsd/ntp: Makefile Makefile.inc importdate ntp2netbsd
src/external/bsd/ntp/bin: Makefile Makefile.inc
src/external/bsd/ntp/bin/ntp-keygen: Makefile
src/external/bsd/ntp/bin/ntpd: Makefile
src/external/bsd/ntp/bin/ntpdate: Makefile
src/external/bsd/ntp/bin/ntpdc: Makefile
src/external/bsd/ntp/bin/ntpq: Makefile
src/external/bsd/ntp/bin/ntptime: Makefile
src/external/bsd/ntp/include: config.h
src/external/bsd/ntp/lib: Makefile Makefile.inc
src/external/bsd/ntp/lib/libiscntp: Makefile
src/external/bsd/ntp/lib/libntp: Makefile
src/external/bsd/ntp/lib/libopts: Makefile
src/external/bsd/ntp/lib/libparse: Makefile
src/external/bsd/ntp/scripts: mkver
Log Message:
initial version of reachover make- and support-files
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/Makefile \
src/external/bsd/ntp/Makefile.inc src/external/bsd/ntp/importdate \
src/external/bsd/ntp/ntp2netbsd
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/Makefile \
src/external/bsd/ntp/bin/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntp-keygen/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntpd/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntpdate/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntpdc/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntpq/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/bin/ntptime/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/include/config.h
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/lib/Makefile \
src/external/bsd/ntp/lib/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/lib/libiscntp/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/lib/libntp/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/lib/libopts/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/lib/libparse/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/ntp/scripts/mkver
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/external/bsd/ntp/Makefile
diff -u /dev/null src/external/bsd/ntp/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/Makefile Sun Dec 13 17:13:49 2009
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:49 kardel Exp $
+
+SUBDIR+= lib .WAIT bin
+
+.include <bsd.subdir.mk>
Index: src/external/bsd/ntp/Makefile.inc
diff -u /dev/null src/external/bsd/ntp/Makefile.inc:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/Makefile.inc Sun Dec 13 17:13:48 2009
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile.inc,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+.if !defined(NTP_MAKEFILE_INC)
+NTP_MAKEFILE_INC=yes
+
+USE_FORT?= yes # network client/server
+
+WARNS?= 0
+
+.include <bsd.own.mk>
+
+.if ${MKCRYPTO} == "no"
+NTP_USE_OPENSSL?=no
+.endif
+
+IDIST= ${NETBSDSRCDIR}/external/bsd/ntp/dist
+NTP_SRCDIR= ${NETBSDSRCDIR}/external/bsd/ntp
+NTP_HTMLDIR= /usr/share/doc/html/ntp
+
+SYSCONFDIR=/etc
+LOCALSTATEDIR=/var
+
+CPPFLAGS+=-DHAVE_CONFIG_H
+CPPFLAGS+=-I${NTP_SRCDIR}/include \
+ -I${IDIST}/include \
+ -I${IDIST}/lib/isc/include \
+ -I${IDIST}/lib/isc/unix/include \
+ -I${IDIST}/lib/isc/nothreads/include
+
+.if defined(PROG)
+LIBNTP!= cd ${.CURDIR}/../../lib/libntp && ${PRINTOBJDIR}
+LIBISC!= cd ${.CURDIR}/../../lib/libiscntp && ${PRINTOBJDIR}
+LIBOPTS!= cd ${.CURDIR}/../../lib/libopts && ${PRINTOBJDIR}
+LIBPARSE!= cd ${.CURDIR}/../../lib/libparse && ${PRINTOBJDIR}
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBOPTS} -lopts
+DPADD+= ${LIBNTP}/libntp.a ${LIBOPTS}/libopts.a
+
+.if (${MKCRYPTO} != "no")
+LDADD+= -lcrypto -lcrypt
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
+.endif
+
+SRCS+= version.c
+
+CLEANFILES+=version.c version.o
+version.c: ${LIBNTP}/libntp.a ${.CURDIR}/../../scripts/mkver ${.CURDIR}/../../importdate
+ ${_MKTARGET_CREATE}
+ ${HOST_SH} ${.CURDIR}/../../scripts/mkver ${PROG} > /dev/null
+
+.endif # defined(PROG)
+
+.if exists(${.CURDIR}/../../Makefile.inc)
+.include "${.CURDIR}/../../Makefile.inc"
+.endif
+
+.endif
\ No newline at end of file
Index: src/external/bsd/ntp/importdate
diff -u /dev/null src/external/bsd/ntp/importdate:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/importdate Sun Dec 13 17:13:48 2009
@@ -0,0 +1 @@
+Sun Dec 13 14:48:32 UTC 2009 (import)
Index: src/external/bsd/ntp/ntp2netbsd
diff -u /dev/null src/external/bsd/ntp/ntp2netbsd:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/ntp2netbsd Sun Dec 13 17:13:48 2009
@@ -0,0 +1,139 @@
+#! /bin/sh
+#
+# $NetBSD: ntp2netbsd,v 1.1 2009/12/13 17:13:48 kardel Exp $
+#
+# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 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.
+#
+# ntp2netbsd: convert a ntp source tree into a
+# netbsd ntp source tree, under src/dist,
+# based on bind2netbsd by Bernd Ernesti
+#
+# Rough instructions for importing new NTP release:
+#
+# $ cd /some/where/temporary
+# $ tar xpfz /new/ntp/release/tar/file
+# $ sh /usr/src/external/bsd/ntp/ntp2netbsd ntp-4.x.y `pwd`
+# $ cd src/externaä/bsd/ntp/dist
+# $ cvs import -m "Import ntp 4.x.y" src/dist/ntp UDEL ntp-4-x-y
+# $ cd ../../../../../ntp-4.x.y
+# $ run ./configure --enable-all-clocks --enable-parse-clocks
+# $ echo cp config.h /usr/src/external/bsd/ntp/include
+# - not really - we have some changed defaults and the vax port has no ieee.h support.
+# so do a careful diff and patch - Frank Kardel
+# $ echo cp scripts/mkver /usr/src/external/bsd/ntp/scripts
+# merge possible changes to mkver
+# our version uses the import date in the file
+# /usr/src/external/bsd/ntp/importdate for the date and buildnumber information
+# to achieve consistent version string over all builds
+# $ cd ..
+# $ rm -r src ntp-4.x.y
+# $ cd /usr/src/external/bsd/ntp
+# $ cvs update
+# $ cvs commit -m "Updated autoconf generated files for ntp 4.x.y."
+#
+# - check makefiles to see if any extra sources have been added,
+# esp. libntp and ntpd.
+# - check for and remove img tags in html docs.
+# - update distrib/sets if necessary.
+# - update src/external/bsd/ntp/importdate to match the date of this import
+#
+if [ $# -ne 2 ]; then echo "ntp2netbsd src dest"; exit 1; fi
+
+r=$1
+d=$2/src/external/bsd/ntp/dist
+
+case "$d" in
+ /*)
+ ;;
+ *)
+ d=`/bin/pwd`/$d
+ ;;
+esac
+
+case "$r" in
+ /*)
+ ;;
+ *)
+ r=`/bin/pwd`/$r
+ ;;
+esac
+
+echo preparing directory $d
+rm -rf $d
+mkdir -p $d
+
+### Copy the files and directories
+echo copying $r to $d
+cd $r
+pax -rw * $d
+
+echo removing unneeded directories and files
+
+### Remove unneeded directories
+cd $d
+rm -r ports html/pic
+
+### Remove .cvsignore
+find $d -name '.cvsignore*' -exec rm {} \;
+
+### Remove the $'s around RCS tags
+find $d -type f -print | xargs egrep -l '\$(Id|Created|Header)' | while read f; do
+ sed -e 's/\$\(Id.*\) \$/\1/' \
+ -e 's/\$\(Created.*\) \$/\1/' \
+ -e 's/\$\(Header.*\) \$/\1/' \
+ < $f > /tmp/ntp1f$$ && mv /tmp/ntp1f$$ $f && \
+ echo removed \$RCS tag from $f
+done
+
+### Add our NetBSD RCS Id
+find $d -name '*.[chly]' -print | while read c; do
+ sed 1q < $c | grep -q '\$NetBSD' || (
+echo "/* \$NetBSD\$ */" >/tmp/ntp3n$$
+echo "" >>/tmp/ntp3n$$
+cat $c >> /tmp/ntp3n$$
+mv /tmp/ntp3n$$ $c && echo added NetBSD RCS tag to $c
+ )
+done
+
+echo done
+
+### Clean up any CVS directories that might be around.
+echo "cleaning up CVS residue."
+(
+ cd $d
+ find . -type d -name "CVS" -print | xargs rm -r
+)
+echo done
+
+### Fixing file and directory permissions.
+echo "Fixing file/directory permissions."
+(
+ cd $d
+ find . -type f -print | xargs chmod u+rw,go+r
+ find . -type d -print | xargs chmod u+rwx,go+rx
+)
+echo done
+
+exit 0
Index: src/external/bsd/ntp/bin/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+SUBDIR= ntp-keygen ntpd ntpdate ntpdc ntpq ntptime
+
+.if ("${MKCRYPTO}" != "no")
+SUBDIR+= ntp-keygen
+CPPFLAGS+=-DOPENSSL
+.endif
+
+.include "Makefile.inc"
+
+.include <bsd.subdir.mk>
Index: src/external/bsd/ntp/bin/Makefile.inc
diff -u /dev/null src/external/bsd/ntp/bin/Makefile.inc:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/Makefile.inc Sun Dec 13 17:13:48 2009
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile.inc,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+.include "../Makefile.inc"
+
+WARNS?= 2
Index: src/external/bsd/ntp/bin/ntp-keygen/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntp-keygen/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+NOGCCERROR=yes
+
+.include <bsd.own.mk>
+
+
+PROG= ntp-keygen
+MAN=
+BINDIR= /usr/sbin
+
+SRCS= ntp-keygen-opts.c \
+ ntp-keygen.c
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm
+DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/util
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/bin/ntpd/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntpd/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntpd/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,89 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+NOGCCERROR=yes
+
+.include <bsd.own.mk>
+
+
+PROG= ntpd
+MAN=
+#MAN= named.8 lwresd.8 named.conf.5
+BINDIR= /usr/sbin
+
+SRCS= cmd_args.c \
+ ntp_config.c \
+ ntp_control.c \
+ ntp_crypto.c \
+ ntp_data_structures.c \
+ ntp_filegen.c \
+ ntp_intres.c \
+ ntp_io.c \
+ ntp_loopfilter.c \
+ ntp_monitor.c \
+ ntp_parser.c \
+ ntp_peer.c \
+ ntp_proto.c \
+ ntp_refclock.c \
+ ntp_request.c \
+ ntp_restrict.c \
+ ntp_scanner.c \
+ ntp_signd.c \
+ ntp_timer.c \
+ ntp_util.c \
+ ntpd-opts.c \
+ ntpd.c \
+ ntpsim.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_hopfpci.c \
+ refclock_hopfser.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_neoclock4x.c \
+ refclock_nmea.c \
+ refclock_oncore.c \
+ refclock_palisade.c \
+ refclock_parse.c \
+ refclock_pcf.c \
+ refclock_pst.c \
+ refclock_ripencc.c \
+ refclock_shm.c \
+ refclock_tpro.c \
+ refclock_trak.c \
+ refclock_true.c \
+ refclock_tt560.c \
+ refclock_ulink.c \
+ refclock_wwv.c \
+ refclock_wwvb.c \
+ refclock_zyfer.c
+
+LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil -ldns_sd
+DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/ntpd
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/bin/ntpdate/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntpdate/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntpdate/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+.include <bsd.own.mk>
+
+PROG= ntpdate
+MAN=
+BINDIR= /usr/sbin
+
+SRCS= ntpdate.c
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm
+DPADD+= ${LIBNTP}/libntp.a ${LIBISC}/libiscntp.a ${LIBM}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/ntpdate
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/bin/ntpdc/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntpdc/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntpdc/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+.include <bsd.own.mk>
+
+PROG= ntpdc
+MAN=
+BINDIR= /usr/sbin
+
+SRCS= ntpdc.c \
+ ntpdc_ops.c \
+ ntpdc-opts.c
+
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm -ledit
+DPADD+= ${LIBISC}/libiscntp.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} ${LIBEDIT}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/ntpdc
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/bin/ntpq/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntpq/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntpq/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+# NOGCCERROR=yes
+
+.include <bsd.own.mk>
+
+PROG= ntpq
+MAN=
+BINDIR= /usr/sbin
+
+SRCS= ntpq.c \
+ ntpq-subs.c \
+ ntpq-opts.c
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lm
+#DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/ntpq
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/bin/ntptime/Makefile
diff -u /dev/null src/external/bsd/ntp/bin/ntptime/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/bin/ntptime/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+NOGCCERROR=yes
+
+.include <bsd.own.mk>
+
+
+PROG= ntptime
+MAN=
+BINDIR= /usr/sbin
+
+SRCS= ntptime.c
+
+LDADD+= -L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm
+DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=${IDIST}/util
+
+CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
+
+.PATH: ${DIST}
+
+.include <bsd.prog.mk>
Index: src/external/bsd/ntp/include/config.h
diff -u /dev/null src/external/bsd/ntp/include/config.h:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/include/config.h Sun Dec 13 17:13:48 2009
@@ -0,0 +1,1412 @@
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* Is adjtime() accurate? */
+/* #undef ADJTIME_IS_ACCURATE */
+
+/* CHU audio/decoder? */
+#define AUDIO_CHU 1
+
+/* Declare char *sys_errlist array */
+/* #undef CHAR_SYS_ERRLIST */
+
+/* ACTS modem service */
+#define CLOCK_ACTS 1
+
+/* Arbiter 1088A/B GPS receiver */
+#define CLOCK_ARBITER 1
+
+/* ARCRON support? */
+#define CLOCK_ARCRON_MSF 1
+
+/* Austron 2200A/2201A GPS receiver? */
+#define CLOCK_AS2201 1
+
+/* PPS interface? */
+#define CLOCK_ATOM 1
+
+/* Datum/Bancomm bc635/VME interface? */
+/* #undef CLOCK_BANC */
+
+/* Chronolog K-series WWVB receiver? */
+#define CLOCK_CHRONOLOG 1
+
+/* CHU modem/decoder */
+#define CLOCK_CHU 1
+
+/* Diems Computime Radio Clock? */
+#define CLOCK_COMPUTIME 1
+
+/* Datum Programmable Time System? */
+#define CLOCK_DATUM 1
+
+/* ELV/DCF7000 clock? */
+#define CLOCK_DCF7000 1
+
+/* Dumb generic hh:mm:ss local clock? */
+#define CLOCK_DUMBCLOCK 1
+
+/* Forum Graphic GPS datating station driver? */
+#define CLOCK_FG 1
+
+/* TrueTime GPS receiver/VME interface? */
+/* #undef CLOCK_GPSVME */
+
+/* Heath GC-1000 WWV/WWVH receiver? */
+#define CLOCK_HEATH 1
+
+/* HOPF 6021 clock? */
+#define CLOCK_HOPF6021 1
+
+/* HOPF PCI clock device? */
+#define CLOCK_HOPF_PCI 1
+
+/* HOPF serial clock device? */
+#define CLOCK_HOPF_SERIAL 1
+
+/* HP 58503A GPS receiver? */
+#define CLOCK_HPGPS 1
+
+/* IRIG audio decoder? */
+#define CLOCK_IRIG 1
+
+/* JJY receiver? */
+#define CLOCK_JJY 1
+
+/* Rockwell Jupiter GPS clock? */
+#define CLOCK_JUPITER 1
+
+/* Leitch CSD 5300 Master Clock System Driver? */
+#define CLOCK_LEITCH 1
+
+/* local clock reference? */
+#define CLOCK_LOCAL 1
+
+/* Meinberg clocks */
+#define CLOCK_MEINBERG 1
+
+/* Magnavox MX4200 GPS receiver */
+/* #undef CLOCK_MX4200 */
+
+/* NeoClock4X */
+#define CLOCK_NEOCLOCK4X 1
+
+/* NMEA GPS receiver */
+#define CLOCK_NMEA 1
+
+/* Motorola UT Oncore GPS */
+#define CLOCK_ONCORE 1
+
+/* Palisade clock */
+#define CLOCK_PALISADE 1
+
+/* PARSE driver interface */
+#define CLOCK_PARSE 1
+
+/* Conrad parallel port radio clock */
+#define CLOCK_PCF 1
+
+/* PCL 720 clock support */
+/* #undef CLOCK_PPS720 */
+
+/* PST/Traconex 1020 WWV/WWVH receiver */
+#define CLOCK_PST 1
+
+/* DCF77 raw time code */
+#define CLOCK_RAWDCF 1
+
+/* RCC 8000 clock */
+#define CLOCK_RCC8000 1
+
+/* RIPE NCC Trimble clock */
+/* #undef CLOCK_RIPENCC */
+
+/* Schmid DCF77 clock */
+#define CLOCK_SCHMID 1
+
+/* clock thru shared memory */
+#define CLOCK_SHM 1
+
+/* Spectracom 8170/Netclock/2 WWVB receiver */
+#define CLOCK_SPECTRACOM 1
+
+/* KSI/Odetics TPRO/S GPS receiver/IRIG interface */
+/* #undef CLOCK_TPRO */
+
+/* Trimble GPS receiver/TAIP protocol */
+#define CLOCK_TRIMTAIP 1
+
+/* Trimble GPS receiver/TSIP protocol */
+#define CLOCK_TRIMTSIP 1
+
+/* Kinemetrics/TrueTime receivers */
+#define CLOCK_TRUETIME 1
+
+/* TrueTime 560 IRIG-B decoder? */
+/* #undef CLOCK_TT560 */
+
+/* Ultralink M320 WWVB receiver? */
+#define CLOCK_ULINK 1
+
+/* VARITEXT protocol */
+#define CLOCK_VARITEXT 1
+
+/* WHARTON 400A Series protocol */
+#define CLOCK_WHARTON_400A 1
+
+/* WWV audio driver */
+#define CLOCK_WWV 1
+
+/* Zyfer GPStarplus */
+#define CLOCK_ZYFER 1
+
+/* Enable ntpd debugging code? */
+#define DEBUG 1
+
+/* Enable processing time debugging? */
+/* #undef DEBUG_TIMING */
+
+/* Declaration style */
+/* #undef DECL_ADJTIME_0 */
+
+/* Declaration style */
+/* #undef DECL_BCOPY_0 */
+
+/* Declaration style */
+/* #undef DECL_BZERO_0 */
+
+/* Declaration style */
+/* #undef DECL_CFSETISPEED_0 */
+
+/* Declare errno? */
+/* #undef DECL_ERRNO */
+
+/* Declaration style */
+/* #undef DECL_HSTRERROR_0 */
+
+/* Declare h_errno? */
+#define DECL_H_ERRNO 1
+
+/* Declaration style */
+/* #undef DECL_INET_NTOA_0 */
+
+/* Declaration style */
+/* #undef DECL_IOCTL_0 */
+
+/* Declaration style */
+/* #undef DECL_IPC_0 */
+
+/* Declaration style */
+/* #undef DECL_MEMMOVE_0 */
+
+/* Declaration style */
+/* #undef DECL_MKSTEMP_0 */
+
+/* Declaration style */
+/* #undef DECL_MKTEMP_0 */
+
+/* Declaration style */
+/* #undef DECL_NLIST_0 */
+
+/* Declaration style */
+/* #undef DECL_PLOCK_0 */
+
+/* Declaration style */
+/* #undef DECL_RENAME_0 */
+
+/* Declaration style */
+/* #undef DECL_SELECT_0 */
+
+/* Declaration style */
+/* #undef DECL_SETITIMER_0 */
+
+/* Declaration style */
+/* #undef DECL_SETPRIORITY_0 */
+
+/* Declaration style */
+/* #undef DECL_SETPRIORITY_1 */
+
+/* Declaration style */
+/* #undef DECL_SIGVEC_0 */
+
+/* Declaration style */
+/* #undef DECL_STDIO_0 */
+
+/* Declaration style */
+/* #undef DECL_STIME_0 */
+
+/* Declaration style */
+/* #undef DECL_STIME_1 */
+
+/* Declaration style */
+/* #undef DECL_STRERROR_0 */
+
+/* Declaration style */
+/* #undef DECL_STRTOL_0 */
+
+/* Declare syscall()? */
+#define DECL_SYSCALL 1
+
+/* Declaration style */
+/* #undef DECL_SYSLOG_0 */
+
+/* Declaration style */
+/* #undef DECL_TIMEOFDAY_0 */
+
+/* Declaration style */
+/* #undef DECL_TIME_0 */
+
+/* Declaration style */
+/* #undef DECL_TOLOWER_0 */
+
+/* Declaration style */
+/* #undef DECL_TOUPPER_0 */
+
+/* What is the fallback value for HZ? */
+#define DEFAULT_HZ 100
+
+/* Directory separator character, usually / or \\ */
+#define DIR_SEP '/'
+
+/* use old autokey session key behavior? */
+/* #undef DISABLE_BUG1243_FIX */
+
+/* synch TODR hourly? */
+/* #undef DOSYNCTODR */
+
+/* The number of minutes in a DST adjustment */
+#define DSTMINUTES 60
+
+/* fopen(3) accepts a 'b' in the mode flag */
+#define FOPEN_BINARY_FLAG "b"
+
+/* fopen(3) accepts a 't' in the mode flag */
+#define FOPEN_TEXT_FLAG "t"
+
+/* Force deferred DNS lookups? */
+/* #undef FORCE_DEFER_DNS */
+
+/* force ntpdate to step the clock if !defined(STEP_SLEW) ? */
+/* #undef FORCE_NTPDATE_STEP */
+
+/* What is getsockname()'s socklen type? */
+#define GETSOCKNAME_SOCKLEN_TYPE socklen_t
+
+/* Do we have a routing socket (struct rt_msghdr)? */
+#define HAS_ROUTING_SOCKET 1
+
+/* Define to 1 if you have the <arpa/nameser.h> header file. */
+#define HAVE_ARPA_NAMESER_H 1
+
+/* Do we have audio support? */
+#define HAVE_AUDIO /**/
+
+/* Define to 1 if you have the <bstring.h> header file. */
+/* #undef HAVE_BSTRING_H */
+
+/* Define to 1 if you have the `canonicalize_file_name' function. */
+/* #undef HAVE_CANONICALIZE_FILE_NAME */
+
+/* Do we have the CIOGETEV ioctl (SunOS, Linux)? */
+/* #undef HAVE_CIOGETEV */
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#define HAVE_CLOCK_GETTIME 1
+
+/* Define to 1 if you have the `clock_settime' function. */
+#define HAVE_CLOCK_SETTIME 1
+
+/* Define to 1 if you have the `daemon' function. */
+#define HAVE_DAEMON 1
+
+/* Define this if /dev/zero is readable device */
+#define HAVE_DEV_ZERO 1
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+ */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Use Rendezvous/DNS-SD registration */
+#define HAVE_DNSREGISTRATION 1
+
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+/* #undef HAVE_DOPRNT */
+
+/* Can we drop root privileges? */
+#define HAVE_DROPROOT /**/
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the `finite' function. */
+#define HAVE_FINITE 1
+
+/* Define to 1 if you have the `fork' function. */
+#define HAVE_FORK 1
+
+/* Define to 1 if you have the `getbootfile' function. */
+/* #undef HAVE_GETBOOTFILE */
+
+/* Define to 1 if you have the `getclock' function. */
+/* #undef HAVE_GETCLOCK */
+
+/* Define to 1 if you have the `getdtablesize' function. */
+#define HAVE_GETDTABLESIZE 1
+
+/* Define to 1 if you have the `getifaddrs' function. */
+#define HAVE_GETIFADDRS 1
+
+/* Define to 1 if you have the `getpassphrase' function. */
+/* #undef HAVE_GETPASSPHRASE */
+
+/* Define to 1 if you have the `getrusage' function. */
+#define HAVE_GETRUSAGE 1
+
+/* Define to 1 if you have the `getuid' function. */
+#define HAVE_GETUID 1
+
+/* Define to 1 if you have the <histedit.h> header file. */
+#define HAVE_HISTEDIT_H 1
+
+/* Define to 1 if you have the <history.h> header file. */
+/* #undef HAVE_HISTORY_H */
+
+/* Define to 1 if you have the `hstrerror' function. */
+#define HAVE_HSTRERROR 1
+
+/* Obvious... */
+/* #undef HAVE_HZ_IN_STRUCT_CLOCKINFO */
+
+/* Define to 1 if you have the <ieeefp.h> header file. */
+#define HAVE_IEEEFP_H 1
+
+/* have iflist_sysctl? */
+#define HAVE_IFLIST_SYSCTL 1
+
+/* inline keyword or macro available */
+#define HAVE_INLINE 1
+
+/* Define to 1 if the system has the type `int16_t'. */
+#define HAVE_INT16_T 1
+
+/* Define to 1 if the system has the type `int32_t'. */
+#define HAVE_INT32_T 1
+
+/* Define to 1 if the system has the type `int8_t'. */
+#define HAVE_INT8_T 1
+
+/* Define to 1 if the system has the type `intptr_t'. */
+#define HAVE_INTPTR_T 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Do we have IPTOS support? */
+#define HAVE_IPTOS_SUPPORT 1
+
+/* Define to 1 if you have the `isfinite' function. */
+/* #undef HAVE_ISFINITE */
+
+/* Define to 1 if you have the <kvm.h> header file. */
+#define HAVE_KVM_H 1
+
+/* Define to 1 if you have the `kvm_open' function. */
+#define HAVE_KVM_OPEN 1
+
+/* Define to 1 if you have the `advapi32' library (-ladvapi32). */
+/* #undef HAVE_LIBADVAPI32 */
+
+/* Define to 1 if you have the `elf' library (-lelf). */
+/* #undef HAVE_LIBELF */
+
+/* Define to 1 if you have the `gen' library (-lgen). */
+/* #undef HAVE_LIBGEN */
+
+/* Define to 1 if you have the <libgen.h> header file. */
+#define HAVE_LIBGEN_H 1
+
+/* Define to 1 if you have the `kvm' library (-lkvm). */
+#define HAVE_LIBKVM 1
+
+/* Define to 1 if you have the `ld' library (-lld). */
+/* #undef HAVE_LIBLD */
+
+/* Define to 1 if you have the `mld' library (-lmld). */
+/* #undef HAVE_LIBMLD */
+
+/* Define to 1 if you have the `netsnmp' library (-lnetsnmp). */
+/* #undef HAVE_LIBNETSNMP */
+
+/* Define to 1 if you have the `posix4' library (-lposix4). */
+/* #undef HAVE_LIBPOSIX4 */
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+#define HAVE_LIBRT 1
+
+/* Define to 1 if you have the <libscf.h> header file. */
+/* #undef HAVE_LIBSCF_H */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Do we have Linux capabilities? */
+/* #undef HAVE_LINUX_CAPABILITIES */
+
+/* Define to 1 if you have the <machine/inline.h> header file. */
+/* #undef HAVE_MACHINE_INLINE_H */
+
+/* Define to 1 if you have the <machine/soundcard.h> header file. */
+/* #undef HAVE_MACHINE_SOUNDCARD_H */
+
+/* Define to 1 if you have the <math.h> header file. */
+#define HAVE_MATH_H 1
+
+/* Define to 1 if you have the `MD5Init' function. */
+#define HAVE_MD5INIT 1
+
+/* Define to 1 if you have the <md5.h> header file. */
+#define HAVE_MD5_H 1
+
+/* Define to 1 if you have the `memcpy' function. */
+#define HAVE_MEMCPY 1
+
+/* Define to 1 if you have the `memlk' function. */
+/* #undef HAVE_MEMLK */
+
+/* Define to 1 if you have the `memmove' function. */
+#define HAVE_MEMMOVE 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `memset' function. */
+#define HAVE_MEMSET 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#define HAVE_MKSTEMP 1
+
+/* Define to 1 if you have the `mktime' function. */
+#define HAVE_MKTIME 1
+
+/* Define to 1 if you have the `mlockall' function. */
+#define HAVE_MLOCKALL 1
+
+/* Define to 1 if you have the `mmap' function. */
+#define HAVE_MMAP 1
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the <netdb.h> header file. */
+#define HAVE_NETDB_H 1
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* Define to 1 if you have the <netinet/in_system.h> header file. */
+/* #undef HAVE_NETINET_IN_SYSTEM_H */
+
+/* Define to 1 if you have the <netinet/in_systm.h> header file. */
+#define HAVE_NETINET_IN_SYSTM_H 1
+
+/* Define to 1 if you have the <netinet/ip.h> header file. */
+#define HAVE_NETINET_IP_H 1
+
+/* NetInfo support? */
+/* #undef HAVE_NETINFO */
+
+/* Define to 1 if you have the <netinfo/ni.h> header file. */
+/* #undef HAVE_NETINFO_NI_H */
+
+/* Define to 1 if you have the <net/if6.h> header file. */
+/* #undef HAVE_NET_IF6_H */
+
+/* Define to 1 if you have the <net/if.h> header file. */
+#define HAVE_NET_IF_H 1
+
+/* Define to 1 if you have the <net/route.h> header file. */
+#define HAVE_NET_ROUTE_H 1
+
+/* Define to 1 if you have the `nice' function. */
+#define HAVE_NICE 1
+
+/* Define to 1 if you have the `nlist' function. */
+#define HAVE_NLIST 1
+
+/* Define to 1 if you have the `ntp_adjtime' function. */
+#define HAVE_NTP_ADJTIME 1
+
+/* Define to 1 if you have the `ntp_gettime' function. */
+#define HAVE_NTP_GETTIME 1
+
+/* Do we want support for Samba's signing daemon? */
+/* #undef HAVE_NTP_SIGND */
+
+/* Define this if pathfind(3) works */
+/* #undef HAVE_PATHFIND */
+
+/* Define to 1 if the system has the type `pid_t'. */
+#define HAVE_PID_T 1
+
+/* Define to 1 if you have the `plock' function. */
+/* #undef HAVE_PLOCK */
+
+/* Define to 1 if you have the <poll.h> header file. */
+#define HAVE_POLL_H 1
+
+/* Do we have the PPS API per the Draft RFC? */
+#define HAVE_PPSAPI 1
+
+/* Define to 1 if you have the `pututline' function. */
+/* #undef HAVE_PUTUTLINE */
+
+/* Define to 1 if you have the `pututxline' function. */
+#define HAVE_PUTUTXLINE 1
+
+/* Define to 1 if you have the <readline.h> header file. */
+/* #undef HAVE_READLINE_H */
+
+/* Define if your readline library has \`add_history' */
+#define HAVE_READLINE_HISTORY 1
+
+/* Define to 1 if you have the <readline/history.h> header file. */
+#define HAVE_READLINE_HISTORY_H 1
+
+/* Define to 1 if you have the <readline/readline.h> header file. */
+#define HAVE_READLINE_READLINE_H 1
+
+/* Define to 1 if you have the `readlink' function. */
+#define HAVE_READLINK 1
+
+/* Define this if we have a functional realpath(3C) */
+#define HAVE_REALPATH 1
+
+/* Define to 1 if you have the `recvmsg' function. */
+#define HAVE_RECVMSG 1
+
+/* Define to 1 if you have the <resolv.h> header file. */
+#define HAVE_RESOLV_H 1
+
+/* Define to 1 if you have the `res_init' function. */
+#define HAVE_RES_INIT 1
+
+/* Do we have Linux routing socket? */
+/* #undef HAVE_RTNETLINK */
+
+/* Define to 1 if you have the `rtprio' function. */
+/* #undef HAVE_RTPRIO */
+
+/* Define to 1 if you have the <runetype.h> header file. */
+/* #undef HAVE_RUNETYPE_H */
+
+/* Obvious... */
+#define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
+
+/* Define to 1 if you have the <sched.h> header file. */
+#define HAVE_SCHED_H 1
+
+/* Define to 1 if you have the `sched_setscheduler' function. */
+#define HAVE_SCHED_SETSCHEDULER 1
+
+/* Define to 1 if you have the <setjmp.h> header file. */
+#define HAVE_SETJMP_H 1
+
+/* Define to 1 if you have the `setlinebuf' function. */
+#define HAVE_SETLINEBUF 1
+
+/* Define to 1 if you have the `setpgid' function. */
+#define HAVE_SETPGID 1
+
+/* define if setpgrp takes 0 arguments */
+/* #undef HAVE_SETPGRP_0 */
+
+/* Define to 1 if you have the `setpriority' function. */
+#define HAVE_SETPRIORITY 1
+
+/* Define to 1 if you have the `setrlimit' function. */
+#define HAVE_SETRLIMIT 1
+
+/* Define to 1 if you have the `setsid' function. */
+#define HAVE_SETSID 1
+
+/* Define to 1 if you have the `settimeofday' function. */
+#define HAVE_SETTIMEOFDAY 1
+
+/* Define to 1 if you have the `setvbuf' function. */
+#define HAVE_SETVBUF 1
+
+/* Define to 1 if you have the <sgtty.h> header file. */
+#define HAVE_SGTTY_H 1
+
+/* Define to 1 if you have the `sigaction' function. */
+#define HAVE_SIGACTION 1
+
+/* Can we use SIGIO for tcp and udp IO? */
+#define HAVE_SIGNALED_IO 1
+
+/* Define to 1 if you have the `sigset' function. */
+#define HAVE_SIGSET 1
+
+/* Define to 1 if you have the `sigsuspend' function. */
+#define HAVE_SIGSUSPEND 1
+
+/* Define to 1 if you have the `sigvec' function. */
+#define HAVE_SIGVEC 1
+
+/* Define to 1 if the system has the type `size_t'. */
+#define HAVE_SIZE_T 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#define HAVE_SNPRINTF 1
+
+/* Are Solaris privileges available? */
+/* #undef HAVE_SOLARIS_PRIVS */
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `stime' function. */
+/* #undef HAVE_STIME */
+
+/* Define to 1 if you have the `strchr' function. */
+#define HAVE_STRCHR 1
+
+/* Define to 1 if you have the `strdup' function. */
+#define HAVE_STRDUP 1
+
+/* Define to 1 if you have the `strerror' function. */
+#define HAVE_STRERROR 1
+
+/* Define this if strftime() works */
+#define HAVE_STRFTIME 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strrchr' function. */
+#define HAVE_STRRCHR 1
+
+/* Define to 1 if you have the `strsignal' function. */
+#define HAVE_STRSIGNAL 1
+
+/* Define to 1 if you have the `strstr' function. */
+#define HAVE_STRSTR 1
+
+/* Do we have struct ntptimeval? */
+#define HAVE_STRUCT_NTPTIMEVAL 1
+
+/* Define to 1 if `time.tv_nsec' is a member of `struct ntptimeval'. */
+#define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
+
+/* Does a system header define struct ppsclockev? */
+/* #undef HAVE_STRUCT_PPSCLOCKEV */
+
+/* Do we have struct snd_size? */
+/* #undef HAVE_STRUCT_SND_SIZE */
+
+/* Does a system header define struct sockaddr_storage? */
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+
+/* Do we have struct timespec? */
+#define HAVE_STRUCT_TIMESPEC 1
+
+/* Define to 1 if you have the <sun/audioio.h> header file. */
+/* #undef HAVE_SUN_AUDIOIO_H */
+
+/* Define to 1 if you have the `sysconf' function. */
+#define HAVE_SYSCONF 1
+
+/* Define to 1 if you have the `sysctl' function. */
+#define HAVE_SYSCTL 1
+
+/* Define to 1 if you have the <sysexits.h> header file. */
+#define HAVE_SYSEXITS_H 1
+
+/* Define to 1 if you have the <sys/audioio.h> header file. */
+#define HAVE_SYS_AUDIOIO_H 1
+
+/* Define to 1 if you have the <sys/capability.h> header file. */
+/* #undef HAVE_SYS_CAPABILITY_H */
+
+/* Define to 1 if you have the <sys/clkdefs.h> header file. */
+/* #undef HAVE_SYS_CLKDEFS_H */
+
+/* Define to 1 if you have the <sys/clockctl.h> header file. */
+#define HAVE_SYS_CLOCKCTL_H 1
+
+/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+ */
+/* #undef HAVE_SYS_DIR_H */
+
+/* Define to 1 if you have the <sys/file.h> header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define to 1 if you have the <sys/i8253.h> header file. */
+/* #undef HAVE_SYS_I8253_H */
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define to 1 if you have the <sys/ipc.h> header file. */
+#define HAVE_SYS_IPC_H 1
+
+/* Define to 1 if you have the <sys/limits.h> header file. */
+/* #undef HAVE_SYS_LIMITS_H */
+
+/* Define to 1 if you have the <sys/lock.h> header file. */
+#define HAVE_SYS_LOCK_H 1
+
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* Define to 1 if you have the <sys/modem.h> header file. */
+/* #undef HAVE_SYS_MODEM_H */
+
+/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
+ */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/pcl720.h> header file. */
+/* #undef HAVE_SYS_PCL720_H */
+
+/* Define to 1 if you have the <sys/poll.h> header file. */
+#define HAVE_SYS_POLL_H 1
+
+/* Define to 1 if you have the <sys/ppsclock.h> header file. */
+/* #undef HAVE_SYS_PPSCLOCK_H */
+
+/* Define to 1 if you have the <sys/ppstime.h> header file. */
+/* #undef HAVE_SYS_PPSTIME_H */
+
+/* Define to 1 if you have the <sys/prctl.h> header file. */
+/* #undef HAVE_SYS_PRCTL_H */
+
+/* Define to 1 if you have the <sys/procset.h> header file. */
+/* #undef HAVE_SYS_PROCSET_H */
+
+/* Define to 1 if you have the <sys/proc.h> header file. */
+/* #undef HAVE_SYS_PROC_H */
+
+/* Define to 1 if you have the <sys/resource.h> header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
+/* Define to 1 if you have the <sys/sched.h> header file. */
+/* #undef HAVE_SYS_SCHED_H */
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/shm.h> header file. */
+#define HAVE_SYS_SHM_H 1
+
+/* Define to 1 if you have the <sys/signal.h> header file. */
+#define HAVE_SYS_SIGNAL_H 1
+
+/* Define to 1 if you have the <sys/sio.h> header file. */
+/* #undef HAVE_SYS_SIO_H */
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/sockio.h> header file. */
+#define HAVE_SYS_SOCKIO_H 1
+
+/* Define to 1 if you have the <sys/soundcard.h> header file. */
+/* #undef HAVE_SYS_SOUNDCARD_H */
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/stream.h> header file. */
+/* #undef HAVE_SYS_STREAM_H */
+
+/* Define to 1 if you have the <sys/stropts.h> header file. */
+/* #undef HAVE_SYS_STROPTS_H */
+
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
+/* Define to 1 if you have the <sys/syssgi.h> header file. */
+/* #undef HAVE_SYS_SYSSGI_H */
+
+/* Define to 1 if you have the <sys/systune.h> header file. */
+/* #undef HAVE_SYS_SYSTUNE_H */
+
+/* Define to 1 if you have the <sys/termios.h> header file. */
+#define HAVE_SYS_TERMIOS_H 1
+
+/* Define to 1 if you have the <sys/timepps.h> header file. */
+#define HAVE_SYS_TIMEPPS_H 1
+
+/* Define to 1 if you have the <sys/timers.h> header file. */
+/* #undef HAVE_SYS_TIMERS_H */
+
+/* Define to 1 if you have the <sys/timex.h> header file. */
+#define HAVE_SYS_TIMEX_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/tpro.h> header file. */
+/* #undef HAVE_SYS_TPRO_H */
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Use sys/uio.h for struct iovec help */
+/* #undef HAVE_SYS_UIO_H */
+
+/* Define to 1 if you have the <sys/un.h> header file. */
+#define HAVE_SYS_UN_H 1
+
+/* Define to 1 if you have the <sys/wait.h> header file. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define to 1 if the system has the type `s_char'. */
+/* #undef HAVE_S_CHAR */
+
+/* Define to 1 if you have the <termios.h> header file. */
+#define HAVE_TERMIOS_H 1
+
+/* Define to 1 if you have the <termio.h> header file. */
+/* #undef HAVE_TERMIO_H */
+
+/* Obvious... */
+/* #undef HAVE_TICKADJ_IN_STRUCT_CLOCKINFO */
+
+/* Define to 1 if you have the `timegm' function. */
+#define HAVE_TIMEGM 1
+
+/* Define to 1 if you have the <timepps.h> header file. */
+/* #undef HAVE_TIMEPPS_H */
+
+/* Define to 1 if you have the `timer_create' function. */
+#define HAVE_TIMER_CREATE 1
+
+/* Define to 1 if you have the `timer_settime' function. */
+#define HAVE_TIMER_SETTIME 1
+
+/* Define to 1 if you have the <timex.h> header file. */
+/* #undef HAVE_TIMEX_H */
+
+/* Do we have the TIOCGPPSEV ioctl (Solaris)? */
+/* #undef HAVE_TIOCGPPSEV */
+
+/* Do we have the TIOCSPPS ioctl (Solaris)? */
+/* #undef HAVE_TIOCSPPS */
+
+/* Do we have the TIO serial stuff? */
+/* #undef HAVE_TIO_SERIAL_STUFF */
+
+/* Does u_int64_t exist? */
+#define HAVE_TYPE_U_INT64_T 1
+
+/* Does u_int8_t exist? */
+#define HAVE_TYPE_U_INT8_T 1
+
+/* Define to 1 if the system has the type `uint16_t'. */
+#define HAVE_UINT16_T 1
+
+/* Define to 1 if the system has the type `uint32_t'. */
+#define HAVE_UINT32_T 1
+
+/* Define to 1 if the system has the type `uint8_t'. */
+#define HAVE_UINT8_T 1
+
+/* Define to 1 if the system has the type `uintptr_t'. */
+#define HAVE_UINTPTR_T 1
+
+/* Define to 1 if the system has the type `uint_t'. */
+/* #undef HAVE_UINT_T */
+
+/* Define to 1 if you have the `umask' function. */
+#define HAVE_UMASK 1
+
+/* Define to 1 if you have the `uname' function. */
+#define HAVE_UNAME 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the `updwtmp' function. */
+/* #undef HAVE_UPDWTMP */
+
+/* Define to 1 if you have the `updwtmpx' function. */
+#define HAVE_UPDWTMPX 1
+
+/* Define to 1 if you have the <utime.h> header file. */
+#define HAVE_UTIME_H 1
+
+/* Define to 1 if you have the <utmpx.h> header file. */
+#define HAVE_UTMPX_H 1
+
+/* Define to 1 if you have the <utmp.h> header file. */
+#define HAVE_UTMP_H 1
+
+/* Define to 1 if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Define to 1 if you have the <varargs.h> header file. */
+/* #undef HAVE_VARARGS_H */
+
+/* Define to 1 if you have the `vfork' function. */
+#define HAVE_VFORK 1
+
+/* Define to 1 if you have the <vfork.h> header file. */
+/* #undef HAVE_VFORK_H */
+
+/* Define to 1 if you have the `vprintf' function. */
+#define HAVE_VPRINTF 1
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#define HAVE_VSNPRINTF 1
+
+/* Define to 1 if you have the `vsprintf' function. */
+#define HAVE_VSPRINTF 1
+
+/* Define to 1 if you have the <wchar.h> header file. */
+#define HAVE_WCHAR_H 1
+
+/* Define to 1 if the system has the type `wchar_t'. */
+#define HAVE_WCHAR_T 1
+
+/* Define to 1 if the system has the type `wint_t'. */
+#define HAVE_WINT_T 1
+
+/* Define to 1 if `fork' works. */
+#define HAVE_WORKING_FORK 1
+
+/* Define to 1 if `vfork' works. */
+#define HAVE_WORKING_VFORK 1
+
+/* Define to 1 if you have the </sys/sync/queue.h> header file. */
+/* #undef HAVE__SYS_SYNC_QUEUE_H */
+
+/* Define to 1 if you have the </sys/sync/sema.h> header file. */
+/* #undef HAVE__SYS_SYNC_SEMA_H */
+
+/* Define to 1 if you have the `__adjtimex' function. */
+/* #undef HAVE___ADJTIMEX */
+
+/* Define to 1 if you have the `__ntp_gettime' function. */
+/* #undef HAVE___NTP_GETTIME */
+
+/* Define to 1 if you have the `__res_init' function. */
+/* #undef HAVE___RES_INIT */
+
+/* Does struct sockaddr_storage have __ss_family? */
+/* #undef HAVE___SS_FAMILY_IN_SS */
+
+
+ /* Handle sockaddr_storage.__ss_family */
+ #ifdef HAVE___SS_FAMILY_IN_SS
+ # define ss_family __ss_family
+ #endif /* HAVE___SS_FAMILY_IN_SS */
+
+
+
+/* Does struct sockaddr_storage have __ss_len? */
+/* #undef HAVE___SS_LEN_IN_SS */
+
+
+ /* Handle sockaddr_storage.__ss_len */
+ #ifdef HAVE___SS_LEN_IN_SS
+ # define ss_len __ss_len
+ #endif /* HAVE___SS_LEN_IN_SS */
+
+
+
+/* [Retry queries on _any_ DNS error?] */
+/* #undef IGNORE_DNS_ERRORS */
+
+/* Should we use the IRIG sawtooth filter? */
+/* #undef IRIG_SUCKS */
+
+/* Do we need to fix in6isaddr? */
+/* #undef ISC_PLATFORM_FIXIN6ISADDR */
+
+/* ISC: do we have if_nametoindex()? */
+#define ISC_PLATFORM_HAVEIFNAMETOINDEX 1
+
+/* have struct if_laddrconf? */
+/* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */
+
+/* have struct if_laddrreq? */
+/* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
+
+/* have struct in6_pktinfo? */
+#define ISC_PLATFORM_HAVEIN6PKTINFO /**/
+
+/* have IPv6? */
+#define ISC_PLATFORM_HAVEIPV6 /**/
+
+/* struct sockaddr has sa_len? */
+#define ISC_PLATFORM_HAVESALEN /**/
+
+/* have sin6_scope_id? */
+#define ISC_PLATFORM_HAVESCOPEID /**/
+
+/* missing in6addr_any? */
+/* #undef ISC_PLATFORM_NEEDIN6ADDRANY */
+
+/* Do we need netinet6/in6.h? */
+/* #undef ISC_PLATFORM_NEEDNETINET6IN6H */
+
+/* ISC: provide inet_ntop() */
+/* #undef ISC_PLATFORM_NEEDNTOP */
+
+/* Declare in_port_t? */
+/* #undef ISC_PLATFORM_NEEDPORTT */
+
+/* ISC: provide inet_pton() */
+/* #undef ISC_PLATFORM_NEEDPTON */
+
+/* Does the kernel have an FLL bug? */
+/* #undef KERNEL_FLL_BUG */
+
+/* Does the kernel support precision time discipline? */
+#define KERNEL_PLL 1
+
+/* What is (probably) the name of DOSYNCTODR in the kernel? */
+#define K_DOSYNCTODR_NAME "_dosynctodr"
+
+/* What is (probably) the name of NOPRINTF in the kernel? */
+#define K_NOPRINTF_NAME "_noprintf"
+
+/* What is the name of TICKADJ in the kernel? */
+#define K_TICKADJ_NAME "_tickadj"
+
+/* What is the name of TICK in the kernel? */
+#define K_TICK_NAME "_tick"
+
+/* Should we align with the NIST lockclock scheme? */
+/* #undef LOCKCLOCK */
+
+/* Does the kernel support multicasting IP? */
+#define MCAST 1
+
+/* Should we recommend a minimum value for tickadj? */
+/* #undef MIN_REC_TICKADJ */
+
+/* Do we need HPUX adjtime() library support? */
+/* #undef NEED_HPUX_ADJTIME */
+
+/* Do we want the HPUX FindConfig()? */
+/* #undef NEED_HPUX_FINDCONFIG */
+
+/* We need to provide netsnmp_daemonize() */
+/* #undef NEED_NETSNMP_DAEMONIZE */
+
+/* Do we need the qnx adjtime call? */
+/* #undef NEED_QNX_ADJTIME */
+
+/* Do we need extra room for SO_RCVBUF? (HPUX <8) */
+/* #undef NEED_RCVBUF_SLOP */
+
+/* Do we need an s_char typedef? */
+#define NEED_S_CHAR_TYPEDEF 1
+
+/* Might nlist() values require an extra level of indirection (AIX)? */
+/* #undef NLIST_EXTRA_INDIRECTION */
+
+/* does struct nlist use a name union? */
+/* #undef NLIST_NAME_UNION */
+
+/* nlist stuff */
+#define NLIST_STRUCT 1
+
+/* Should we NOT read /dev/kmem? */
+/* #undef NOKMEM */
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
+
+/* Define this if optional arguments are disallowed */
+/* #undef NO_OPTIONAL_OPT_ARGS */
+
+/* Should we avoid #warning on option name collisions? */
+/* #undef NO_OPTION_NAME_WARNINGS */
+
+/* Is there a problem using PARENB and IGNPAR (IRIX)? */
+/* #undef NO_PARENB_IGNPAR */
+
+/* Default location of crypto key info */
+#define NTP_KEYSDIR "/tmp/ntp-4.2.6/etc"
+
+/* Path to sign daemon rendezvous socket */
+/* #undef NTP_SIGND_PATH */
+
+/* Do we have ntp_{adj,get}time in libc? */
+#define NTP_SYSCALLS_LIBC 1
+
+/* Do we have ntp_{adj,get}time in the kernel? */
+/* #undef NTP_SYSCALLS_STD */
+
+/* Do we have support for SHMEM_STATUS? */
+#define ONCORE_SHMEM_STATUS 1
+
+/* Use OpenSSL? */
+#define OPENSSL /**/
+
+/* Should we open the broadcast socket? */
+#define OPEN_BCAST_SOCKET 1
+
+/* need to recreate sockets on changed routing? */
+#define OS_MISSES_SPECIFIC_ROUTE_UPDATES 1
+
+/* wildcard socket needs to set REUSEADDR when binding to interface addresses
+ */
+/* #undef OS_NEEDS_REUSEADDR_FOR_IFADDRBIND */
+
+/* Do we need to override the system's idea of HZ? */
+/* #undef OVERRIDE_HZ */
+
+/* Name of package */
+#define PACKAGE "ntp"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "ntp"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "ntp 4.2.6"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "ntp"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "4.2.6"
+
+/* Do we have the ppsclock streams module? */
+/* #undef PPS */
+
+/* PARSE kernel PLL PPS support */
+/* #undef PPS_SYNC */
+
+/* Preset a value for 'tick'? */
+#define PRESET_TICK 1000000L/hz
+
+/* Preset a value for 'tickadj'? */
+#define PRESET_TICKADJ 500/hz
+
+/* Does qsort expect to work on "void *" stuff? */
+#define QSORT_USES_VOID_P 1
+
+/* Should we not IGNPAR (Linux)? */
+/* #undef RAWDCF_NO_IGNPAR */
+
+/* Basic refclock support? */
+#define REFCLOCK 1
+
+/* name of regex header file */
+#define REGEX_HEADER <regex.h>
+
+/* Do we want the ReliantUNIX clock hacks? */
+/* #undef RELIANTUNIX_CLOCK */
+
+/* Define as the return type of signal handlers (`int' or `void'). */
+#define RETSIGTYPE void
+
+/* saveconfig mechanism */
+#define SAVECONFIG 1
+
+/* Do we want the SCO clock hacks? */
+/* #undef SCO5_CLOCK */
+
+/* The size of `char*', as computed by sizeof. */
+#define SIZEOF_CHARP 4
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 4
+
+/* The size of `short', as computed by sizeof. */
+#define SIZEOF_SHORT 2
+
+/* The size of `signed char', as computed by sizeof. */
+#define SIZEOF_SIGNED_CHAR 1
+
+/* The size of `time_t', as computed by sizeof. */
+#define SIZEOF_TIME_T 8
+
+/* Does SIOCGIFCONF return size in the buffer? */
+/* #undef SIZE_RETURNED_IN_BUFFER */
+
+/* Slew always? */
+/* #undef SLEWALWAYS */
+
+/* *s*printf() functions are char* */
+/* #undef SPRINTF_CHAR */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Step, then slew the clock? */
+/* #undef STEP_SLEW */
+
+/* canonical system (cpu-vendor-os) of where we should run */
+#define STR_SYSTEM "i386-unknown-netbsdelf5.99.20"
+
+/* Buggy syscall() (Solaris2.4)? */
+/* #undef SYSCALL_BUG */
+
+/* Does Xettimeofday take 1 arg? */
+/* #undef SYSV_TIMEOFDAY */
+
+/* Do we need to #define _SVID3 when we #include <termios.h>? */
+/* #undef TERMIOS_NEEDS__SVID3 */
+
+/* Is K_TICKADJ_NAME in nanoseconds? */
+/* #undef TICKADJ_NANO */
+
+/* Is K_TICK_NAME in nanoseconds? */
+/* #undef TICK_NANO */
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define to 1 if your <sys/time.h> declares `struct tm'. */
+/* #undef TM_IN_SYS_TIME */
+
+/* Do we have the tty_clk line discipline/streams module? */
+/* #undef TTYCLK */
+
+/* Provide a typedef for uintptr_t? */
+#ifndef HAVE_UINTPTR_T
+typedef unsigned int uintptr_t;
+#define HAVE_UINTPTR_T 1
+#endif
+
+/* What type to use for setsockopt */
+#define TYPEOF_IP_MULTICAST_LOOP u_int
+
+/* Do we set process groups with -pid? */
+/* #undef UDP_BACKWARDS_SETOWN */
+
+/* Must we have a CTTY for fsetown? */
+/* #undef USE_FSETOWNCTTY */
+
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
+
+/* Can we use SIGPOLL for tty IO? */
+/* #undef USE_TTY_SIGPOLL */
+
+/* Can we use SIGPOLL for UDP? */
+/* #undef USE_UDP_SIGPOLL */
+
+/* Version number of package */
+#define VERSION "4.2.6"
+
+/* configure --enable-ipv6 */
+#define WANT_IPV6 /**/
+
+/* Define this if a working libregex can be found */
+#define WITH_LIBREGEX 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to 1 if type `char' is unsigned and you are not using gcc. */
+#ifndef __CHAR_UNSIGNED__
+/* # undef __CHAR_UNSIGNED__ */
+#endif
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef gid_t */
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+/* #undef inline */
+#endif
+
+/* Define to `long int' if <sys/types.h> does not define. */
+/* #undef off_t */
+
+/* Define to `int' if <sys/types.h> does not define. */
+/* #undef pid_t */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* Define to `long' if <sys/types.h> does not define. */
+/* #undef time_t */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef uid_t */
+
+/* Define as `fork' if `vfork' does not work. */
+/* #undef vfork */
+
+/* Does the compiler like "volatile"? */
+/* #undef volatile */
Index: src/external/bsd/ntp/lib/Makefile
diff -u /dev/null src/external/bsd/ntp/lib/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+SUBDIR+= libntp libiscntp libopts libparse
+
+.include <bsd.subdir.mk>
Index: src/external/bsd/ntp/lib/Makefile.inc
diff -u /dev/null src/external/bsd/ntp/lib/Makefile.inc:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/Makefile.inc Sun Dec 13 17:13:48 2009
@@ -0,0 +1,4 @@
+# $NetBSD: Makefile.inc,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+.include "../Makefile.inc"
+WARNS?= 2
Index: src/external/bsd/ntp/lib/libiscntp/Makefile
diff -u /dev/null src/external/bsd/ntp/lib/libiscntp/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/libiscntp/Makefile Sun Dec 13 17:13:48 2009
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:48 kardel Exp $
+
+LIBISPRIVATE=yes
+
+LIB=iscntp
+
+.include <bsd.own.mk>
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST= ${IDIST}/lib/isc
+
+.PATH.c:: ${DIST} ${DIST}/nls ${DIST}/unix ${DIST}/nothreads
+
+SRCS= assertions.c \
+ buffer.c \
+ condition.c \
+ dir.c \
+ error.c \
+ errno2result.c \
+ event.c \
+ file.c \
+ inet_ntop.c \
+ inet_pton.c \
+ interfaceiter.c \
+ lib.c \
+ log.c \
+ md5.c \
+ msgcat.c \
+ net.c \
+ netaddr.c \
+ netscope.c \
+ ondestroy.c \
+ random.c \
+ result.c \
+ stdio.c \
+ stdtime.c \
+ strerror.c \
+ task.c \
+ thread.c \
+ time.c \
+ sockaddr.c
+
+.include <bsd.lib.mk>
Index: src/external/bsd/ntp/lib/libntp/Makefile
diff -u /dev/null src/external/bsd/ntp/lib/libntp/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/libntp/Makefile Sun Dec 13 17:13:47 2009
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:47 kardel Exp $
+
+LIBISPRIVATE=yes
+
+LIB=ntp
+
+.include <bsd.own.mk>
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST= ${IDIST}/libntp
+
+.PATH.c: ${DIST}
+
+SRCS=systime.c a_md5encrypt.c adjtime.c atoint.c atolfp.c atouint.c audio.c \
+ authkeys.c authreadkeys.c authusekey.c bsd_strerror.c buftvtots.c \
+ caljulian.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 icom.c inttoa.c \
+ iosignal.c lib_strbuf.c machines.c memmove.c mfptoa.c ntp_lineedit.c \
+ mfptoms.c mktime.c modetoa.c mstolfp.c msutotsf.c msyslog.c netof.c \
+ ntp_rfc2553.c numtoa.c numtohost.c octtoint.c prettydate.c ntp_random.c \
+ recvbuff.c refnumtoa.c snprintf.c socktoa.c socktohost.c ssl_init.c \
+ statestr.c strdup.c strstr.c syssignal.c tsftomsu.c tstotv.c tvtots.c \
+ uglydate.c uinttoa.c ymd2yd.c
+# net.c netaddr.c netscope.c \
+# ondestroy.c random.c result.c stdio.c stdtime.c strerror.c task.c \
+# thread.c time.c sockaddr.c
+# not found in libparse
+# assertions.c
+# buffer.c
+# conditions.c
+# dir.c
+# error.c
+# errno2result.c
+# event.c
+# file.c
+# inet_ntop.c
+# inet_pton.c
+# interfaceiter.c
+# lib.c
+# log.c
+# md5.c
+# msgcat.c
+.include <bsd.lib.mk>
Index: src/external/bsd/ntp/lib/libopts/Makefile
diff -u /dev/null src/external/bsd/ntp/lib/libopts/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/libopts/Makefile Sun Dec 13 17:13:47 2009
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:47 kardel Exp $
+
+LIBISPRIVATE=yes
+
+LIB=opts
+
+.include <bsd.own.mk>
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST= ${IDIST}/libopts
+
+CPPFLAGS+=-I${DIST}
+
+.PATH.c: ${DIST}
+
+SRCS=libopts.c
+
+.include <bsd.lib.mk>
Index: src/external/bsd/ntp/lib/libparse/Makefile
diff -u /dev/null src/external/bsd/ntp/lib/libparse/Makefile:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/lib/libparse/Makefile Sun Dec 13 17:13:47 2009
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2009/12/13 17:13:47 kardel Exp $
+
+LIBISPRIVATE=yes
+
+LIB=parse
+
+.include <bsd.own.mk>
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST= ${IDIST}/libparse
+
+.PATH.c: ${DIST}
+
+SRCS= parse.c \
+ parse_conf.c \
+ clk_meinberg.c \
+ clk_schmid.c \
+ clk_rawdcf.c \
+ clk_trimtsip.c \
+ clk_dcf7000.c \
+ clk_trimtaip.c \
+ clk_rcc8000.c \
+ clk_hopf6021.c \
+ clk_computime.c \
+ clk_wharton.c \
+ clk_varitext.c \
+ data_mbg.c \
+ info_trimble.c \
+ trim_info.c \
+ binio.c \
+ ieee754io.c \
+ mfp_mul.c \
+ gpstolfp.c
+
+.include <bsd.lib.mk>
Index: src/external/bsd/ntp/scripts/mkver
diff -u /dev/null src/external/bsd/ntp/scripts/mkver:1.1
--- /dev/null Sun Dec 13 17:13:49 2009
+++ src/external/bsd/ntp/scripts/mkver Sun Dec 13 17:13:47 2009
@@ -0,0 +1,46 @@
+#!/bin/sh
+PROG=${1-UNKNOWN}
+
+ConfStr="$PROG"
+
+ConfStr="$ConfStr 4.2.6"
+
+case "$CSET" in
+ '') ;;
+ *) ConfStr="$conf...@$cset" ;;
+esac
+
+case "-lcrypto" in
+ '') ;;
+ -lcrypto)
+ ConfStr="${ConfStr}-o" ;;
+ *) ConfStr="${ConfStr}-?" ;;
+esac
+
+ifile="`dirname $0`/../importdate"
+
+if [ -f "$ifile" ]; then
+ ConfStr="$ConfStr "`cat "$ifile"`
+else
+ ConfStr="$ConfStr `LC_TIME=C TZ= date`"
+
+ if [ ! -f .version ]; then
+ echo 0 > .version
+ fi
+ RUN="`cat .version`"
+ RUN="`expr $RUN + 1`"
+ echo $RUN > .version
+
+ ConfStr="$ConfStr (${RUN})"
+fi
+
+echo "Version <${ConfStr}>";
+
+rm -f version.c
+cat > version.c << -EoF-
+/*
+ * version file for $PROG
+ */
+#include <config.h>
+const char * Version = "${ConfStr}";
+-EoF-