# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.35 2002/06/24 14:40:02 simonmar Exp $
+# $Id: Makefile,v 1.40 2002/12/20 09:31:11 simonmar Exp $
TOP=..
include $(TOP)/mk/boilerplate.mk
Data \
Data/Array \
Data/STRef \
- Database \
Debug \
Debug/QuickCheck \
- FileFormat \
Foreign \
Foreign/C \
Foreign/Marshal \
GHC \
- Hugs \
- Language \
- Network \
- NHC \
System \
System/Console \
System/Mem \
System/IO \
+ System/Posix \
Text \
Text/Html \
Text/PrettyPrint \
PACKAGE = base
-SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude
-SRC_HSC2HS_OPTS += -Iinclude
+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
ifneq "$(HavePosixRegex)" "YES"
# PrimOpWrappers
GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt
- rm -f $@
+ @$(RM) $@
$(GHC_GENPRIMOP) --make-haskell-wrappers < $< > $@
boot :: GHC/PrimopWrappers.hs
Data/Generics.hs \
GHC/PArr.hs
-SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" --no-implicit-prelude
+SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" \
+ --no-implicit-prelude -p prologue.txt
# -----------------------------------------------------------------------------