1 2.include <src.opts.mk> 3 4.PATH: ${SRCTOP}/contrib/ntp/sntp 5 6PACKAGE=ntp 7PROG= sntp 8MAN= 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/libntp/lib/isc/include \ 15 -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \ 16 -I${SRCTOP}/contrib/ntp/libntp/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 md ntp ntpevent pthread 24 25.if ${MK_OPENSSL} != "no" 26LIBADD+= crypto 27.endif 28 29.include <bsd.prog.mk> 30