Makefile revision 1.10
1# $NetBSD: Makefile,v 1.10 2023/06/03 09:09:04 lukem Exp $ 2 3.include <bsd.own.mk> 4 5PROG= ntpq 6MAN= ntpq.8 7BINDIR= /usr/sbin 8 9SRCS= ntpq.c \ 10 ntpq-subs.c \ 11 ntpq-opts.c 12 13LDADD+= -L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lterminfo -lm 14#DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBEDIT} ${LIBTERMINFO} ${LIBM} 15 16.include "${.CURDIR}/../Makefile.inc" 17 18DIST=${IDIST}/ntpq 19 20CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts 21 22.PATH: ${DIST} 23 24COPTS.ntpq.c+= ${CC_WNO_STRINGOP_TRUNCATION} 25 26CLEANFILES+=${MAN} 27 28.include <bsd.prog.mk> 29