Rename bsd.cpu.mk into bsd.cpu.gcc2.mk and add the proper Makefile magic
[dragonfly.git] / share / mk / bsd.cpu.mk
1 # $FreeBSD: src/share/mk/bsd.cpu.mk,v 1.2.2.5 2002/07/19 08:09:32 ru Exp $
2 # $DragonFly: src/share/mk/bsd.cpu.mk,v 1.3 2004/01/26 15:22:08 joerg Exp $
3
4 # include compiler-specific bsd.cpu.mk
5
6 .if !defined(CCVER) || ${CCVER} == "gcc2"
7 .  include <bsd.cpu.gcc2.mk>
8 .elif ${CCVER} == "gcc3"
9 .  include <bsd.cpu.gcc3.mk>
10 .elif defined(CCVER_BSD_CPU_MK)
11 .  if ${CCVER_BSD_CPU_MK} != ""
12 .    include "${CCVER_BSD_CPU_MK}"
13 .  endif
14
15 .else
16
17 .error "Either set CCVER to a known compiler or specify CCVER_BSD_CPU_MK"
18
19 .endif
20