7b4e96d04c5a2461009cca94b94aa6d1cb4518b6
[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=     gcc50
8 CC_BACKUP=      gcc47
9
10 .if defined(COMPVERSION)
11 .if (${COMPVERSION} == ${CC_PRIMARY})
12 IS_PRIMARY=     1
13 MANPAGEVER=     50
14 .elif (${COMPVERSION} == ${CC_BACKUP})
15 MANPAGEVER=     47
16 .endif
17 .endif