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 12BU_PRIMARY= binutils225 13BU_BACKUP= binutils224 14 15.if defined(BUVERSION) 16.if (${BUVERSION} == ${BU_PRIMARY}) 17IS_PRIMARY= 1 18MANPAGEVER= ${BU_PRIMARY:S/binutils//} 19.endif 20 21.if (${BUVERSION} == ${BU_BACKUP}) 22MANPAGEVER= ${BU_BACKUP:S/binutils//} 23.endif 24.endif 25