summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpq
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1999-12-13 14:09:56 +0000
committerroberto <roberto@FreeBSD.org>1999-12-13 14:09:56 +0000
commit2c4532a5b204bf46ef9bed83b39fad4796af075f (patch)
tree24b9c349b4d68d37c1d8135507f472611002728c /usr.sbin/ntp/ntpq
parent51419295b1881d06d16787b11610eb01251cae2a (diff)
downloadFreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.zip
FreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.tar.gz
Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
This is the second part of the commit (the third -- link in usr.sbin/Makefile) will be done after a more complete review by phk & obrien. NOTE: the number of drivers included in the default configuration is very minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to have a more complete version will find recompilation very easy. It builds and runs on both alpha & i386. It also does survive "make world". Reviewed by: phk, obrien (partly)
Diffstat (limited to 'usr.sbin/ntp/ntpq')
-rw-r--r--usr.sbin/ntp/ntpq/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/ntp/ntpq/Makefile b/usr.sbin/ntp/ntpq/Makefile
new file mode 100644
index 0000000..551dbec6b
--- /dev/null
+++ b/usr.sbin/ntp/ntpq/Makefile
@@ -0,0 +1,22 @@
+#
+# $FreeBSD$
+#
+
+.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq
+
+CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
+
+DPADD= ${LIBNTP} ${LIBKVM}
+LDADD= ${LIBNTP} ${LIBKVM}
+
+PROG= ntpq
+NOMAN= yes
+CLEANFILES+= .version version.c
+BINDIR= /usr/bin
+
+SRCS= ntpq.c ntpq_ops.c version.c
+
+version.c:
+ sh -e ${.CURDIR}/../scripts/mkver ntpq
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud