NetBSD/usr.bin/ldd/elf32_compat/Makefile
2019-01-27 05:15:42 +00:00

27 lines
442 B
Makefile

# $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>