NetBSD/usr.bin/ldd/elf32/Makefile

26 lines
527 B
Makefile

# $NetBSD: Makefile,v 1.6 2009/02/14 13:56:41 abs Exp $
.include <bsd.own.mk>
CPPFLAGS+= -DELFSIZE=32
LIB= ldd_elf32
# XXX Force one member
SRCS= dummy.c
LIBISPRIVATE= yes
.PATH: ${.CURDIR}/..
# XXX
.include <bsd.own.mk>
.if ${MACHINE_ARCH} == "sparc64"
.include "${NETBSDSRCDIR}/libexec/ld.elf_so/arch/sparc/Makefile.ld32"
.elif ${MACHINE_ARCH} == "x86_64"
.include "${NETBSDSRCDIR}/libexec/ld.elf_so/arch/i386/Makefile.ld32"
.endif
.if ${MACHINE_ARCH} != "alpha"
.include "../Makefile.elf"
.endif
.include <bsd.lib.mk>