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