1 # $NetBSD: bsd.shlib.mk,v 1.8 2012/08/23 21:21:17 joerg Exp $
3 .if
!defined
(_BSD_SHLIB_MK_
)
6 .if
${MKDYNAMICROOT} == "no"
7 SHLIBINSTALLDIR?
= /usr
/lib
12 .if
${MKDYNAMICROOT} == "no" || \
13 (${BINDIR
:Ux
} != "/bin" && ${BINDIR
:Ux
} != "/sbin" && \
14 ${BINDIR
:Ux
} != "/libexec" && ${USE_SHLIBDIR
:Uno
} == "no")
20 .if
${USE_SHLIBDIR
:Uno
} != "no"
21 _LIBSODIR?
= ${SHLIBINSTALLDIR}
26 .if
${MKDYNAMICROOT} == "no"
27 SHLINKINSTALLDIR?
= /usr
/libexec
29 SHLINKINSTALLDIR?
= /libexec
32 .if
${MKDYNAMICROOT} == "no" || \
33 (${BINDIR
:Ux
} != "/bin" && ${BINDIR
:Ux
} != "/sbin" && \
34 ${BINDIR
:Ux
} != "/libexec")
35 SHLINKDIR?
= /usr
/libexec
40 .
endif # !defined(_BSD_SHLIB_MK_)