1 # $NetBSD: Makefile.common,v 1.3 2013/04/25 07:12:46 matt Exp $
3 LDELFSO=${NETBSDSRCDIR}/libexec/ld.elf_so
4 CPPFLAGS+= -I${LDELFSO} -DLIBDIR=\"${LIBDIR}\"
5 CPPFLAGS+= -D_RTLD_SOURCE
6 .if !empty(MACHINE_ARCH:Mearm*)
7 CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libexecinfo
12 .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
13 (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "m68k") || \
14 (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH:Mmips*} != "")