freebsd-nq/usr.sbin/ntp/ntpdc/Makefile

27 lines
389 B
Makefile
Raw Normal View History

#
# $FreeBSD$
#
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
PROG= ntpdc
SRCS= ntpdc.c ntpdc_ops.c version.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
NOMAN= yes
DPADD= ${LIBNTP}
LDADD= ${LIBNTP}
CLEANFILES+= .version version.c
version.c:
sh -e ${.CURDIR}/../scripts/mkver ntpdc
afterinstall:
rm -f ${DESTDIR}/usr/sbin/xntpdc
.include <bsd.prog.mk>