1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.sbin/ntp/sntp/Makefile
Baptiste Daroussin ef0cb5db0a Fix overlinking again after recent ntp updates
Fix building WITHOUT_OPENSSL
2015-05-25 20:27:46 +00:00

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>