From: sof Date: Mon, 25 Aug 1997 21:33:59 +0000 (+0000) Subject: [project @ 1997-08-25 21:33:59 by sof] X-Git-Tag: Approximately_1000_patches_recorded~133 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d579a70fe195e87e8e7004c5e4d23073d091d3f7;p=ghc-hetmet.git [project @ 1997-08-25 21:33:59 by sof] removed -DCOMPILING_GHC from SRC_HC_OPTS (unused); cooler -i usage --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index a60d835..e78bc7e 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -121,10 +121,19 @@ SRC_DIST_FILES += rename/ParseIface.hs \ # HC=$(WithGhcHc) +# magic from GNU make manual to convert a list of values +# into a colon-separated list +empty:= +space:= $(empty) $(empty) + SRC_HC_OPTS += \ - -cpp -fhaskell-1.3 \ - -fglasgow-exts -DCOMPILING_GHC -Rghc-timing -I. -IcodeGen \ - -InativeGen -Iparser $(foreach dir,$(DIRS),-i$(dir)) + -cpp -fglasgow-exts -Rghc-timing \ + -I. -IcodeGen -InativeGen -Iparser \ + -i$(subst $(space),:,$(DIRS)) + +ifeq "$(Ghc2_0)" "NO" +SRC_HC_OPTS += -fhaskell-1.3 +endif # -syslib ghc just needed for use of PackedString.hPutPS @@ -211,7 +220,7 @@ endif utils/Argv_HC_OPTS = -fvia-C utils/SST_HC_OPTS = -fvia-C utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs -utils/FastString_HC_OPTS = -fvia-C +utils/FastString_HC_OPTS = -fvia-C -monly-3-regs utils/StringBuffer_HC_OPTS = -fvia-C utils/Digraph_HC_OPTS = -fglasgow-exts -fvia-C