-# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.46 2003/07/24 13:53:20 simonmar Exp $
-
TOP=..
include $(TOP)/mk/boilerplate.mk
ALL_DIRS = \
Control \
Control/Concurrent \
+ Control/Parallel \
Control/Monad \
Control/Monad/ST \
Data \
Data/Array/IO \
Data/STRef \
Debug \
- Debug/QuickCheck \
Foreign \
Foreign/C \
Foreign/Marshal \
Text/Html \
Text/PrettyPrint \
Text/ParserCombinators \
- Text/ParserCombinators/Parsec \
Text/Regex \
Text/Show \
Text/Read
SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude -\#include HsBase.h
SRC_HSC2HS_OPTS += -Iinclude -I$(FPTOOLS_TOP)/ghc/includes
-# Make sure we can get hold of regex.h
+# If there is no system-supplied POSIX regex library, use our own
ifneq "$(HavePosixRegex)" "YES"
+# Make sure we can get hold of regex.h
SRC_HC_OPTS += -Icbits/regex
SRC_HSC2HS_OPTS += -Icbits/regex
endif
EXTRA_SRCS += GHC/PrimopWrappers.hs
CLEAN_FILES += GHC/PrimopWrappers.hs
+# -----------------------------------------------------------------------------
+
+STUBOBJS += \
+ Control/Concurrent_stub.$(way_)o
+
+CLEAN_FILES += $(STUBOBJS) \
+ Control/Concurrent_stub.[ch]
+
#-----------------------------------------------------------------------------
# Building the library for GHCi
#
GHC/PrimopWrappers.hs \
GHC/PArr.hs
-SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" \
- --no-implicit-prelude -p prologue.txt
+SRC_HADDOCK_OPTS += -t "Haskell Hierarchical Libraries ($(PACKAGE) package)" \
+ --no-implicit-prelude
# -----------------------------------------------------------------------------