From 5b57d28ffb6e1ef86b50f7d05d977826eae89bfe Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 1 Feb 2019 22:55:37 +0000 Subject: initial population --- usr.bin/ldd/Makefile.common | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 usr.bin/ldd/Makefile.common (limited to 'usr.bin/ldd/Makefile.common') diff --git a/usr.bin/ldd/Makefile.common b/usr.bin/ldd/Makefile.common new file mode 100644 index 0000000..6193b71 --- /dev/null +++ b/usr.bin/ldd/Makefile.common @@ -0,0 +1,16 @@ +# $NetBSD: Makefile.common,v 1.3 2013/04/25 07:12:46 matt Exp $ + +LDELFSO=${NETBSDSRCDIR}/libexec/ld.elf_so +CPPFLAGS+= -I${LDELFSO} -DLIBDIR=\"${LIBDIR}\" +CPPFLAGS+= -D_RTLD_SOURCE +.if !empty(MACHINE_ARCH:Mearm*) +CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libexecinfo +.endif +#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 -- cgit v1.2.3-60-g2f50