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.
25 lines
417 B
Makefile
25 lines
417 B
Makefile
# $NetBSD: Makefile,v 1.1 2009/12/13 08:50:56 mrg Exp $
|
|
|
|
.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>
|