1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq 4 5BINDIR= /usr/bin 6 7PROG= ntpq 8NOMAN= yes 9SRCS= ntpq.c ntpq_ops.c version.c 10 11CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ 12 13DPADD= ${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP} ${LIBMD} 14LDADD= ${LIBNTP} -lreadline -ltermcap -lmd 15 16CLEANFILES+= .version version.c 17 18version.c: 19 sh -e ${.CURDIR}/../scripts/mkver ntpq 20 21.include <bsd.prog.mk> 22