Commit Graph

128 Commits

Author SHA1 Message Date
he 2c2b5873de If we're not using pthreads, claim also that we don't have sigwait.
This works around the problems observed on sparc and sparc64 (where
we've disabled use of pthreads) where the BIND applications end up
being killed with SIGTERM instead of exiting gracefully.
2006-10-22 20:53:51 +00:00
peter e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
jdc 80ab849735 Disable threaded support for sparc and sparc64.
OK martin@.
2006-08-28 15:37:05 +00:00
mrg 5609a371c9 make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
mrg aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
christos 449dbee9f0 Compile with OPENSSL. 2006-05-06 17:51:46 +00:00
christos ed53f670c4 remove programs that have been deprecated. 2005-12-22 00:27:23 +00:00
christos bd58506612 Resolve conflicts 2005-12-22 00:19:00 +00:00
christos 97babf6224 add the dnssec and namedb check tools 2005-11-19 02:09:27 +00:00
rpaulo 79cf1201a9 Install HTML BIND 9 Documentation 2005-10-10 13:21:43 +00:00
tron 7663ad07fa Remove outdated BIND 8 version of named.conf(5). The build now picks up
the correct version from "src/dist/bind/bin/named".
2005-07-01 12:10:43 +00:00
lukem b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
he ab248774f6 For the sh5 target, reduce optimization level for two files so that
BIND compiles on that platform.
2004-11-11 00:34:05 +00:00
christos 4614af85f7 We control threaded or not from the Makefile 2004-11-07 02:54:55 +00:00
christos 1a8b79bc27 Add netbsd id 2004-11-07 01:13:32 +00:00
christos b1454ec955 - add netbsd id
- define that we have threads
2004-11-07 01:13:18 +00:00
christos 74786d7691 - add netbsd id
- use endian.h to determine endianness
2004-11-07 01:12:56 +00:00
christos 008f1a9208 includes for bind-9-3-0 2004-11-07 01:07:26 +00:00
heas 4e29cf9d07 Reference rndc(8) instead of bind8's ndc(8).
ISC-Bugs #11509
2004-06-03 15:05:45 +00:00
lukem a7bdccd7ef Improve how the various helper libraries are added to LDADD/DPADD, including
supporting caching the OBJDIRS (via .MAKEOVERRIDES) to speed up subdir makes.
(Based on similar work in gnu/usr.sbin/postfix)
2004-05-23 03:16:40 +00:00
lukem deb5b059d1 use MKPRIVATELIB=yes (instead of setting various other stuff to no) 2004-05-23 02:49:26 +00:00
wiz c50b05e3d3 Some more or less mechanic updates for bind8 -> bind9.
Also, refer only to latest DNSSEC RFC. Bump date.
2004-05-21 23:34:31 +00:00
christos 14b88f7570 The Makefile.inc determines if we have threads or not, so don't hard-code this. 2004-05-21 16:05:51 +00:00
wiz 552e912079 Use Sq, Dq; sort sections; new sentence, new line;
refer to DNSSec RFCs in SEE ALSO (since they are mentioned in the text;
XXX: text should be updated to refer to latest one only);
XXX: refers to BIND 8.
2004-05-20 01:01:33 +00:00
wiz fcff0031f7 New sentence, new line; use more macros; sort sections;
sort SEE ALSO; replace > with \*[Gt].
2004-05-20 00:37:51 +00:00
wiz 810322e03d Drop trailing whitespace. 2004-05-20 00:26:19 +00:00
itojun d405fc4436 build and install rndc-confgen (needed to create rndc.key) 2004-05-19 10:29:21 +00:00
christos b1fa643acc remove old makefiles 2004-05-18 00:13:44 +00:00
christos d981be40cf remove garbage file 2004-05-18 00:11:33 +00:00
christos 5862d9d92c Resolve conflicts 2004-05-18 00:10:39 +00:00
christos 9c2ff49b1e Import bind9 build framework 2004-05-18 00:06:57 +00:00
lukem 922c63e0b6 use != "no" 2004-01-03 13:46:30 +00:00
scw 801bdc886f Gcc3 for sh5 gets an ICE compiling ns_main.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 19:57:39 +00:00
itojun 29d9058dc7 remove BIND crypto portion, as the license doesn't fit our policy and we do not
import those sources.
2003-10-22 05:56:36 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem 8233be784c support MAKEVERBOSE 2003-10-19 06:12:07 +00:00
martin 0af2c4286d Remove sparc64 special case handling - no longer needed. 2003-09-19 16:39:52 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem c0a8541252 oops, typo in previous. should have been COPTS.sha.c. (this was not being compiled anyway, but...) 2003-07-22 12:50:46 +00:00
lukem 77c4c3827a use COPTS.sha1.c=-O0 to turn off optimization for sha1.c 2003-07-22 12:39:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
lukem 0944ed1dd1 tmp_version.c also needs to depend up ${BIND_DIST_DIR}/Version 2002-06-28 16:27:14 +00:00
itojun ce924b0f55 sync with 8.3.2. 99% of conflicts were due to $NetBSD$ tag. 2002-06-20 11:42:53 +00:00
wiz 320ebd413b Whitespace nits. 2002-01-19 03:06:54 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
jmc c1c3d851ce Don't set $ROFF as the default from bsd.doc.mk is the same thing. This way
bsd.own.mk can override for cross builds correctly
2001-12-09 23:40:24 +00:00
itojun 59dea86dc0 disable DNSSEC build, for two reasons. (1) restrictive license
(2) due to protocol changes BIND8 DNSSEC code is not really useful
2001-05-27 04:39:40 +00:00