1MAN= 2 3.include <src.opts.mk> 4 5.PATH: ${SRCTOP}/contrib/ntp/ntpq 6 7BINDIR= /usr/bin 8 9PACKAGE=ntp 10PROG= ntpq 11SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c 12 13CFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 14 -I${SRCTOP}/contrib/ntp/include \ 15 -I${SRCTOP}/contrib/ntp/libntp/lib/isc/include \ 16 -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \ 17 -I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \ 18 -I${SRCTOP}/contrib/ntp/libntp/lib/isc/${NTP_ATOMIC}/include \ 19 -I${SRCTOP}/contrib/ntp/sntp/libopts \ 20 -I${.CURDIR:H} 21 22LIBADD+= edit ntp opts m md pthread 23 24.if ${MK_OPENSSL} != "no" 25LIBADD+= crypto 26.endif 27 28CLEANFILES+= .version version.c 29 30version.c: 31 sh -e ${.CURDIR:H}/scripts/mkver ntpq 32 33.include <bsd.prog.mk> 34