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/elf32/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 usr.bin/ldd/elf32/Makefile (limited to 'usr.bin/ldd/elf32/Makefile') diff --git a/usr.bin/ldd/elf32/Makefile b/usr.bin/ldd/elf32/Makefile new file mode 100644 index 0000000..71e00b2 --- /dev/null +++ b/usr.bin/ldd/elf32/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.12 2019/01/27 05:16:55 kre Exp $ + +NOSANITIZER= # defined + +.include +.include + +RTLD_FUNCS = \ + _rtld_tls_allocate \ + _rtld_tls_free \ + +.for _d in ${RTLD_FUNCS} +CPPFLAGS+= -D${_d}=_elf32_${_d} +.endfor + +CPPFLAGS+= -DELFSIZE=32 +LIB= ldd_elf32 + +# XXX Force one member +SRCS= dummy.c + +LIBISPRIVATE= yes +.PATH: ${.CURDIR}/.. + +.ifdef MLIBDIR +CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\" +.endif + +.if ${OBJECT_FMTS:Melf32} != "" +.include "../Makefile.elf" +.endif + +.include -- cgit v1.2.3-70-g09d2