aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ntp/ntpdate
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-03-30 13:30:15 +0000
committerCy Schubert <cy@FreeBSD.org>2015-03-30 13:30:15 +0000
commit2b15cb3d0922bd70ea592f0da9b4a5b167f4d53f (patch)
tree388af01c574ac107295ae453bab1e272bbfcda27 /usr.sbin/ntp/ntpdate
parenta83592093c063d2b02127a1de7c7c93d5f600bd2 (diff)
parentf7cba3a80d9ebefc57776fffd17a4ae68f72e494 (diff)
Notes
Diffstat (limited to 'usr.sbin/ntp/ntpdate')
-rw-r--r--usr.sbin/ntp/ntpdate/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntpdate/Makefile b/usr.sbin/ntp/ntpdate/Makefile
index 7a45835e7662..8fdd8f75e056 100644
--- a/usr.sbin/ntp/ntpdate/Makefile
+++ b/usr.sbin/ntp/ntpdate/Makefile
@@ -1,14 +1,24 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate
PROG= ntpdate
MAN=
SRCS= ntpdate.c version.c
-CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
+CFLAGS+= -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}/../
+
+LIBADD= rt ntp m pthread
-LIBADD= md rt ntp
+.if ${MK_OPENSSL} != "no"
+LIBADD+= md ssl crypto
+.endif
CLEANFILES+= .version version.c