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)
23 lines
370 B
Makefile
23 lines
370 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
|
|
|
DPADD= ${LIBNTP} ${LIBKVM}
|
|
LDADD= ${LIBNTP} ${LIBKVM}
|
|
|
|
PROG= ntpq
|
|
NOMAN= yes
|
|
CLEANFILES+= .version version.c
|
|
BINDIR= /usr/bin
|
|
|
|
SRCS= ntpq.c ntpq_ops.c version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpq
|
|
|
|
.include <bsd.prog.mk>
|