summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntpq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/ntpq/Makefile')
-rw-r--r--usr.sbin/xntpd/ntpq/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/ntpq/Makefile b/usr.sbin/xntpd/ntpq/Makefile
new file mode 100644
index 0000000..f8c674f
--- /dev/null
+++ b/usr.sbin/xntpd/ntpq/Makefile
@@ -0,0 +1,20 @@
+#
+# $Id$
+#
+
+CFLAGS+= -I${.CURDIR}/../include
+LDADD+= -L${.CURDIR}/../lib -lntp
+DPADD+= -L${.CURDIR}/../lib/libntp.a
+
+PROG= ntpq
+MAN8= ${.CURDIR}/../doc/ntpq.8
+CLEANFILES+= version.o
+
+SRCS= ntpq.c ntpq_ops.c version.c
+
+beforedepend: version.c
+
+version.c: ${.CURDIR}/../VERSION
+ ${.CURDIR}/../scripts/mkversion ntpq
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud