mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
libbind.a and associated makefile goo is only used for named and named-xfer
now for the isc library.
This commit is contained in:
parent
ff55f42545
commit
3ae1582636
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36893
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user