Go to file
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
bin Oops, pasto. 2001-12-20 20:17:29 +00:00
crypto When calling krb5_verify_user(), we must restore root's uid, since it will need to read /etc/krb5.keytab. 2001-12-19 10:28:47 +00:00
dist Pull over fixes from rev. 1.5-1.7 of basesrc/usr.sbin/ntp/ntpd/ntpd.8. 2001-12-26 15:14:59 +00:00
distrib Remove list2plist. It has been supplanted by makeplist, which does the same 2001-12-26 18:46:18 +00:00
etc Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
games Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
gnu * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
include Use "int32_t" instead of "time_t" for ``on tape'' times. (From FreeBSD.) 2001-12-23 14:38:03 +00:00
lib * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
libexec * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
regress MKfoo=no -> NOfoo 2001-12-12 01:23:59 +00:00
sbin * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
share * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
sys More DIAGNOSTIC. 2001-12-28 00:21:26 +00:00
tools Avoid building and installing every time, so that we don't have toolchain 2001-12-13 19:36:22 +00:00
usr.bin update copyrights 2001-12-26 09:40:15 +00:00
usr.sbin client, not clinet. 2001-12-27 13:22:01 +00:00
build.sh Apply workaround for some Bourne shells not handling IFS in the POSIX way. 2001-12-19 20:59:07 +00:00
BUILDING Document the -d option to build.sh 2001-11-25 18:40:34 +00:00
BUILDING.mdoc Document the -d option to build.sh 2001-11-25 18:40:34 +00:00
Makefile Add a wrapper for the "distribution" target, similar to the wrapper 2001-11-25 18:31:12 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING Add note about how to work around reloc problems in groff now that the toolchain 2001-12-07 09:56:44 +00:00