diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2015-03-30 13:30:15 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2015-03-30 13:30:15 +0000 |
| commit | 2b15cb3d0922bd70ea592f0da9b4a5b167f4d53f (patch) | |
| tree | 388af01c574ac107295ae453bab1e272bbfcda27 /usr.sbin/ntp/ntpdate | |
| parent | a83592093c063d2b02127a1de7c7c93d5f600bd2 (diff) | |
| parent | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ntp/ntpdate')
| -rw-r--r-- | usr.sbin/ntp/ntpdate/Makefile | 14 |
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 |
