[project @ 1998-04-29 09:26:26 by sof]
[ghc-hetmet.git] / ghc / mk / paths.mk
index 0b73d49..a6bb13e 100644 (file)
@@ -3,19 +3,10 @@
 # ghc project specific make variables
 #
 
-#
-PROJECTVERSION=$(GhcProjectVersion)
-PROJECTNAME=$(GhcProjectName)
-PROJECTPATCHLEVEL=$(GhcProjectPatchLevel)
-
-
 # Override default haskell compiler if required
 #HC                    = $(WithGhcHc)
 HaskellCompilerType    = $(WithGhcHcType)
 
-# What ways to build the RTS+libs
-WAYS=$(GhcLibWays)
-
 GCap=-optc-DGCap
 #GC2s=-optc-DGC2s
 #GC1s=-optc-DGC1s
@@ -68,21 +59,17 @@ GHC_SYSMAN_DIR              = $(GHC_RUNTIME_DIR)/gum
 #-----------------------------------------------------------------------------
 # 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