Merge branch 'vendor/FLEX'
[dragonfly.git] / gnu / usr.bin / Makefile.cco
1 # DragonFly maintains two sets of compilers.
2 # In order to keep man page generation simple when the primary compiler
3 # changes, this makefile will direct the makefile that included it how
4 # to name the man pages and if it should hardlink a generic man page to it.
5 # The same approach is used for the two sets of binutils
6
7 CC_PRIMARY=     gcc44
8 CC_BACKUP=      gcc47
9
10 .if defined(COMPVERSION)
11 .if (${COMPVERSION} == ${CC_PRIMARY})
12 IS_PRIMARY=     1
13 MANPAGEVER=     44
14 .else
15 .endif
16
17 .if (${COMPVERSION} == ${CC_BACKUP})
18 MANPAGEVER=     47
19 .else
20 .endif
21 .endif