mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
ef0cb5db0a
Fix building WITHOUT_OPENSSL
32 lines
798 B
Makefile
32 lines
798 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/sntp
|
|
|
|
PROG= sntp
|
|
MK_MAN= no
|
|
SRCS= crypto.c kod_management.c log.c main.c networking.c \
|
|
sntp-opts.c sntp.c utilities.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/sntp \
|
|
-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
|
|
-I${.CURDIR}/../../../contrib/ntp/sntp/libevent/include \
|
|
-I${.CURDIR}/../libntpevent \
|
|
-I${.CURDIR}/../
|
|
|
|
LIBADD= m opts ntp ntpevent pthread
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
LIBADD+= crypto
|
|
.else
|
|
LIBADD+= md
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|