xref: /dragonfly/gnu/usr.bin/Makefile.cco (revision 0db87cb7)
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
7CC_PRIMARY=	gcc50
8CC_BACKUP=	gcc47
9
10.if defined(COMPVERSION)
11.if (${COMPVERSION} == ${CC_PRIMARY})
12IS_PRIMARY=	1
13MANPAGEVER=	50
14.elif (${COMPVERSION} == ${CC_BACKUP})
15MANPAGEVER=	47
16.endif
17.endif
18