diff options
author | peter <peter@FreeBSD.org> | 1998-06-11 09:16:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-11 09:16:28 +0000 |
commit | 2a6ecd5db5e5302c4414b6e7780c38c418a9f4b0 (patch) | |
tree | 01f60cbc300a9b7aec7e68884920eb0897dff49c /usr.sbin/named | |
parent | 810f8af7ebeac898bdf95d72cf28136b6e094233 (diff) | |
download | FreeBSD-src-2a6ecd5db5e5302c4414b6e7780c38c418a9f4b0.zip FreeBSD-src-2a6ecd5db5e5302c4414b6e7780c38c418a9f4b0.tar.gz |
libbind.a and associated makefile goo is only used for named and named-xfer
now for the isc library.
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 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 |