summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpq/Makefile
blob: f17aa635a9bbfc50615411787b6280a2e4dce7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq

BINDIR=	/usr/bin

PROG=	ntpq
NOMAN=	yes
SRCS= 	ntpq.c ntpq_ops.c version.c

CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../

DPADD=	${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP}
LDADD=	${LIBNTP} -lreadline -ltermcap

CLEANFILES+= .version version.c

version.c: 
	sh -e ${.CURDIR}/../scripts/mkver ntpq

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud