[project @ 1999-12-07 14:46:31 by chak]
[ghc-hetmet.git] / ghc / Makefile
index 1386d2c..7c61e4d 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.7 1997/03/24 08:39:19 sof Exp $
+# $Id: Makefile,v 1.9 1999/12/07 11:19:35 simonmar Exp $
 #
 
 TOP=.
@@ -21,9 +21,9 @@ include $(TOP)/mk/boilerplate.mk
 # we descend into compiler/ and lib/
 #
 ifeq "$(GhcWithHscBuiltViaC)" "NO"
-SUBDIRS = utils driver includes runtime docs compiler lib
+SUBDIRS = utils driver includes rts docs compiler lib
 else
-SUBDIRS = utils driver includes runtime docs lib compiler
+SUBDIRS = utils driver includes rts docs lib compiler
 endif
 
 # Easier to copy
@@ -31,4 +31,8 @@ ifeq "$(BIN_DIST)" "1"
 SUBDIRS := $(filter-out docs,$(SUBDIRS))
 endif
 
+ifeq ($(IncludeTestDirsInBuild),YES)
+SUBDIRS += tests
+endif
+
 include $(TOP)/mk/target.mk