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