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