mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
c6db8143ed
Reduce overlinking
27 lines
501 B
Makefile
27 lines
501 B
Makefile
# $FreeBSD$
|
|
|
|
MAN=
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq
|
|
|
|
BINDIR= /usr/bin
|
|
|
|
PROG= ntpq
|
|
SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
|
|
-I${.CURDIR}/../../../contrib/ntp/libopts
|
|
|
|
LIBADD+= edit md ntp opts
|
|
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
|
-I${DESTDIR}/${INCLUDEDIR}/edit
|
|
|
|
CLEANFILES+= .version version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpq
|
|
|
|
.include <bsd.prog.mk>
|