-# If we're booting from .hc files, swap the order
-# we descend into compiler/ and lib/
-#
-ifeq "$(GhcWithHscBuiltViaC)" "NO"
-SUBDIRS = utils driver includes runtime docs compiler lib
-else
-SUBDIRS = utils driver includes runtime docs lib compiler
-endif
+# -----------------------------------------------------------------------------
+
+dir = ghc
+
+include ../mk/compiler-ghc.mk