1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc 4 5PROG= ntpdc 6NOMAN= yes 7SRCS= ntpdc.c ntpdc_ops.c version.c 8 9CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ 10 11DPADD= ${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP} 12LDADD= ${LIBNTP} -lreadline -ltermcap 13 14CLEANFILES+= .version version.c 15 16version.c: 17 sh -e ${.CURDIR}/../scripts/mkver ntpdc 18 19afterinstall: 20 rm -f ${DESTDIR}/usr/sbin/xntpdc 21 22.include <bsd.prog.mk> 23