2001-08-29 16:23:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
NO_MAN=
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2003-04-04 17:49:21 +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
|
|
|
|
2008-08-22 16:00:48 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/libopts
|
2001-08-29 16:23:52 +00:00
|
|
|
|
2008-08-22 16:00:48 +00:00
|
|
|
DPADD= ${LIBNTP} ${LIBOPTS}
|
|
|
|
LDADD= ${LIBNTP} ${LIBOPTS}
|
2004-07-22 09:10:52 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
|
2004-07-22 09:10:52 +00:00
|
|
|
DPADD+= ${LIBMD} ${LIBCRYPTO}
|
|
|
|
LDADD+= -lmd -lcrypto
|
|
|
|
.endif
|
2001-08-29 16:23:52 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|