freebsd-skq/usr.sbin/nslookup/Makefile
David E. O'Brien 90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00

25 lines
589 B
Makefile

# $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>