Commit a0d19e33 authored by sof's avatar sof
Browse files

[project @ 2002-08-09 21:28:09 by sof]

Added GHC_MANGLER_DIR, GHC_SPLIT_DIR + fix .raw_s -> .s bootstrap suffix rule
parent 73a689e2
# -----------------------------------------------------------------------------
# $Id: paths.mk,v 1.40 2002/04/01 13:57:10 simonpj Exp $
# $Id: paths.mk,v 1.41 2002/08/09 21:28:09 sof Exp $
#
# ghc project specific make variables
#
......@@ -34,6 +34,9 @@ GHC_UTILS_DIR = $(GHC_TOP)/$(GHC_UTILS_DIR_REL)
GHC_DRIVER_DIR = $(GHC_TOP)/$(GHC_DRIVER_DIR_REL)
GHC_PKG_DIR = $(GHC_TOP)/$(GHC_PKG_DIR_REL)
GHC_GENPRIMOP_DIR = $(GHC_TOP)/$(GHC_GENPRIMOP_DIR_REL)
GHC_MANGLER_DIR = $(GHC_TOP)/$(GHC_MANGLER_DIR_REL)
GHC_SPLIT_DIR = $(GHC_TOP)/$(GHC_SPLIT_DIR_REL)
GHC_LIB_DIR = $(FPTOOLS_TOP)/libraries
......
# -----------------------------------------------------------------------------
# $Id: bootstrap.mk,v 1.19 2002/05/14 08:25:46 matthewc Exp $
# $Id: bootstrap.mk,v 1.20 2002/08/09 21:28:10 sof Exp $
#
# Makefile rules for booting from .hc files without a driver.
#
......@@ -149,7 +149,7 @@ else
$(CC) -x c $< -o $@ -S -O $(HC_BOOT_CC_OPTS) -I. `echo $(patsubst -monly-%-regs, -DSTOLEN_X86_REGS=%, $(filter -monly-%-regs, $($*_HC_OPTS))) | sed 's/^$$/-DSTOLEN_X86_REGS=4/'`
%.s : %.raw_s
$(FPTOOLS_TOP)/$(GHC_MANGLER_DIR)/$(GHC_MANGLER) $< $@ $(patsubst -monly-%-regs, %, $(filter -monly-%-regs, $($*_HC_OPTS)))
$(GHC_MANGLER) $< $@ $(patsubst -monly-%-regs, %, $(filter -monly-%-regs, $($*_HC_OPTS)))
%.o : %.s
$(CC) -c -o $@ $<
......
Supports Markdown
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