118cb193d7
for mips64 to build this with MLIBDIR set to o32 - make mips64 ldd call elf32_compat_ldd as well - make mips64 elf64 set MLIBDIR to 64 - don't need ld.elf_so's Makefile.ld32 files anymore (they are going away soon anyway) tested on amd64 and sparc64, and an earlier version tested on mips64.
24 lines
377 B
Makefile
24 lines
377 B
Makefile
# $NetBSD: Makefile,v 1.7 2009/12/13 08:50:56 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include <bsd.init.mk>
|
|
|
|
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 ${MACHINE_ARCH} != "alpha"
|
|
.include "../Makefile.elf"
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|