NetBSD/lib/libkvm
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
..
Makefile * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
kvm.3 More trailing white space. 1999-07-02 15:28:49 +00:00
kvm.c Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
kvm_alpha.c Include <machine/vmparam.h> for VM_MIN_*... 2001-08-05 17:51:40 +00:00
kvm_arm.c Steal the variable VM_* stuff from m68k. 2001-07-16 05:45:52 +00:00
kvm_dump.3 Spell occurred correctly. 2001-04-25 02:19:48 +00:00
kvm_file.c WARNS=2 fixes 2001-11-05 14:59:21 +00:00
kvm_geterr.3 More trailing white space. 1999-07-02 15:28:49 +00:00
kvm_getfiles.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
kvm_getloadavg.3 xref kvm_open. 2001-04-06 14:37:27 +00:00
kvm_getloadavg.c use <uvm/uvm_param.h> now. 2000-06-26 17:36:56 +00:00
kvm_getprocs.3 Document KVM_NO_FILES and kvm_get{proc,argv,envv}2(). Better wording 2000-06-13 15:48:56 +00:00
kvm_i386.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
kvm_m68k.c Added support for sun2 kernel cores. 2001-05-21 14:56:29 +00:00
kvm_m68k.h Added support for sun2 kernel cores. 2001-05-21 14:56:29 +00:00
kvm_m68k_cmn.c Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
kvm_mips.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
kvm_nlist.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
kvm_ns32k.c Need <machine/pmap.h> for the pdei and ptei macros. 2001-09-17 12:48:20 +00:00
kvm_open.3 Document KVM_NO_FILES and kvm_get{proc,argv,envv}2(). Better wording 2000-06-13 15:48:56 +00:00
kvm_powerpc.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
kvm_private.h format-string audit cleanups 2000-10-04 16:11:27 +00:00
kvm_proc.c kvm_doargv2(): make sure the string ends with '\0'; sysctl() might not 2001-03-24 10:02:45 +00:00
kvm_read.3 More trailing white space. 1999-07-02 15:28:49 +00:00
kvm_sh3.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
kvm_sparc.c undefine VA_VPG and VA_OFF before defining them. 2001-09-22 00:53:01 +00:00
kvm_sparc64.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
kvm_sun2.c Added support for sun2 kernel cores. 2001-05-21 14:56:29 +00:00
kvm_sun3.c Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
kvm_sun3x.c Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
kvm_vax.c Rename a local to avoid a -Wshadow warning. 2001-11-29 23:32:42 +00:00
kvm_x86_64.c Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't 2001-08-05 03:33:15 +00:00
shlib_version Add kvm interface to the new sysctls: 2000-05-26 02:42:21 +00:00