Create BSD-style makefile for ntpdate.
This commit is contained in:
parent
5885c09cac
commit
8eb65258c9
20
usr.sbin/xntpd/ntpdate/Makefile
Normal file
20
usr.sbin/xntpd/ntpdate/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user