Commit 5b4f91d4 authored by sof's avatar sof
Browse files

[project @ 2001-11-19 18:47:43 by sof]

- change the interpretation of FPTOOLS_TOP_ABS, it is now the UNIXy path.
  For Win32, it is of the form <drive>:<path> where '/' is the directory
  separator. Prior to this commit, the directory separator was '\'.
- for the (only) place we need to have a platform-native representation
  of FPTOOLS_TOP_ABS, use FPTOOLS_TOP_ABS_PLATFORM.
parent 53ce311e
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.202 2001/11/09 21:25:56 sof Exp $
# $Id: Makefile,v 1.203 2001/11/19 18:47:43 sof Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
......@@ -383,7 +383,7 @@ all :: ghc-inplace
ghc-inplace : $(HS_PROG)
@$(RM) $@
echo '#!/bin/sh' >>$@
echo exec $(FPTOOLS_TOP_ABS_UNIX)/ghc/compiler/$(HS_PROG) '-B$(FPTOOLS_TOP_ABS)' '"$$@"' >>$@
echo exec $(FPTOOLS_TOP_ABS)/ghc/compiler/$(HS_PROG) '-B$(FPTOOLS_TOP_ABS_PLATFORM)' '"$$@"' >>$@
chmod 755 $@
CLEAN_FILES += ghc-inplace
......
......@@ -436,10 +436,10 @@ ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
DEFAULT_TMPDIR = C:/TEMP
endif
# FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. (platform-specific format).
FPTOOLS_TOP_ABS = @hardtop_plat@
# Keep the Unix-style path to use with Unix tools (e.g. in ghc-inplace script)
FPTOOLS_TOP_ABS_UNIX = @hardtop@
# FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. (POSIX / unix-style path).
FPTOOLS_TOP_ABS = @hardtop@
# The platform specific version of 'hardtop'.
FPTOOLS_TOP_ABS_PLATFORM = @hardtop_plat@
#
# Installation directories, we don't use half of these,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment