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