NetBSD/usr.sbin/racoon/Makefile.inc
lukem ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
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).
2002-08-27 14:46:11 +00:00

25 lines
601 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2002/08/27 14:46:22 lukem Exp $
.include <bsd.own.mk> # for MKDYNAMICROOT definition
# point top of your KAME tree by ${KAMEROOT}
LIBPFKEYSRCDIR= ${.CURDIR}/../../../crypto/dist/kame/libipsec
RACOONSRCDIR= ${.CURDIR}/../../../crypto/dist/kame/racoon
TCPDUMPSRCDIR= ${.CURDIR}/../../../dist/tcpdump
ETCDIR?= /etc/racoon
FILESDIR?= /usr/share/examples/racoon
.if defined(SBIN_RACOON) && ${SBIN_RACOON} == "yes"
BINDIR?= /sbin
.if (${MKDYNAMICROOT} == "no")
LDSTATIC?= -static
.endif
.endif
DBG= -g
PKGVERSION= netbsd-20020507
.include "../Makefile.inc"