Unbound's config.h is manually maintained, using a ./configure produced

config.h as a guide. In practice contributed software maintains a copy
of config.h within its build directory tree containing its Makefile.
usr.sbin/unbound is the home for its config.h.

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D22983
This commit is contained in:
cy 2020-01-13 06:55:31 +00:00
parent 4355981803
commit 6a71b7809e
6 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ PRIVATELIB=
PACKAGE= unbound PACKAGE= unbound
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${.OBJDIR} CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${.OBJDIR}
CFLAGS+= -I${SRCTOP}/usr.sbin/unbound
SRCS= alloc.c as112.c authzone.c autotrust.c cachedb.c config_file.c \ SRCS= alloc.c as112.c authzone.c autotrust.c cachedb.c config_file.c \
configlexer.l configparser.y context.c dname.c dns.c dns64.c \ configlexer.l configparser.y context.c dname.c dns.c dns64.c \

View File

@ -10,6 +10,7 @@ EXPATDIR= ${SRCTOP}/contrib/expat
PROG= local-unbound-anchor PROG= local-unbound-anchor
SRCS= unbound-anchor.c SRCS= unbound-anchor.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${EXPATDIR}/lib CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${EXPATDIR}/lib
CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound bsdxml ssl crypto pthread LIBADD= unbound bsdxml ssl crypto pthread
MAN= local-unbound-anchor.8 MAN= local-unbound-anchor.8

View File

@ -9,6 +9,7 @@ UNBOUNDDIR= ${SRCTOP}/contrib/unbound
PROG= local-unbound-checkconf PROG= local-unbound-checkconf
SRCS= ub_event.c unbound-checkconf.c worker_cb.c SRCS= ub_event.c unbound-checkconf.c worker_cb.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound pthread LIBADD= unbound pthread
MAN= local-unbound-checkconf.8 MAN= local-unbound-checkconf.8

View File

@ -1,5 +1,6 @@
/* config.h. Generated from config.h.in by configure. */ /* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
/* $FreeBSD$ */
/* apply the noreturn attribute to a function that exits the program */ /* apply the noreturn attribute to a function that exits the program */
#define ATTR_NORETURN __attribute__((__noreturn__)) #define ATTR_NORETURN __attribute__((__noreturn__))

View File

@ -9,6 +9,7 @@ UNBOUNDDIR= ${SRCTOP}/contrib/unbound
PROG= local-unbound-control PROG= local-unbound-control
SRCS= ub_event.c unbound-control.c worker_cb.c SRCS= ub_event.c unbound-control.c worker_cb.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound crypto ssl pthread LIBADD= unbound crypto ssl pthread
MAN= local-unbound-control.8 MAN= local-unbound-control.8

View File

@ -10,6 +10,7 @@ PROG= local-unbound
SRCS= acl_list.c cachedump.c daemon.c remote.c shm_main.c stats.c \ SRCS= acl_list.c cachedump.c daemon.c remote.c shm_main.c stats.c \
ub_event.c unbound.c worker.c ub_event.c unbound.c worker.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound util ssl crypto pthread LIBADD= unbound util ssl crypto pthread
MAN= local-unbound.8 local-unbound.conf.5 MAN= local-unbound.8 local-unbound.conf.5