2002-05-02 20:42:53 +04:00
|
|
|
# $NetBSD: Makefile,v 1.24 2002/05/02 16:42:53 wiz Exp $
|
1996-10-08 04:36:28 +04:00
|
|
|
|
1999-02-03 13:55:12 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1999-07-02 19:46:05 +04:00
|
|
|
.if ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf)
|
1999-02-03 13:55:12 +03:00
|
|
|
SUBDIR= ${MACHINE_ARCH}_elf
|
2001-01-08 11:29:59 +03:00
|
|
|
.elif ${OBJECT_FMT} == "ELF" && exists(${MACHINE_CPU}_elf)
|
2001-01-10 16:20:17 +03:00
|
|
|
SUBDIR= ${MACHINE_CPU}_elf
|
2001-01-08 11:29:59 +03:00
|
|
|
.elif exists(${MACHINE_ARCH})
|
|
|
|
SUBDIR= ${MACHINE_ARCH}
|
|
|
|
.elif exists(${MACHINE_CPU})
|
|
|
|
SUBDIR= ${MACHINE_CPU}
|
1999-02-03 13:55:12 +03:00
|
|
|
.else
|
2001-01-08 11:29:59 +03:00
|
|
|
.BEGIN:
|
2001-01-10 16:20:17 +03:00
|
|
|
@echo no SUBDIR for ${MACHINE_ARCH}_elf, ${MACHINE_ARCH} nor \
|
|
|
|
${MACHINE_CPU}
|
2001-01-08 11:29:59 +03:00
|
|
|
@false
|
1999-02-24 18:10:16 +03:00
|
|
|
.endif
|
1996-10-08 04:36:28 +04:00
|
|
|
|
2002-05-02 20:42:53 +04:00
|
|
|
.if (${OBJECT_FMT} != "ELF")
|
1996-10-08 04:36:28 +04:00
|
|
|
SUBDIR+= c++
|
|
|
|
.endif
|
1993-05-18 11:48:34 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|