From 2a6ecd5db5e5302c4414b6e7780c38c418a9f4b0 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 11 Jun 1998 09:16:28 +0000 Subject: libbind.a and associated makefile goo is only used for named and named-xfer now for the isc library. --- usr.sbin/named/Makefile.inc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'usr.sbin/named') diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc index b0cf3a2..23dd5cf 100644 --- a/usr.sbin/named/Makefile.inc +++ b/usr.sbin/named/Makefile.inc @@ -1,5 +1,5 @@ # From: Id: Makefile.inc,v 8.4 1996/03/03 17:42:43 vixie Exp -# $Id: Makefile.inc,v 1.6 1998/05/03 05:09:12 peter Exp $ +# $Id: Makefile.inc,v 1.7 1998/05/06 13:23:39 bde Exp $ .ifndef (Mk.Inc) Mk.Inc?=defined @@ -16,8 +16,11 @@ DESTRUN= /var/run DESTSBIN= /usr/sbin DESTHELP= /usr/share/misc -INCLUDE= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include -I. -CFLAGS+= ${INCLUDE} ${CONFIG} +CFLAGS+= -I ${BIND_DIR}/port/freebsd/include + +# This is mostly for named and named-xfer +.if defined(USE_LIBBIND) +CFLAGS+= -idirafter ${BIND_DIR}/include .if exists(${.OBJDIR}/../../lib/libbind) LIBBINDDIR:= ${.OBJDIR}/../../lib/libbind @@ -29,7 +32,8 @@ LIBBIND:= ${LIBBINDDIR}/libbind.a DPADD+= ${LIBBIND} LDADD+= ${LIBBIND} -CLEANFILES+= tmp_version.c pathnames.h +CLEANFILES+= tmp_version.c pathnames.h +CFLAGS+= -I. tmp_version.c: version.c ${BIND_DIR}/Version (u=$${USER-root} d=`pwd` h=`hostname` t=`LC_TIME=C date`; \ @@ -45,5 +49,7 @@ pathnames.h: pathtemplate.h ${.CURDIR}/../../usr.sbin/named/Makefile.inc -e "s|%DESTRUN%|${DESTRUN}|" \ < ${BIND_DIR}/bin/named/pathtemplate.h > pathnames.h +.endif + .include "Makefile.maninc" .endif -- cgit v1.1