1 # $NetBSD: Makefile,v 1.24 2002/05/02 16:42:53 wiz Exp $
5 .if
${OBJECT_FMT} == "ELF" && exists
(${CSU_MACHINE_ARCH}_elf
)
6 SUBDIR
= ${CSU_MACHINE_ARCH}_elf
7 .elif
${OBJECT_FMT} == "ELF" && exists
(${MACHINE_ARCH}_elf
)
8 SUBDIR
= ${MACHINE_ARCH}_elf
9 .elif
${OBJECT_FMT} == "ELF" && exists
(${MACHINE_CPU}_elf
)
10 SUBDIR
= ${MACHINE_CPU}_elf
11 .elif exists
(${MACHINE_ARCH})
12 SUBDIR
= ${MACHINE_ARCH}
13 .elif exists
(${MACHINE_CPU})
14 SUBDIR
= ${MACHINE_CPU}
17 @echo no SUBDIR for
${MACHINE_ARCH}_elf
, ${MACHINE_ARCH} nor \
22 .if
(${OBJECT_FMT} != "ELF")
26 .
include <bsd.subdir.mk
>