[project @ 2000-05-24 11:37:41 by simonpj]
[ghc-hetmet.git] / ghc / Makefile
index c95b80b..f9c691c 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.6 1997/03/24 04:39:38 sof Exp $
+# $Id: Makefile,v 1.10 2000/01/31 15:12:07 simonmar Exp $
 #
 
 TOP=.
@@ -21,9 +21,20 @@ 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
+ifeq "$(BIN_DIST)" "1"
+SUBDIRS := $(filter-out docs,$(SUBDIRS))
+endif
+
+ifeq ($(IncludeTestDirsInBuild),YES)
+SUBDIRS += tests
+endif
+
+SRC_DIST_FILES += configure
+
 include $(TOP)/mk/target.mk