tools/llvm: Do not build with symbols
[minix3.git] / usr.bin / ldd / elf32 / Makefile
blobf6e79ce8c9c20738c0fd8ff754d7c8d0715adab7
1 # $NetBSD: Makefile,v 1.8 2011/03/09 23:10:08 joerg Exp $
3 .include <bsd.own.mk>
4 .include <bsd.init.mk>
6 RTLD_FUNCS = \
7 _rtld_tls_allocate \
8 _rtld_tls_free \
10 .for _d in ${RTLD_FUNCS}
11 CPPFLAGS+= -D${_d}=_elf32_${_d}
12 .endfor
14 CPPFLAGS+= -DELFSIZE=32
15 LIB= ldd_elf32
17 # XXX Force one member
18 SRCS= dummy.c
20 LIBISPRIVATE= yes
21 .PATH: ${.CURDIR}/..
23 .ifdef MLIBDIR
24 CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
25 .endif
27 .if ${MACHINE_ARCH} != "alpha"
28 .include "../Makefile.elf"
29 .endif
31 .include <bsd.lib.mk>