NetBSD/usr.bin/ldd/Makefile.common
matt 02a2e7c81a MIPS uses a variable page size now.
(pulled up from matt-nb5-mips64)
2012-02-17 08:13:18 +00:00

14 lines
454 B
Makefile

# $NetBSD: Makefile.common,v 1.2 2012/02/17 08:13:18 matt Exp $
LDELFSO=${NETBSDSRCDIR}/libexec/ld.elf_so
CPPFLAGS+= -I${LDELFSO} -DLIBDIR=\"${LIBDIR}\"
CPPFLAGS+= -D_RTLD_SOURCE
#CPPFLAGS+= -DDEBUG
.PATH: ${LDELFSO}
.if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
(${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "m68k") || \
(${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH:Mmips*} != "")
CPPFLAGS+= -DVARPSZ
.endif