summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntpq
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-12-21 19:46:16 +0000
committerwollman <wollman@FreeBSD.org>1993-12-21 19:46:16 +0000
commitef8e32bb6835cdd2ae6a973cdb969f1ebb1794bb (patch)
tree2712a599c1a9b3a72c2c2860b0f86db12be696c3 /usr.sbin/xntpd/ntpq
parent95089ca73e6df7a17bb0f5510feec6e341a7fd60 (diff)
downloadFreeBSD-src-ef8e32bb6835cdd2ae6a973cdb969f1ebb1794bb.zip
FreeBSD-src-ef8e32bb6835cdd2ae6a973cdb969f1ebb1794bb.tar.gz
Convert ntpq to BSD-style makefile.
Diffstat (limited to 'usr.sbin/xntpd/ntpq')
-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