1 # -----------------------------------------------------------------------------
2 # $Id: paths.mk,v 1.38 2001/09/10 12:57:59 simonmar 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
26 # ---------------------------------------------------
27 # -- These variables are defined primarily so they can
28 # -- be spat into Config.hs by ghc/compiler/Makefile
30 # -- See comments in ghc/compiler/main/SysTools.lhs
34 GHC_DRIVER_DIR := $(PROJECT_DIR)/driver
35 GHC_UTILS_DIR := $(PROJECT_DIR)/utils
37 GHC_TOUCHY_DIR = $(GHC_UTILS_DIR)/touchy
39 GHC_UNLIT_DIR = $(GHC_UTILS_DIR)/unlit
40 GHC_UNLIT = unlit$(EXE_SUFFIX)
42 GHC_MANGLER_DIR = $(GHC_DRIVER_DIR)/mangler
45 GHC_SPLIT_DIR = $(GHC_DRIVER_DIR)/split
48 GHC_SYSMAN = $(GHC_RUNTIME_DIR)/parallel/SysMan
49 GHC_SYSMAN_DIR = $(GHC_RUNTIME_DIR)/parallel
51 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
55 GHC_TOUCHY = touchy$(EXE_SUFFIX)