freebsd-nq/usr.sbin/nslookup/Makefile
2001-03-26 14:42:20 +00:00

24 lines
586 B
Makefile

# $FreeBSD$
USE_LIBBIND= yes
.include "${.CURDIR}/../named/Makefile.inc"
.PATH: ${BIND_DIR}/bin/nslookup
.PATH: ${BIND_DIR}/doc/man
PROG= nslookup
SRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c commands.l
MAN= nslookup.8
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>