1999-12-13 14:09:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
|
1999-12-13 14:09:56 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
PROG= ntpdc
|
|
|
|
NOMAN= yes
|
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
|
|
|
|
2004-07-20 15:44:32 +00:00
|
|
|
DPADD= ${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP} ${LIBMD}
|
|
|
|
LDADD= ${LIBNTP} -lreadline -ltermcap -lmd
|
2000-01-01 23:58:01 +00:00
|
|
|
|
|
|
|
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>
|