2001-08-29 16:23:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-04-13 05:21:56 +00:00
|
|
|
MAN=
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2015-03-30 13:30:15 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/util \
|
|
|
|
${.CURDIR}/../../../contrib/ntp/ntpd
|
2001-08-29 16:23:52 +00:00
|
|
|
|
2004-07-20 15:44:32 +00:00
|
|
|
PROG= ntp-keygen
|
2008-08-22 16:00:48 +00:00
|
|
|
SRCS= ntp-keygen.c ntp-keygen-opts.c
|
2001-08-29 16:23:52 +00:00
|
|
|
|
2015-03-30 13:30:15 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/${NTP_ATOMIC}/include \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
|
|
|
|
-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
|
|
|
|
-I${.CURDIR}/../
|
|
|
|
|
|
|
|
LIBADD+= ntp opts pthread
|
2004-07-22 09:10:52 +00:00
|
|
|
|
2014-06-06 04:09:07 +00:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
2015-05-25 20:27:46 +00:00
|
|
|
LIBADD+= crypto
|
2004-07-22 09:10:52 +00:00
|
|
|
.endif
|
2001-08-29 16:23:52 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|