1#	$NetBSD: Makefile.inc,v 1.3 2009/12/13 08:50:56 mrg Exp $
2
3WARNS?=	3	# XXX: -Wsign-compare issues ld.elf_so source
4
5.if ${MACHINE_ARCH} == "sparc64"
6MLIBDIR=	sparc
7.endif
8
9.if ${MACHINE_ARCH} == "x86_64"
10MLIBDIR=	i386
11.endif
12
13.if ${MACHINE_ARCH} == "powerpc64"
14MLIBDIR=	powerpc
15.endif
16
17# For now make "elf32" look for native (n32)
18.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
19MLIBDIR=	64
20COMPAT_MLIBDIR=	o32
21CPPFLAGS+= -DLDD_ELF64
22.endif
23
24.if exists(${.CURDIR}/../../Makefile.inc)
25.include "${.CURDIR}/../../Makefile.inc"
26.endif
27