summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntpdate
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-12-21 19:40:50 +0000
committerwollman <wollman@FreeBSD.org>1993-12-21 19:40:50 +0000
commit3b752c69e0023cb11e999c08198e321e04c6f7be (patch)
tree0c081426cb72f6e6d006393458939035d970fe1e /usr.sbin/xntpd/ntpdate
parent766e72915c209f2892dad1781298036836f10db5 (diff)
downloadFreeBSD-src-3b752c69e0023cb11e999c08198e321e04c6f7be.zip
FreeBSD-src-3b752c69e0023cb11e999c08198e321e04c6f7be.tar.gz
Create BSD-style makefile for ntpdate.
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