diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-06-11 09:16:28 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-06-11 09:16:28 +0000 |
commit | 3ae1582636518a8e5f11436debf2dd08d92e6725 (patch) | |
tree | dc67db7ece7397480f6697074dfaba4c65a83b19 /usr.sbin/named | |
parent | ff55f425458c85025b826eec66e138ef4679a7d0 (diff) | |
download | src-3ae1582636518a8e5f11436debf2dd08d92e6725.tar.gz src-3ae1582636518a8e5f11436debf2dd08d92e6725.zip |
libbind.a and associated makefile goo is only used for named and named-xfer
now for the isc library.
Notes
Notes:
svn path=/head/; revision=36893
Diffstat (limited to 'usr.sbin/named')
-rw-r--r-- | usr.sbin/named/Makefile.inc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc index b0cf3a2df544..23dd5cf23b02 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 |