From 3b752c69e0023cb11e999c08198e321e04c6f7be Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 21 Dec 1993 19:40:50 +0000 Subject: Create BSD-style makefile for ntpdate. --- usr.sbin/xntpd/ntpdate/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 usr.sbin/xntpd/ntpdate/Makefile (limited to 'usr.sbin/xntpd/ntpdate') 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 -- cgit v1.1