NetBSD/lib/csu/Makefile

25 lines
580 B
Makefile
Raw Normal View History

2001-01-10 16:20:17 +03:00
# $NetBSD: Makefile,v 1.23 2001/01/10 13:20:17 enami Exp $
.include <bsd.own.mk>
1999-07-02 19:46:05 +04:00
.if ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf)
SUBDIR= ${MACHINE_ARCH}_elf
.elif ${OBJECT_FMT} == "ELF" && exists(${MACHINE_CPU}_elf)
2001-01-10 16:20:17 +03:00
SUBDIR= ${MACHINE_CPU}_elf
.elif exists(${MACHINE_ARCH})
SUBDIR= ${MACHINE_ARCH}
.elif exists(${MACHINE_CPU})
SUBDIR= ${MACHINE_CPU}
.else
.BEGIN:
2001-01-10 16:20:17 +03:00
@echo no SUBDIR for ${MACHINE_ARCH}_elf, ${MACHINE_ARCH} nor \
${MACHINE_CPU}
@false
.endif
1999-03-20 01:58:04 +03:00
.if (${OBJECT_FMT} != "ELF" && ${MACHINE_ARCH} != "arm32")
SUBDIR+= c++
.endif
.include <bsd.subdir.mk>