X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=8377fcd10b3c850200fb9fe71a1eb1cc1b17692f;hb=e96ffbdd524ee98473e486e52e79bb5912aac664;hp=dfd2bfbc9810bdab04074e941d107713162ebd82;hpb=20c30caf0fbe86ee97851bdba356599362638174;p=ghc-base.git diff --git a/Makefile b/Makefile index dfd2bfb..8377fcd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.35 2002/06/24 14:40:02 simonmar Exp $ +# $Id: Makefile,v 1.39 2002/09/30 10:27:49 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -16,22 +16,17 @@ ALL_DIRS = \ 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 \ @@ -44,7 +39,7 @@ ALL_DIRS = \ PACKAGE = base SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude -SRC_HSC2HS_OPTS += -Iinclude +SRC_HSC2HS_OPTS += -Iinclude -I$(FPTOOLS_TOP)/ghc/includes # Make sure we can get hold of regex.h ifneq "$(HavePosixRegex)" "YES" @@ -62,7 +57,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 +100,8 @@ EXCLUDED_HADDOCK_SRCS = \ 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 # -----------------------------------------------------------------------------