1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/usr.sbin/ntp/sntp/Makefile

32 lines
798 B
Makefile
Raw Normal View History

# $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>