Commit Graph

92 Commits

Author SHA1 Message Date
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
itojun 840fe8eadc put -NOESW to version number if MKCRYPTO != yes, to sync better with original
BIND8 makefiles.
2001-05-27 04:08:04 +00:00
itojun 4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
itojun 9e66537acb use version identification same as ISC's. 2001-02-11 06:45:59 +00:00
lukem c1c612f728 link named-xfer statically, to make building chroot-ed named cages much easier 2001-02-11 01:33:59 +00:00
itojun 64a4efdbfa for sha.o target, use decl very similar to bsd.lib.mk 2001-01-28 01:43:26 +00:00
martin 3966d2696b Disable optimization when compiling sha.c.
This is a know bug (see our libc sha1 implementation and the associated
doc/hacks entry) with the toolchain used on sparc64 currently.

XXX - somebody please check/fix OBJDIR handling for this
XXX - somebody please fix the ****** toolchain
2001-01-28 00:42:20 +00:00
itojun cd938b3400 enable DNSSEC code (using -DDNSSAFE) if MKCRYPTO=yes 2001-01-27 08:14:43 +00:00
itojun ad5df36306 update $VER 2001-01-27 07:35:32 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
enami 30fc09dacc Use PRINTOBJDIR. 2001-01-11 13:15:06 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami 270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
tv a32617f770 This is now 8.2.2-P7, so update VER. 2000-11-13 22:45:05 +00:00
itojun 7da1bb7a9c synchronize with BIND 8.2.2-P7.
- resolve conflicts (there are many conflicts with $NetBSD$ tags -
  dunno why they happen).
- type pedant (couple of typecasts).

correct yacc-generated file handling.  remove bin/named/ns_parser.h,
use the header yacc generates at compilation time.
2000-11-10 09:56:56 +00:00
jmc a6e6938ba6 Needed bsd.own.mk before MKDOC gets defined. subdir picks it up too late 2000-10-23 06:45:18 +00:00
simonb 45ad1d18bb Only descend into the doc directory if ${MKDOC} != no. 2000-10-22 17:17:08 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mrg 25fc9bdc39 use libc inet_addr(3). fixes part of PR#10651 2000-08-14 11:30:41 +00:00
matt 3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
he cbc0b13fa7 Revert away from automatically generating port_ipv6.h, and install
a static once-generated version instead.  We know we have IPv6
headers available here.

The probing was problematical for several reasons:
 o it probed the host headers, not the headers in the build or DESTDIR
   tree (could be fixed in another way)
 o the probe_ipv6 script mucks with PATH, which would be problematical
   for cross compilation.
2000-05-06 16:07:42 +00:00
itojun 5d5dd022cb add bind operators guide into share/doc/smm/10.named. PR 9996. 2000-04-28 06:21:20 +00:00
itojun 548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
mycroft a73ccc591a More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
garbled 2ae03f4ff8 Add CPPFLAGS so this can be cross compiled. 1999-12-24 19:12:38 +00:00
veego 5ceefc298e Backout the last change. 1999-11-30 20:34:51 +00:00
veego 626fb4bb79 ndc is now a binary so we don't need the 'exec' anymore. 1999-11-30 20:18:11 +00:00
sommerfeld 3e6c42c11a Bugfix: deal with ${CC} containing spaces. 1999-11-30 18:28:16 +00:00
veego 9f3c20bc0f Use the libc md5 function. 1999-11-28 17:39:06 +00:00
veego 5e5665ea10 Remove commented lines which are not used here. 1999-11-28 17:02:27 +00:00
veego ff8362d781 Install named.conf again into /usr/share/examples/named.
Somehow it vanished when I updated the bind version.
1999-11-28 16:58:16 +00:00
veego f038a8aeeb Add the missing all-named-xfer all-ndc: all-named target. 1999-11-21 16:55:23 +00:00
itojun 395f032639 s/make/${MAKE}/ 1999-11-21 16:46:33 +00:00
itojun b7a7f5becf use print-objdir instead.
Suggested by: tsubai
1999-11-21 16:39:54 +00:00
itojun 5d6d47c96c fix compilation of named-xfer and ndc, when you do "make obj" (including
"make build" from the top).

XXX
if you do "make obj", you have to reference:
	bind/named/obj/pathnames.h
from either of them by using relative path:
	${.OBJDIR} = bind/named-xfer/obj or
	${.CURDIR} = bind/named-xfer
-I${.OBJDIR}/../named was included but is not the correct one.
I used -I${.CURDIR}/../named/obj, but I'm not sure if it is the right way.
1999-11-21 16:26:03 +00:00
veego b4f26a2c2c Ups, remove the LDSTATIC which was only there for tests. 1999-11-20 20:42:39 +00:00
veego 3c25783fec Use the bind source from basesrc/dist/bind. 1999-11-20 19:47:10 +00:00