# ----------------------------------------------------------------------------- # $Id: paths.mk,v 1.36 2001/07/31 14:31:28 simonmar Exp $ # # ghc project specific make variables # #----------------------------------------------------------------------------- # HsTags ifdef UseInstalledUtils HSTAGS = hstags else HSTAGS = $(HSTAGS_DIR)/hstags HSTAGS_DIR = $(GHC_UTILS_DIR)/hstags endif #----------------------------------------------------------------------------- # Extra things ``only for'' for the ghc project # These are all build-time things GHC_INCLUDE_DIR := $(TOP)/includes GHC_COMPILER_DIR := $(TOP)/compiler GHC_RUNTIME_DIR := $(TOP)/rts GHC_LIB_DIR := $(TOP)/lib # --------------------------------------------------- # -- These variables are defined primarily so they can # -- be spat into Config.hs by ghc/compiler/Makefile # # -- See comments in ghc/compiler/main/SysTools.lhs PROJECT_DIR := ghc GHC_DRIVER_DIR := $(PROJECT_DIR)/driver GHC_UTILS_DIR := $(PROJECT_DIR)/utils GHC_TOUCHY_DIR = $(GHC_UTILS_DIR)/touchy GHC_UNLIT_DIR = $(GHC_UTILS_DIR)/unlit GHC_UNLIT = unlit$(EXE_SUFFIX) GHC_MANGLER_DIR = $(GHC_DRIVER_DIR)/mangler GHC_MANGLER = ghc-asm GHC_SPLIT_DIR = $(GHC_DRIVER_DIR)/split GHC_SPLIT = ghc-split GHC_SYSMAN = $(GHC_RUNTIME_DIR)/parallel/SysMan GHC_SYSMAN_DIR = $(GHC_RUNTIME_DIR)/parallel ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" GHC_CP = "xcopy /y" GHC_PERL = perl GHC_TOUCHY = touchy$(EXE_SUFFIX) else GHC_CP = $(CP) GHC_PERL = $(PERL) GHC_TOUCHY = touch endif