1# $FreeBSD$ 2 3MAN= 4 5.include <src.opts.mk> 6 7.PATH: ${.CURDIR}/../../../contrib/ntp/util \ 8 ${.CURDIR}/../../../contrib/ntp/ntpd 9 10PROG= ntp-keygen 11SRCS= ntp-keygen.c ntp-keygen-opts.c 12 13CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ 14 -I${.CURDIR}/../../../contrib/ntp/libopts 15 16DPADD= ${LIBNTP} ${LIBOPTS} 17LDADD= ${LIBNTP} ${LIBOPTS} 18 19.if ${MK_OPENSSL} != "no" 20DPADD+= ${LIBMD} ${LIBCRYPTO} 21LDADD+= -lmd -lcrypto 22.endif 23 24.include <bsd.prog.mk> 25