X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=249f6aaec7cc1e4503e0e2d21c1cac5d7a739e87;hb=13c9517f61fe8104395ca08c2a378211458618be;hp=53cb84b03e72bbccbe0c06ed07380acd2dce9881;hpb=03549f337620a2eb957dad072ef6a0c1c624e6f8;p=ghc-base.git diff --git a/Makefile b/Makefile index 53cb84b..249f6aa 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.34 2002/06/21 14:00:32 simonmar Exp $ +# $Id: Makefile,v 1.41 2003/03/06 09:51:03 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -15,23 +15,19 @@ ALL_DIRS = \ Control/Monad/ST \ Data \ Data/Array \ + Data/Array/IO \ 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 \ @@ -43,8 +39,8 @@ ALL_DIRS = \ 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" @@ -62,7 +58,7 @@ SRC_HC_OPTS += -funbox-strict-fields # PrimOpWrappers GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt - rm -f $@ + @$(RM) $@ $(GHC_GENPRIMOP) --make-haskell-wrappers < $< > $@ boot :: GHC/PrimopWrappers.hs @@ -105,7 +101,8 @@ EXCLUDED_HADDOCK_SRCS = \ Data/Generics.hs \ GHC/PArr.hs -SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" +SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" \ + --no-implicit-prelude -p prologue.txt # -----------------------------------------------------------------------------