1999-12-13 14:09:56 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
|
|
|
|
|
2000-01-01 23:58:01 +00:00
|
|
|
PROG= ntpdc
|
1999-12-13 14:09:56 +00:00
|
|
|
|
2000-01-01 23:58:01 +00:00
|
|
|
SRCS= ntpdc.c ntpdc_ops.c version.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
1999-12-13 14:09:56 +00:00
|
|
|
|
|
|
|
NOMAN= yes
|
|
|
|
|
2000-01-01 23:58:01 +00:00
|
|
|
DPADD= ${LIBNTP}
|
|
|
|
LDADD= ${LIBNTP}
|
|
|
|
|
|
|
|
CLEANFILES+= .version version.c
|
1999-12-13 14:09:56 +00:00
|
|
|
|
|
|
|
version.c:
|
|
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpdc
|
|
|
|
|
1999-12-16 12:40:51 +00:00
|
|
|
afterinstall:
|
|
|
|
rm -f ${DESTDIR}/usr/sbin/xntpdc
|
|
|
|
|
1999-12-13 14:09:56 +00:00
|
|
|
.include <bsd.prog.mk>
|