1 2.include <src.opts.mk> 3 4.PATH: ${SRCTOP}/contrib/ntp/sntp 5 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 ntp ntpevent pthread 23 24.if ${MK_OPENSSL} != "no" 25LIBADD+= crypto 26.else 27LIBADD+= md 28.endif 29 30.include <bsd.prog.mk> 31