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).
15 lines
294 B
Makefile
15 lines
294 B
Makefile
# $NetBSD: Makefile,v 1.13 2002/08/27 14:46:17 lukem Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
|
|
|
PROG= ktrace
|
|
SRCS= ktrace.c subr.c
|
|
MLINKS= ktrace.1 ktruss.1
|
|
|
|
.if (${MKDYNAMICROOT} == "no")
|
|
LDSTATIC?=-static
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|