summaryrefslogblamecommitdiff
path: root/usr.bin/ldd/elf32_compat/Makefile
blob: e604c20c62ccd7eee3f0c7da9498a50f2e1321b0 (plain) (tree)

























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