Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / csu / Makefile
blob68997fd902774498ca32e853d186012e428e2de3
1 # $NetBSD: Makefile,v 1.24 2002/05/02 16:42:53 wiz Exp $
3 .include <bsd.own.mk>
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}
15 .else
16 .BEGIN:
17 @echo no SUBDIR for ${MACHINE_ARCH}_elf, ${MACHINE_ARCH} nor \
18 ${MACHINE_CPU}
19 @false
20 .endif
22 .if (${OBJECT_FMT} != "ELF")
23 SUBDIR+= c++
24 .endif
26 .include <bsd.subdir.mk>