summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpq/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/ntpq/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/ntpq/Makefile')
-rw-r--r--usr.sbin/ntp/ntpq/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ntp/ntpq/Makefile b/usr.sbin/ntp/ntpq/Makefile
index 6e749d6..42cc750 100644
--- a/usr.sbin/ntp/ntpq/Makefile
+++ b/usr.sbin/ntp/ntpq/Makefile
@@ -9,12 +9,13 @@ NO_MAN=
BINDIR= /usr/bin
PROG= ntpq
-SRCS= ntpq.c ntpq_ops.c version.c
+SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c
-CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
+CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
+ -I${.CURDIR}/../../../contrib/ntp/libopts
-DPADD= ${LIBNTP} ${LIBMD}
-LDADD= ${LIBNTP} -lmd
+DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS}
+LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS}
.if ${MK_GNU_SUPPORT} != "no"
DPADD+= ${LIBREADLINE} ${LIBTERMCAP}
OpenPOWER on IntegriCloud