1 # -----------------------------------------------------------------------------
2 # $Id: paths.mk,v 1.34 2001/06/27 13:16:59 rrt Exp $
4 # ghc project specific make variables
7 #-----------------------------------------------------------------------------
10 ifdef UseInstalledUtils
13 HSTAGS = $(HSTAGS_DIR)/hstags
14 HSTAGS_DIR = $(GHC_UTILS_DIR)/hstags
17 #-----------------------------------------------------------------------------
18 # Extra things ``only for'' for the ghc project
19 # These are all build-time things
21 GHC_INCLUDE_DIR := $(TOP)/includes
22 GHC_COMPILER_DIR := $(TOP)/compiler
23 GHC_RUNTIME_DIR := $(TOP)/rts
24 GHC_LIB_DIR := $(TOP)/lib
25 GHC_INTERPRETER_DIR := $(TOP)/interpreter
27 # ---------------------------------------------------
28 # -- These variables are defined primarily so they can
29 # -- be spat into Config.hs by ghc/compiler/Makefile
31 # -- See comments in ghc/compiler/main/SysTools.lhs
35 GHC_DRIVER_DIR := $(PROJECT_DIR)/driver
36 GHC_UTILS_DIR := $(PROJECT_DIR)/utils
38 GHC_TOUCHY_DIR = $(GHC_UTILS_DIR)/touchy
40 GHC_UNLIT_DIR = $(GHC_UTILS_DIR)/unlit
41 GHC_UNLIT = unlit$(EXE_SUFFIX)
43 GHC_MANGLER_DIR = $(GHC_DRIVER_DIR)/mangler
46 GHC_SPLIT_DIR = $(GHC_DRIVER_DIR)/split
49 GHC_SYSMAN = $(GHC_RUNTIME_DIR)/parallel/SysMan
50 GHC_SYSMAN_DIR = $(GHC_RUNTIME_DIR)/parallel
52 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
56 GHC_TOUCHY = touchy$(EXE_SUFFIX)
57 GHC_RAWCPP = $(subst -mwin32,,$(RAWCPP))
58 # Don't know why we do this...
65 GHC_RAWCPP = $(RAWCPP)