kernel: restore stacktraces
[minix.git] / usr.bin / ldd / Makefile.inc
blobc97e2a3eb371eba578da031badb221ffdcdb3858
1 #       $NetBSD: Makefile.inc,v 1.4 2009/12/15 04:06:43 mrg Exp $
3 WARNS?= 3       # XXX: -Wsign-compare issues ld.elf_so source
5 .if ${MACHINE_ARCH} == "sparc64"
6 MLIBDIR=        sparc
7 .endif
9 .if ${MACHINE_ARCH} == "x86_64"
10 MLIBDIR=        i386
11 .endif
13 .if ${MACHINE_ARCH} == "powerpc64"
14 MLIBDIR=        powerpc
15 .endif
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 CPPFLAGS+= -DLDD_ELF64
22 .endif
24 .if exists(${.CURDIR}/../../Makefile.inc)
25 .include "${.CURDIR}/../../Makefile.inc"
26 .endif