a38e45559a
Fix building WITHOUT_OPENSSL
30 lines
740 B
Makefile
30 lines
740 B
Makefile
# $FreeBSD$
|
|
|
|
MAN=
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/util \
|
|
${.CURDIR}/../../../contrib/ntp/ntpd
|
|
|
|
PROG= ntp-keygen
|
|
SRCS= ntp-keygen.c ntp-keygen-opts.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \
|
|
-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}/../../../contrib/ntp/lib/isc/${NTP_ATOMIC}/include \
|
|
-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
|
|
-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
|
|
-I${.CURDIR}/../
|
|
|
|
LIBADD+= ntp opts pthread
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
LIBADD+= crypto
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|