13bdf7758SWarner LoshMAN= 2e1fe3dbaSRuslan Ermilov 32b15cb3dSCy Schubert.include <src.opts.mk> 4e1fe3dbaSRuslan Ermilov 5af6a5351SEnji Cooper.PATH: ${SRCTOP}/contrib/ntp/ntpdc 6cc559270SOllivier Robert 72f9966ffSLexi WinterPACKAGE=ntp 8cc559270SOllivier RobertPROG= ntpdc 9271c3a90SOllivier RobertSRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c 10cc559270SOllivier Robert 11af6a5351SEnji CooperCFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 12a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/include \ 13a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \ 14a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \ 15af6a5351SEnji Cooper -I${SRCTOP}/contrib/ntp/sntp/libopts \ 16af6a5351SEnji Cooper -I${.CURDIR}/lib/libc/${MACHINE_ARCH} \ 17af6a5351SEnji Cooper -I${.CURDIR:H} -I${.CURDIR} 184c49e2a2SOllivier Robert 19*f5f40dd6SCy SchubertLIBADD= edit ntp m md opts pthread 204c49e2a2SOllivier Robert 212b15cb3dSCy Schubert.if ${MK_OPENSSL} != "no" 22ef0cb5dbSBaptiste DaroussinLIBADD+= crypto 232b15cb3dSCy Schubert.endif 242b15cb3dSCy Schubert 254c49e2a2SOllivier RobertCLEANFILES+= .version version.c 264c49e2a2SOllivier Robert 27cc559270SOllivier Robertversion.c: 28982a915fSEnji Cooper sh -e ${.CURDIR:H}/scripts/mkver ntpdc 29cc559270SOllivier Robert 30cc559270SOllivier Robert.include <bsd.prog.mk> 31