etc/services - sync with NetBSD-8
[minix.git] / usr.bin / ldd / Makefile.common
blob6193b7177e5367eea49e2c1f17b02bfd9097a09f
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
8 .endif
9 #CPPFLAGS+= -DDEBUG
10 .PATH: ${LDELFSO}
12 .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
13     (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "m68k") || \
14     (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH:Mmips*} != "")
15 CPPFLAGS+= -DVARPSZ
16 .endif