diff options
Diffstat (limited to 'usr.bin/ldd/elf32_compat/Makefile')
-rw-r--r-- | usr.bin/ldd/elf32_compat/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.bin/ldd/elf32_compat/Makefile b/usr.bin/ldd/elf32_compat/Makefile new file mode 100644 index 0000000..e604c20 --- /dev/null +++ b/usr.bin/ldd/elf32_compat/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.4 2019/01/27 05:15:42 kre Exp $ + +NOSANITIZER= # defined + +.include <bsd.own.mk> +.include <bsd.init.mk> + +CPPFLAGS+= -DELFSIZE=32 -DELF32_COMPAT +LIB= ldd_elf32_compat + +# XXX Force one member +SRCS= dummy.c + +LIBISPRIVATE= yes +.PATH: ${.CURDIR}/.. + +.ifdef COMPAT_MLIBDIR +MLIBDIR= ${COMPAT_MLIBDIR} +CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\" +.endif + +.ifdef MLIBDIR +.include "../Makefile.elf" +.endif + +.include <bsd.lib.mk> |