Merge branch 'vendor/TCSH'
[dragonfly.git] / gnu / usr.bin / Makefile.buo
1 # DragonFly maintains two sets of binutils.  The last time it was necessary to swap the primary and
2 # backup status between them, 37 files had to be changed.  This makefile include aims to make that process
3 # much simpler by having common variables located in one place to control the state.
4 #
5 # Additionally, with each new import or upgrade of binutils, dozens of Makefiles have to be individually
6 # customized over the previous version.  Ideally in the future the Makefiles are generic and only have to be
7 # copied over in most cases.
8
9 BU_PRIMARY=     binutils222
10 BU_BACKUP=      binutils221
11
12 .if defined(BUVERSION)
13 .if (${BUVERSION} == ${BU_PRIMARY})
14 IS_PRIMARY=     1
15 MANPAGEVER=     222
16 .else
17 .endif
18
19 .if (${BUVERSION} == ${BU_BACKUP})
20 MANPAGEVER=     221
21 .else
22 .endif
23 .endif