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

USE_LIBBIND=	yes
.include "${.CURDIR}/../named/Makefile.inc"

.PATH: ${BIND_DIR}/bin/nslookup
.PATH: ${BIND_DIR}/doc/man

PROG=	nslookup
MAN=	nslookup.8
SRCS=	main.c getinfo.c debug.c send.c skip.c list.c subr.c commands.l

CFLAGS+= -D_PATH_HELPFILE=\"${DESTHELP}/nslookup.help\"
CFLAGS+= -I${.CURDIR}/../../contrib/bind/bin/nslookup

LDADD+=	-ll -ledit -ltermcap
DPADD+=	${LIBL} ${LIBEDIT} ${LIBTERMCAP}

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${BIND_DIR}/bin/nslookup/nslookup.help \
		${DESTDIR}${DESTHELP}/nslookup.help

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