NetBSD/compat/Makefile
mrg 28d618d682 build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.
two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet.  see the README
file for mroe details.
2008-10-26 07:38:27 +00:00

28 lines
683 B
Makefile

# $NetBSD: Makefile,v 1.1 2008/10/26 07:38:27 mrg Exp $
# Build 32-bit compat versions of:
# src/gnu/lib/libgcc4 into ${DESTDIR}/usr/lib/<32arch>
# src/lib/libc into ${DESTDIR}/usr/lib/<32arch>
# src/gnu/lib/ into ${DESTDIR}/usr/lib/<32arch>
# src/lib/ into ${DESTDIR}/usr/lib/<32arch>
# src/libexec/ld.elf_so into ${DESTDIR}/usr/libexec/ld.elf_so-<32arch>
.include <bsd.own.mk>
.if ${MKCOMPAT} != "no" && \
(${MACHINE} == "sparc64" || ${MACHINE} == "amd64")
.if !make(includes)
SUBDIR= gnu/lib/crtstuff4 .WAIT \
lib/csu .WAIT \
gnu/lib/libgcc4 .WAIT \
lib/libc .WAIT \
lib/libutil .WAIT \
lib gnu/lib .WAIT \
libexec/ld.elf_so
.endif
.endif
.include <bsd.subdir.mk>