summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntp-keygen/Makefile
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2008-08-22 16:00:48 +0000
committerroberto <roberto@FreeBSD.org>2008-08-22 16:00:48 +0000
commite01fe39f04056ee9114cad5f8fcceafa3856c80c (patch)
tree09f1e02ba3375bb9d3a329705c08f20103f72e74 /usr.sbin/ntp/ntp-keygen/Makefile
parentb85c7169a740b2edf0106ad59fdaa1b0160f823c (diff)
downloadFreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.zip
FreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.tar.gz
Update the various files to sync with vendor import of 4.2.4p5.
sntp includes a copy of libopts in itself in vendor code, rewrite the Makefile to compile and use only one copy. It is an internal library, not installed. MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/ntp/ntp-keygen/Makefile')
-rw-r--r--usr.sbin/ntp/ntp-keygen/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ntp/ntp-keygen/Makefile b/usr.sbin/ntp/ntp-keygen/Makefile
index 5211b6f..a0fee44 100644
--- a/usr.sbin/ntp/ntp-keygen/Makefile
+++ b/usr.sbin/ntp/ntp-keygen/Makefile
@@ -8,11 +8,13 @@ NO_MAN=
${.CURDIR}/../../../contrib/ntp/ntpd
PROG= ntp-keygen
+SRCS= ntp-keygen.c ntp-keygen-opts.c
-CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
+CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
+ -I${.CURDIR}/../../../contrib/ntp/libopts
-DPADD= ${LIBNTP}
-LDADD= ${LIBNTP}
+DPADD= ${LIBNTP} ${LIBOPTS}
+LDADD= ${LIBNTP} ${LIBOPTS}
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
DPADD+= ${LIBMD} ${LIBCRYPTO}
OpenPOWER on IntegriCloud