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