+ifneq "$(BIN_DIST_NAME)" ""
+# We're doing a binary-dist, descend into a subset of the dirs.
+SUBDIRS = hp2ps stat2resid unlit
+else
+ifeq "$(BootingFromHc)" "YES"
+SUBDIRS = genapply genprimopcode ghc-pkg unlit
+else
+SUBDIRS = hasktags ghc-pkg hp2ps hsc2hs parallel stat2resid prof unlit genprimopcode genapply
+endif
+endif