1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.sbin/ntp/ntpdc/Makefile

23 lines
447 B
Makefile
Raw Normal View History

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