* Each of _gcc41_tools and _gcc44_tools needs to be ordered
* Currently installation of the objc include files can collide in a way
that interferes with a parallel build, when gcc41 and gcc44 are built
concurrently. For now don't build them concurrently :-(.
build-tools-targets: ${BTOOLSDIRS:S/^/btools-/}
+.ORDER: ${_gcc41_tools:S/^/btools-/}
+.ORDER: ${_gcc44_tools:S/^/btools-/}
+
.for _tool in ${BTOOLSDIRS}
btools-${_tool}!
${ECHODIR} "===> ${_tool} (build-tools)"; \
.if !defined(NO_GCC41)
SUBDIR+= gcc41
-.endif
-# maximum parallelism
+# FIXME: libobjc in gcc41 and gcc44 can collide installing header files
#
-SUBDIR_ORDERED=
+SUBDIR_ORDERED= gcc41 gcc44
+.endif
+
.include <bsd.subdir.mk>