3 .PATH: ${.CURDIR}/../../../contrib/ntp/ntpq
9 SRCS= ntpq.c ntpq_ops.c version.c
11 CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
13 DPADD= ${LIBNTP} ${LIBMD}
17 DPADD+= ${LIBREADLINE} ${LIBTERMCAP}
18 LDADD+= -lreadline -ltermcap
19 CFLAGS+= -DHAVE_LIBREADLINE -DHAVE_READLINE_HISTORY_H \
20 -DHAVE_READLINE_READLINE_H
23 CLEANFILES+= .version version.c
26 sh -e ${.CURDIR}/../scripts/mkver ntpq
28 .include <bsd.prog.mk>