154552Sroberto# $FreeBSD: releng/11.0/usr.sbin/ntp/ntpdate/Makefile 283542 2015-05-25 20:27:46Z bapt $ 254552Sroberto 3280849Scy.include <src.opts.mk> 4280849Scy 580029Sobrien.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate 654552Sroberto 780029SobrienPROG= ntpdate 8264400SimpMAN= 980029SobrienSRCS= ntpdate.c version.c 1055307Sroberto 11280849ScyCFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 12280849Scy -I${.CURDIR}/../../../contrib/ntp/lib/isc/include/ \ 13280849Scy -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include/ \ 14280849Scy -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 15280849Scy -I${.CURDIR}/../ 1654552Sroberto 17283542SbaptLIBADD= ntp m pthread 1855307Sroberto 19280849Scy.if ${MK_OPENSSL} != "no" 20283542SbaptLIBADD+= crypto 21283542Sbapt.else 22283542SbaptLIBADD+= md 23280849Scy.endif 24280849Scy 2554552SrobertoCLEANFILES+= .version version.c 2654552Sroberto 2754552Srobertoversion.c: 2854552Sroberto sh -e ${.CURDIR}/../scripts/mkver ntpdate 2954552Sroberto 3054552Sroberto.include <bsd.prog.mk> 31