libbind.a and associated makefile goo is only used for named and named-xfer

now for the isc library.
This commit is contained in:
peter 1998-06-11 09:16:28 +00:00
parent 09212697f1
commit 2989ab4b35

View File

@ -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