1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${SRCTOP}/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${SRCTOP}/contrib/ntp/include \ 13 -I${SRCTOP}/contrib/ntp/include \ 14 -I${SRCTOP}/contrib/ntp/lib/isc/include \ 15 -I${SRCTOP}/contrib/ntp/lib/isc/unix/include \ 16 -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \ 17 -I${SRCTOP}/contrib/ntp/sntp \ 18 -I${SRCTOP}/contrib/ntp/sntp/libopts \ 19 -I${SRCTOP}/contrib/ntp/sntp/libevent/include \ 20 -I${.CURDIR:H}/libntpevent \ 21 -I${.CURDIR:H} 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