freebsd-nq/usr.sbin/ntp/ntpq/Makefile
Ollivier Robert a5b1043f74 Update ntpd to 4.1.1a. This contains many bug fixes made on the STABLE
branch and a few new drivers. See contrib/ntp/ChangeLog for details.

Hide kernel header sys/lock.h from ntp [1]

PR:		bin/33914
Submitted by:	thomas, bde[1]
MFC after:	1 month
2002-10-29 20:20:36 +00:00

22 lines
397 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq
BINDIR= /usr/bin
PROG= ntpq
NOMAN= yes
SRCS= ntpq.c ntpq_ops.c version.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
DPADD= ${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP}
LDADD= ${LIBNTP} -lreadline -ltermcap
CLEANFILES+= .version version.c
version.c:
sh -e ${.CURDIR}/../scripts/mkver ntpq
.include <bsd.prog.mk>