-# If we're booting from .hc files, swap the order
-# we descend into compiler/ and lib/.
-#
-ifeq "$(BootingFromHc)" "YES"
-SUBDIRS = includes utils rts docs lib compiler driver
-else
-SUBDIRS = includes utils driver docs compiler rts lib
-endif
-
-# Easier to copy
-ifeq "$(BIN_DIST)" "1"
-SUBDIRS := $(filter-out docs,$(SUBDIRS))
-endif
-
-ifeq ($(IncludeTestDirsInBuild),YES)
-SUBDIRS += tests
-endif