NetBSD/usr.bin/ldd/Makefile.common

14 lines
419 B
Makefile
Raw Normal View History

# $NetBSD: Makefile.common,v 1.1 2009/01/06 03:59:56 mrg 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")
CPPFLAGS+= -DVARPSZ
.endif