1 # $NetBSD: Makefile.inc,v 1.6 2015/06/13 20:38:52 martin Exp $
3 WARNS?= 3 # XXX: -Wsign-compare issues ld.elf_so source
5 .if ${MKCOMPAT} != "no"
7 .if ${MACHINE_ARCH} == "sparc64"
11 .if ${MACHINE_ARCH} == "x86_64"
15 .if ${MACHINE_ARCH} == "powerpc64"
19 # For now make "elf32" look for native (n32)
20 .if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
23 CPPFLAGS+= -DLDD_ELF64 -DMIPS_N32
28 .if exists(${.CURDIR}/../../Makefile.inc)
29 .include "${.CURDIR}/../../Makefile.inc"