From: rrt Date: Fri, 19 Jan 2001 15:02:38 +0000 (+0000) Subject: [project @ 2001-01-19 15:02:38 by rrt] X-Git-Tag: Approximately_9120_patches~2844 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=74880a8273639d26b7d492d8808df69debaa4a53;p=ghc-hetmet.git [project @ 2001-01-19 15:02:38 by rrt] Path mangling for Windows to try to make ghc-inplace work when installed on other drives than C:. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index 2fe53d5..ce53b28 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -385,10 +385,22 @@ NoFibHcOpts = -O # setting the TMPDIR env var would have no effect in the build tree. DEFAULT_TMPDIR = /tmp +ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" +DEFAULT_TMPDIR = C:/TEMP +endif +ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +DEFAULT_TMPDIR = C:/TEMP +endif # FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. FPTOOLS_TOP_ABS = @hardtop@ +ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" +FPTOOLS_TOP_ABS = $(patsubst /cygdrive/%/,%:/,@hardtop@) +endif +ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +FPTOOLS_TOP_ABS = $(patsubst /cygdrive/%/,%:/,@hardtop@) +endif # # Installation directories, we don't use half of these,