Merge branch 'vendor/HOSTAPD'
[dragonfly.git] / gnu / usr.bin / Makefile.buo
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.
6 #
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.
11
12 BU_PRIMARY=     binutils224
13 BU_BACKUP=      binutils222
14
15 .if defined(BUVERSION)
16 .if (${BUVERSION} == ${BU_PRIMARY})
17 IS_PRIMARY=     1
18 MANPAGEVER=     ${BU_PRIMARY:S/binutils//}
19 .endif
20
21 .if (${BUVERSION} == ${BU_BACKUP})
22 MANPAGEVER=     ${BU_BACKUP:S/binutils//}
23 .endif
24 .endif