summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpdate/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/ntpdate/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/ntpdate/Makefile')
-rw-r--r--usr.sbin/ntp/ntpdate/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntpdate/Makefile b/usr.sbin/ntp/ntpdate/Makefile
index a72f550..0814e8e 100644
--- a/usr.sbin/ntp/ntpdate/Makefile
+++ b/usr.sbin/ntp/ntpdate/Makefile
@@ -8,8 +8,8 @@ SRCS= ntpdate.c version.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
-DPADD= ${LIBNTP} ${LIBMD}
-LDADD= ${LIBNTP} -lmd
+DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBRT}
+LDADD= ${LIBNTP} -lm -lmd -lrt
CLEANFILES+= .version version.c
OpenPOWER on IntegriCloud