1# $FreeBSD$ 2 3MAN= 4 5.include <src.opts.mk> 6 7.PATH: ${SRCTOP}/contrib/ntp/util \ 8 ${SRCTOP}/contrib/ntp/ntpd 9 10PROG= ntp-keygen 11SRCS= ntp-keygen.c ntp-keygen-opts.c 12 13CFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 14 -I${SRCTOP}/contrib/ntp/include \ 15 -I${SRCTOP}/contrib/ntp/lib/isc/include \ 16 -I${SRCTOP}/contrib/ntp/lib/isc/unix/include \ 17 -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \ 18 -I${SRCTOP}/contrib/ntp/lib/isc/${NTP_ATOMIC}/include \ 19 -I${SRCTOP}/contrib/ntp/sntp/libopts \ 20 -I${.CURDIR}/lib/libc/${MACHINE_ARCH} \ 21 -I${.CURDIR:H} 22 23LIBADD+= ntp opts pthread 24 25.if ${MK_OPENSSL} != "no" 26LIBADD+= crypto 27.endif 28 29.include <bsd.prog.mk> 30