ed401558f2
be changed in the future to "yes". If MKDYNAMICROOT == "no", there is no change from existing behaviour of a static /bin and /sbin (and a few programs in elsewhere). If MKDYNAMICROOT == "yes", the following changes occur: in <bsd.own.mk>: SHLIBDIR?= /lib SHLINKDIR?= /lib in various Makefiles, the following entry is DISABLED. LDSTATIC?=-static This results in all programs (except those "standalone" programs built in sys/arch/*/stand) are linked dynamically, the shared linker is moved from /usr/libexec to /lib (with a compat symlink), and the shared libraries used by /bin and /sbin programs are moved from /usr/lib to /lib (with compat symlinks).
12 lines
244 B
Makefile
12 lines
244 B
Makefile
# $NetBSD: Makefile.inc,v 1.12 2002/08/27 14:46:11 lukem Exp $
|
|
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
|
|
|
|
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
|
|
|
WARNS?= 2
|
|
BINDIR?= /bin
|
|
|
|
.if (${MKDYNAMICROOT} == "no")
|
|
LDSTATIC?= -static
|
|
.endif
|