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
..
Makefile 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.dep.mk Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:14:59 +00:00
bsd.doc.mk Don't use .PHONY for targets that are actually installed. Instead use force 2002-02-11 21:14:58 +00:00
bsd.endian.mk Don't -I${DESTDIR}/usr/include without -nostdinc'ing, first. Some 2002-06-05 02:47:56 +00:00
bsd.files.mk - in <bsd.files.mk>, don't clear FILES after using it, as that prevents 2002-04-24 08:18:45 +00:00
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 Don't use .PHONY for targets that are actually installed. Instead use force 2002-02-11 21:14:58 +00:00
bsd.info.mk Serialize access to $INFODIR/dir; multiple instances of `install-info' 2002-03-01 15:42:10 +00:00
bsd.init.mk Improve readability and reduce redundant redundancy in share/mk; add some 2001-11-02 05:21:47 +00:00
bsd.kernobj.mk Implement NETBSDSRCDIR, which is the top level of the NetBSD source tree. 2002-04-26 15:02:02 +00:00
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 Don't use .PHONY for targets that are actually installed. Instead use force 2002-02-11 21:14:58 +00:00
bsd.nls.mk Don't use .PHONY for targets that are actually installed. Instead use force 2002-02-11 21:14:58 +00:00
bsd.obj.mk Add a BUILDID variable, which further qualifies object directories. 2002-03-14 18:26:32 +00:00
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.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 Improve readability and reduce redundant redundancy in share/mk; add some 2001-11-02 05:21:47 +00:00
bsd.sys.mk add -Wa,-Av8plus to CFLAGS if we are building for 32bit sparc 2002-07-20 11:43:34 +00:00
sys.mk SH5 Makefile Magic. 2002-07-11 15:00:57 +00:00