mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
32 lines
654 B
Makefile
32 lines
654 B
Makefile
# $FreeBSD$
|
|
|
|
MAN=
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
|
|
|
|
PROG= ntpdc
|
|
SRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
|
|
-I${.CURDIR}/../../../contrib/ntp/libopts
|
|
|
|
DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS}
|
|
LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS}
|
|
|
|
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
|
|
LDADD+= -ledit -ltermcap
|
|
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
|
-I${DESTDIR}/${INCLUDEDIR}/edit
|
|
|
|
CLEANFILES+= .version version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpdc
|
|
|
|
afterinstall:
|
|
rm -f ${DESTDIR}/usr/sbin/xntpdc
|
|
|
|
.include <bsd.prog.mk>
|