#	$NetBSD: Makefile.compat,v 1.9 2012/08/23 21:21:14 joerg Exp $

#
# Makefile fragment to help implement a multilib set of libraries
#
# expects MLIBDIR to be set to the extra path component
#

.ifndef _COMPAT_OPTIONS_MK_ # {
_COMPAT_OPTIONS_MK_=1

LIBDIR=			/usr/lib/${MLIBDIR}
SHLIBDIR=		/usr/lib/${MLIBDIR}
SHLIBINSTALLDIR=	/usr/lib/${MLIBDIR}

_GCC_CRTBEGIN=		${DESTDIR}/usr/lib/${MLIBDIR}/crtbegin.o
_GCC_CRTBEGINS=		${DESTDIR}/usr/lib/${MLIBDIR}/crtbeginS.o
_GCC_CRTEND=		${DESTDIR}/usr/lib/${MLIBDIR}/crtend.o
_GCC_CRTENDS=		${DESTDIR}/usr/lib/${MLIBDIR}/crtendS.o
_GCC_CRTDIR=		${DESTDIR}/usr/lib/${MLIBDIR}
_GCC_LIBGCCDIR=		${DESTDIR}/usr/lib/${MLIBDIR}

NOSHARE=	# defined
NOLINT=		# defined
NONLS=		# defined
NOMAN=		# defined
NOINFO=		# defined
NOCHECKVER=	# defined

# ld.elf_so
SHLINKINSTALLDIR=	/libexec

.endif # _COMPAT_OPTIONS_MK_ }
