cc5592707f
This is the second part of the commit (the third -- link in usr.sbin/Makefile) will be done after a more complete review by phk & obrien. NOTE: the number of drivers included in the default configuration is very minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to have a more complete version will find recompilation very easy. It builds and runs on both alpha & i386. It also does survive "make world". Reviewed by: phk, obrien (partly)
22 lines
379 B
Makefile
22 lines
379 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
|
|
|
DPADD= ${LIBNTP} ${LIBKVM}
|
|
LDADD= ${LIBNTP} ${LIBKVM}
|
|
|
|
PROG= ntptimeset
|
|
NOMAN= yes
|
|
CLEANFILES+= .version version.c
|
|
|
|
SRCS= ntptimeset.c ntptime_config.c version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntptimeset
|
|
|
|
.include <bsd.prog.mk>
|