NetBSD/share/mk
thorpej 09a0767aa9 Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.

The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.

This is done by decoupling where a shlib is installed from how it
is located.  Two new variables, SHLIBINSTALLDIR and SHLINKINSTALLDIR,
contain the former information, and key off MKDYNAMICROOT only.  SHLIBDIR
and SHLINKDIR contain the latter, and key off MKDYNAMICROOT and BINDIR.

The SHLIBINSTALLDIR, SHLIBDIR, _LIBSODIR, SHLINKINSTALLDIR, and
SHLINKDIR parameters are moved to a new <bsd.shlib.mk>; see bsd.README
for usage details.
2002-09-27 21:37:50 +00:00
..
bsd.dep.mk
bsd.doc.mk
bsd.endian.mk
bsd.files.mk
bsd.hostlib.mk * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into 2002-09-17 23:18:25 +00:00
bsd.hostprog.mk * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into 2002-09-17 23:18:25 +00:00
bsd.inc.mk
bsd.info.mk
bsd.init.mk
bsd.kernobj.mk
bsd.kinc.mk don't bother with "rm -f $$t" before ${INSTALL_LINK} or ${INSTALL_SYMLINK}, 2002-08-24 13:12:38 +00:00
bsd.kmod.mk add 'sun68k' to CLEANFILES for sun2/sun3 2002-07-29 07:42:52 +00:00
bsd.lib.mk Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
bsd.links.mk don't bother with "rm -f $$t" before ${INSTALL_LINK} or ${INSTALL_SYMLINK}, 2002-08-24 13:12:38 +00:00
bsd.man.mk
bsd.nls.mk
bsd.obj.mk
bsd.own.mk Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
bsd.prog.mk Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
bsd.README Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
bsd.shlib.mk Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
bsd.subdir.mk
bsd.sys.mk
Makefile Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and 2002-09-27 21:37:50 +00:00
sys.mk