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