VM: munmap used by VM for itself is no longer used
[minix.git] / share / mk / bsd.shlib.mk
blob763b6395af34c21beaf85018319747a948a06d81
1 # $NetBSD: bsd.shlib.mk,v 1.6 2007/08/29 21:34:17 hira Exp $
3 .if !defined(_BSD_SHLIB_MK_)
4 _BSD_SHLIB_MK_=1
6 .if ${MKDYNAMICROOT} == "no"
7 SHLIBINSTALLDIR?= /usr/lib
8 .else
9 SHLIBINSTALLDIR?= /lib
10 .endif
12 .if ${MKDYNAMICROOT} == "no" || \
13 (${BINDIR:Ux} != "/bin" && ${BINDIR:Ux} != "/sbin" && \
14 ${BINDIR:Ux} != "/libexec" && ${USE_SHLIBDIR:Uno} == "no")
15 SHLIBDIR?= /usr/lib
16 .else
17 SHLIBDIR?= /lib
18 .endif
20 .if ${USE_SHLIBDIR:Uno} != "no"
21 _LIBSODIR?= ${SHLIBINSTALLDIR}
22 .else
23 _LIBSODIR?= ${LIBDIR}
24 .endif
26 .if ${MKDYNAMICROOT} == "no"
27 SHLINKINSTALLDIR?= /usr/libexec
28 .else
29 SHLINKINSTALLDIR?= /libexec
30 .endif
32 .if ${MKDYNAMICROOT} == "no" || \
33 (${BINDIR:Ux} != "/bin" && ${BINDIR:Ux} != "/sbin" && \
34 ${BINDIR:Ux} != "/libexec")
35 SHLINKDIR?= /usr/libexec
36 .else
37 SHLINKDIR?= /libexec
38 .endif
40 .endif # !defined(_BSD_SHLIB_MK_)