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