X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fstd%2FMakefile;h=4a7b2c25e3a522b7112ea456b0378fb9cd99291a;hb=50027272414438955dbc41696541cbd25da55883;hp=0857f53dd3b13edf84c094ed1021f2cd33cab521;hpb=874d309255f603878dc31144c59a28d9dbca000f;p=ghc-hetmet.git diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 0857f53..4a7b2c2 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -22,8 +22,7 @@ endif # Setting the standard variables # -HC = $(GHC_INPLACE) -CC = $(GHC_INPLACE) +HC = $(GHC_INPLACE) ifneq "$(DLLized)" "YES" PACKAGE = -package-name std @@ -72,8 +71,12 @@ PrelPrimopWrappers.hs: ../../compiler/prelude/primops.txt PrelGHC.$(way_)hi : PrelGHC.hi-boot cp $< $@ -boot :: PrelPrimopWrappers.hs PrelGHC.hi $(foreach way, $(WAYS), PrelGHC.$(way)_hi) -all :: PrelPrimopWrappers.hs +boot :: PrelGHC.hi $(foreach way, $(WAYS), PrelGHC.$(way)_hi) + +ifneq "$(BootingFromHc)" "YES" +boot :: PrelPrimopWrappers.hs +all :: PrelPrimopWrappers.hs +endif DLL_DESCRIPTION="GHC-compiled Haskell Prelude"