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