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