1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../../../contrib/ntp/sntp 6 7PROG= sntp 8MK_MAN= no 9SRCS= crypto.c kod_management.c log.c main.c networking.c \ 10 sntp-opts.c sntp.c utilities.c 11 12CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 13 -I${.CURDIR}/../../../contrib/ntp/include \ 14 -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \ 15 -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \ 16 -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 17 -I${.CURDIR}/../../../contrib/ntp/sntp \ 18 -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \ 19 -I${.CURDIR}/../../../contrib/ntp/sntp/libevent/include \ 20 -I${.CURDIR}/../libntpevent \ 21 -I${.CURDIR}/../ 22 23LIBADD= m opts ntp ntpevent pthread 24 25.if ${MK_OPENSSL} != "no" 26LIBADD+= crypto 27.else 28LIBADD+= md 29.endif 30 31.include <bsd.prog.mk> 32