-## UB build support
-##
-## PROCEDURE:
-##
-## 1. Perform a build (let us call it arch-X).
-## 2. cd into arch-X's build/ driectory.
-## 3. Launch builds of the remaining architectures.
-## We compute $(UB.archs.other) to be the remaining archs to build.
-## The entire list is defined $(UB.archs) .
-## 4. Combine other architectures into arch-X's binaries.
-##
-## EXAMPLE: serial method, archs: i386,x86_64,ppc,ppc64
-##
-## ./configure --launch
-## cd build/
-## make ub.build.serial
-## make ub.combine
-##
-## EXAMPLE: parallel method, archs: i386,x86_64,ppc,ppc64
-##
-## ./configure --launch
-## cd build/
-## make ub.build.parallel
-## make ub.combine
-##
-## EXAMPLE: serial, archs: i386,x86_64 (assuming i386 is native)
-##
-## ./configure --launch
-## cd build/
-## make ub.build.parallel UB.archs="i386 x86_64"
-## make ub.combine UB.archs="i386 x86_64"
-##
-UB.archs = i386 x86_64 ppc ppc64
-UB.archs.other = $(filter-out $(BUILD.arch),$(UB.archs))
-UB.builds = $(wildcard $(foreach n,$(UB.archs.other),$(PROJECT/)build.$n))
+UB.archs = i386 x86_64 ppc ppc64
+UB.builds = $(wildcard $(foreach n,$(UB.archs),$(SRC/)build.$n))
+UB.first = $(word 1,$(UB.archs))
+UB.other = $(wordlist 2,999,$(UB.archs))