retire unstack & datasizes in favour of addr2line
[minix3.git] / usr.bin / ldd / Makefile.inc
blobb1044746828d61b2e449546b332afacd3729b557
1 #       $NetBSD: Makefile.inc,v 1.5 2013/03/20 15:18:42 macallan 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 -DMIPS_N32
22 .endif
24 .if exists(${.CURDIR}/../../Makefile.inc)
25 .include "${.CURDIR}/../../Makefile.inc"
26 .endif