2c5569d6ff
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.".
24 lines
587 B
Makefile
24 lines
587 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
|
|
MAN8= 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>
|