[project @ 2003-07-23 13:08:22 by simonpj]
[ghc-hetmet.git] / ghc / Makefile
index 5d13069..ee14beb 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.20 2002/02/12 15:17:13 simonmar Exp $
+# $Id: Makefile,v 1.22 2003/03/31 12:23:41 simonmar Exp $
 #
 
 TOP=.
@@ -18,10 +18,10 @@ include $(TOP)/mk/boilerplate.mk
 # before the rest to have a config.h, etc.
 #
 # If we're booting from .hc files, swap the order
-# we descend into compiler/ and lib/.
+# we descend into subdirs - to boot utils must be before driver.
 #
 ifeq "$(BootingFromHc)" "YES"
-SUBDIRS = includes utils rts docs compiler driver
+SUBDIRS = includes rts docs compiler utils driver
 else
 ifneq "$(ILXized)" "YES"
 SUBDIRS = includes utils driver docs compiler rts
@@ -31,11 +31,6 @@ SUBDIRS = includes utils driver docs compiler
 endif
 endif
 
-# Easier to copy
-ifeq "$(BIN_DIST)" "1"
-SUBDIRS := $(filter-out docs,$(SUBDIRS))
-endif
-
 ifeq ($(IncludeTestDirsInBuild),YES)
 SUBDIRS += tests
 endif