# $NetBSD: Makefile,v 1.7.34.1 2020/10/12 10:17:33 martin Exp $ .include PROG= ntpq MAN= ntpq.8 BINDIR= /usr/sbin SRCS= ntpq.c \ ntpq-subs.c \ ntpq-opts.c LDADD+= -L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lterminfo -lm #DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBEDIT} ${LIBTERMINFO} ${LIBM} .include "${.CURDIR}/../Makefile.inc" DIST=${IDIST}/ntpq CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts .PATH: ${DIST} CLEANFILES+=${MAN} .include