1 # $NetBSD: Makefile,v 1.14 1999/02/24 15:10:16 drochner Exp $ 2 3 .include <bsd.own.mk> 4 5 .if ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf) 6 SUBDIR= ${MACHINE_ARCH}_elf 7 .else 8 .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" 9 SUBDIR= mips 10 .else 11 SUBDIR= ${MACHINE_ARCH} 12 .endif 13 .endif 14 15 .if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "powerpc") && \ 16 (${MACHINE_ARCH} != "arm32") 17 SUBDIR+= c++ 18 .endif 19 20 .include <bsd.subdir.mk> 21