[project @ 2000-10-27 16:25:01 by simonmar]
[ghc-hetmet.git] / ghc / mk / paths.mk
1 # -----------------------------------------------------------------------------
2 # $Id: paths.mk,v 1.27 2000/10/27 16:25:01 simonmar Exp $
3 #
4 # ghc project specific make variables
5 #
6
7 #-----------------------------------------------------------------------------
8 # HsTags
9
10 ifdef UseInstalledUtils
11 HSTAGS                  = hstags
12 else
13 HSTAGS                  = $(HSTAGS_DIR)/hstags
14 HSTAGS_DIR              = $(GHC_UTILS_DIR)/hstags
15 endif
16
17 #-----------------------------------------------------------------------------
18 # Extra things ``only for'' for the ghc project
19
20 GHC_DRIVER_DIR          := $(TOP)/driver
21 GHC_COMPILER_DIR        := $(TOP)/compiler
22 GHC_RUNTIME_DIR         := $(TOP)/rts
23 GHC_LIB_DIR             := $(TOP)/lib
24 GHC_INCLUDE_DIR         := $(TOP)/includes
25 GHC_UTILS_DIR           := $(TOP)/utils
26 GHC_INTERPRETER_DIR     := $(TOP)/interpreter
27
28 GHC_UNLIT_DIR           := $(GHC_UTILS_DIR)/unlit
29 GHC_MANGLER_DIR         := $(GHC_DRIVER_DIR)/mangler
30 GHC_SPLIT_DIR           := $(GHC_DRIVER_DIR)/split
31 GHC_STAT_DIR            := $(GHC_DRIVER_DIR)/stats
32
33 GHC_UNLIT               = $(GHC_UNLIT_DIR)/unlit$(EXE_SUFFIX)
34 GHC_MANGLER             = $(GHC_MANGLER_DIR)/ghc-asm
35 GHC_SPLIT               = $(GHC_SPLIT_DIR)/ghc-split
36 GHC_STATS               = $(GHC_STAT_DIR)/ghc-stats
37
38 GHC_SYSMAN              = $(GHC_RUNTIME_DIR)/parallel/SysMan
39 GHC_SYSMAN_DIR          = $(GHC_RUNTIME_DIR)/parallel
40
41 #-----------------------------------------------------------------------------
42 # Stuff for the C-compiling phase in particular...
43
44 ifeq ($(HaveGcc), YES)
45 GHC_OPT_HILEV_ASM               = $(WhatGccIsCalled)
46 else
47 GHC_OPT_HILEV_ASM               = $(CC)
48 endif
49
50 #
51 # There's no need to compute dependencies when booting from .hc files
52 #
53 ifneq "$(GhcWithHscBuiltViaC)" "YES"
54 MKDEPENDHS_SRCS = $(HS_SRCS)
55 else
56 MKDEPENDHS_SRCS =
57 endif