Prune imports
[ghc-hetmet.git] / libraries / Makefile
index a27d92b..3a1c70f 100644 (file)
@@ -5,6 +5,10 @@ include $(TOP)/mk/boilerplate.mk
 
 # -----------------------------------------------------------------------------
 
+# The Cabal package has a GNUmakefile for standalone building, but we
+# want the Makefile.
+MFLAGS += -f Makefile
+
 SUBDIRS = base haskell98 template-haskell
 
 ifeq "$(GhcLibsWithUnix)" "YES"
@@ -12,12 +16,13 @@ SUBDIRS += unix
 endif
 
 SUBDIRS += Cabal
-SUBDIRS += $(wildcard parsec)
 
 # Set GhcBootLibs=YES from the command line to work with just the libraries
 # needed to bootstrap GHC.
 ifneq "$(GhcBootLibs)" "YES"
+SUBDIRS += $(wildcard parsec)
 SUBDIRS += $(wildcard haskell-src)
+SUBDIRS += $(wildcard time)
 SUBDIRS += $(wildcard network)
 SUBDIRS += $(wildcard QuickCheck)
 SUBDIRS += $(wildcard HUnit)