summaryrefslogtreecommitdiff
path: root/mk/bootstrap.mk
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-03-27 09:44:56 +0000
committersimonmar <unknown>2001-03-27 09:44:56 +0000
commit7af3c5a81696045acf584700e417f3cbc8758749 (patch)
tree74c7e0a2f2a3c7225f8216c68501390157c6ee4f /mk/bootstrap.mk
parent6309196a52e4b2f272a445ca844252bfaead6ab5 (diff)
downloadhaskell-7af3c5a81696045acf584700e417f3cbc8758749.tar.gz
[project @ 2001-03-27 09:44:56 by simonmar]
use fewer absolute paths
Diffstat (limited to 'mk/bootstrap.mk')
-rw-r--r--mk/bootstrap.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk
index abfd2e5b20..e2ffba4386 100644
--- a/mk/bootstrap.mk
+++ b/mk/bootstrap.mk
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: bootstrap.mk,v 1.3 2001/03/27 09:38:26 simonmar Exp $
+# $Id: bootstrap.mk,v 1.4 2001/03/27 09:44:56 simonmar Exp $
#
# Makefile rules for booting from .hc files without a driver.
#
@@ -7,8 +7,8 @@
TOP_SAVED := $(TOP)
TOP:=$(TOP)/ghc
-include $(FPTOOLS_TOP_ABS)/ghc/mk/version.mk
-include $(FPTOOLS_TOP_ABS)/ghc/mk/paths.mk
+include $(TOP)/mk/version.mk
+include $(TOP)/mk/paths.mk
# Reset TOP
TOP:=$(TOP_SAVED)
@@ -48,15 +48,15 @@ PLATFORM_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt)
HC_BOOT_CC_OPTS = $(PLATFORM_HC_BOOT_CC_OPTS) -D__GLASGOW_HASKELL__=411 $(CC_OPTS)
-SRC_CC_OPTS += -I$(FPTOOLS_TOP_ABS)/ghc/includes -I$(FPTOOLS_TOP_ABS)/ghc/lib/std/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/lang/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/posix/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/util/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/text/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/hssource/cbits
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_LIB_DIR)/std/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/lang/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/posix/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/util/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/text/cbits -I$(FPTOOLS_TOP_ABS)/hslibs/hssource/cbits
# -----------------------------------------------------------------------------
# Linking: we have to give all the libraries explicitly.
HC_BOOT_LD_OPTS = \
- -L$(FPTOOLS_TOP_ABS)/ghc/rts \
- -L$(FPTOOLS_TOP_ABS)/ghc/lib/std \
- -L$(FPTOOLS_TOP_ABS)/ghc/lib/std/cbits \
+ -L$(GHC_RUNTIME_DIR) \
+ -L$(GHC_LIB_DIR)/std \
+ -L$(GHC_LIB_DIR)/std/cbits \
-L$(FPTOOLS_TOP_ABS)/hslibs/lang \
-L$(FPTOOLS_TOP_ABS)/hslibs/lang/cbits \
-L$(FPTOOLS_TOP_ABS)/hslibs/concurrent \