a920c3ef92
make objects properly. XXX: Now we will descend into lib twice (same as the regular external Makefile from the top level.
29 lines
721 B
Makefile
29 lines
721 B
Makefile
# $NetBSD: Makefile,v 1.3 2009/04/14 17:51:57 christos 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_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64")
|
|
|
|
.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 \
|
|
external/lib .WAIT \
|
|
libexec/ld.elf_so
|
|
.endif
|
|
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|