NetBSD/gnu
lukem efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
..
dist Disable the atexit(_IO_cleanup) for two good reasons: 2001-12-24 16:38:19 +00:00
lib * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
libexec MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
usr.bin Set NOMAN correctly. From Andrew Brown. 2001-12-21 08:06:15 +00:00
usr.sbin fix typo. (.o in SRCS) 2001-12-20 22:18:50 +00:00
Makefile Use @true instead of @${TRUE} in includes-foo targets, since there is no 2001-10-12 21:05:08 +00:00
README
toolchain2netbsd Make sure to strip {,_}[A-Z]* from NetBSD release names as well, so we get 2001-12-05 22:37:40 +00:00

README

src/gnu/README:			<$Revision: 1.3 $>


Organization of Sources:

This directory hierarchy is using a new organization that
separates the GNU sources from the BSD-style infrastructure
used to build the GNU sources.  The GNU sources are kept in
the standard GNU source tree layout under:

	dist/*

The build infrastructure uses the normal BSD way under:

	lib/*
	usr.bin/*

The makefiles in the above hierarchy will "reach over" into
the GNU sources (src/gnu/dist) for everything they need.


Maintenance Strategy:

The sources under src/gnu/dist are generally a combination of
some published distribution plus changes that we submit to the
maintainers and that are not yet published by them.  There are
a few files that are never expected to be submitted to the FSF,
(i.e. BSD-style makefiles and such) and those generally should
stay in src/gnu/lib or src/gnu/usr.bin (the BSD build areas).

Make sure all changes made to the GNU sources are submitted to
the appropriate maintainer, but only after coordinating with the
NetBSD maintainers by sending your proposed submission to the
<tech-toolchain@netbsd.org> mailing list.  Only send the changes
to the third-party maintainers after consensus has been reached.


Maintenance History:

Original GNU sources were imported as follows:	[gwr,1997/09/24]
	dist/gdb	FSF gdb-4-16
	dist/readline	FSF readline-2-1
	dist/(other)	FSF binutils-2-8
Updated dist/(other) to FSF binutils-2-8-1	[gwr,1997/09/24]

Several changes have been integrated since the initial import,
and those will be submitted to the maintainers after this code
has been tested on all NetBSD ports (i.e. after NetBSD 1.3).
Some of the integration was done by importing a file from a
later snapshot.  Please log all such imports here.

Updated these files via import with tags: FSF cygnus970817
	dist/gdb/alpha-tdep.c
	dist/gdb/config/alpha/tm-alpha.h