1cc559270SOllivier Robert# $FreeBSD$ 2cc559270SOllivier Robert 3*3bdf7758SWarner LoshMAN= 4e1fe3dbaSRuslan Ermilov 5e1fe3dbaSRuslan Ermilov.include <bsd.own.mk> 6e1fe3dbaSRuslan Ermilov 7cc559270SOllivier Robert.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc 8cc559270SOllivier Robert 9cc559270SOllivier RobertPROG= ntpdc 10271c3a90SOllivier RobertSRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c 11cc559270SOllivier Robert 12271c3a90SOllivier RobertCFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ 13271c3a90SOllivier Robert -I${.CURDIR}/../../../contrib/ntp/libopts 144c49e2a2SOllivier Robert 15271c3a90SOllivier RobertDPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS} 16271c3a90SOllivier RobertLDADD= ${LIBNTP} -lm -lmd ${LIBOPTS} 17d060ebf7SOllivier Robert 181e3f1446SDavid E. O'BrienDPADD+= ${LIBEDIT} ${LIBTERMCAP} 191e3f1446SDavid E. O'BrienLDADD+= -ledit -ltermcap 201e3f1446SDavid E. O'BrienCFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \ 211e3f1446SDavid E. O'Brien -I${DESTDIR}/${INCLUDEDIR}/edit 224c49e2a2SOllivier Robert 234c49e2a2SOllivier RobertCLEANFILES+= .version version.c 244c49e2a2SOllivier Robert 25cc559270SOllivier Robertversion.c: 26cc559270SOllivier Robert sh -e ${.CURDIR}/../scripts/mkver ntpdc 27cc559270SOllivier Robert 284c988ca8SOllivier Robertafterinstall: 294c988ca8SOllivier Robert rm -f ${DESTDIR}/usr/sbin/xntpdc 304c988ca8SOllivier Robert 31cc559270SOllivier Robert.include <bsd.prog.mk> 32