NetBSD/usr.sbin/bind/Makefile.inc
itojun 548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00

19 lines
460 B
Makefile

# $NetBSD: Makefile.inc,v 1.6 2000/03/01 10:50:01 itojun Exp $
WARNS=0
BIND_DIR= ${.CURDIR}/..
BIND_DIST_DIR= ${.CURDIR}/../../../dist/bind
VER!= awk '$$1 == "VER=" { print $$2 ; exit }' ${BIND_DIR}/Makefile
NAMED= named
PIDFILE= /var/run/named.pid
PS= ps
LIB_BIND!= cd ${BIND_DIR}/lib; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | \
${MAKE} -s -f -
INCLUDE?= -I${LIB_BIND} -I${.OBJDIR} -I${BIND_DIST_DIR}/include
LIBRARY?= -L${LIB_BIND} -lbind