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