# ghc project specific make variables
#
-#
-PROJECTVERSION=$(GhcProjectVersion)
-PROJECTNAME=$(GhcProjectName)
-PROJECTPATCHLEVEL=$(GhcProjectPatchLevel)
-
-
-# Override default haskell compiler if required
-#HC = $(WithGhcHc)
-HaskellCompilerType = $(WithGhcHcType)
-
GCap=-optc-DGCap
#GC2s=-optc-DGC2s
#GC1s=-optc-DGC1s
GHC_DRIVER_DIR = $(TOP)/driver
GHC_COMPILER_DIR = $(TOP)/compiler
-GHC_RUNTIME_DIR = $(TOP)/runtime
+GHC_RUNTIME_DIR = $(TOP)/rts
GHC_LIB_DIR = $(TOP)/lib
GHC_INCLUDE_DIR = $(TOP)/includes
GHC_UTILS_DIR = $(TOP)/utils
#-----------------------------------------------------------------------------
# Stuff for the C-compiling phase in particular...
-# NON-OPTIMISING C COMPILATION: =================================
-
-ifeq ($(HaveGcc), YES)
-GHC_DEBUG_HILEV_ASM = $(WhatGccIsCalled)
-else
-GHC_DEBUG_HILEV_ASM = $(CC)
-endif
-
-# OPTIMISING C COMPILATION (regs, etc): ==========================
-
ifeq ($(HaveGcc), YES)
GHC_OPT_HILEV_ASM = $(WhatGccIsCalled)
-GHC_GCC_IS_AVAILABLE = 1
else
GHC_OPT_HILEV_ASM = $(CC)
-GHC_GCC_IS_AVAILABLE = 0
endif
+#
+# There's no need to compute dependencies when booting from .hc files
+#
+ifneq "$(GhcWithHscBuiltViaC)" "YES"
+MKDEPENDHS_SRCS = $(HS_SRCS)
+else
+MKDEPENDHS_SRCS =
+endif