# ----------------------------------------------------------------------------- # $Id: paths.mk,v 1.27 2000/10/27 16:25:01 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 GHC_DRIVER_DIR := $(TOP)/driver GHC_COMPILER_DIR := $(TOP)/compiler GHC_RUNTIME_DIR := $(TOP)/rts GHC_LIB_DIR := $(TOP)/lib GHC_INCLUDE_DIR := $(TOP)/includes GHC_UTILS_DIR := $(TOP)/utils GHC_INTERPRETER_DIR := $(TOP)/interpreter GHC_UNLIT_DIR := $(GHC_UTILS_DIR)/unlit GHC_MANGLER_DIR := $(GHC_DRIVER_DIR)/mangler GHC_SPLIT_DIR := $(GHC_DRIVER_DIR)/split GHC_STAT_DIR := $(GHC_DRIVER_DIR)/stats GHC_UNLIT = $(GHC_UNLIT_DIR)/unlit$(EXE_SUFFIX) GHC_MANGLER = $(GHC_MANGLER_DIR)/ghc-asm GHC_SPLIT = $(GHC_SPLIT_DIR)/ghc-split GHC_STATS = $(GHC_STAT_DIR)/ghc-stats GHC_SYSMAN = $(GHC_RUNTIME_DIR)/parallel/SysMan GHC_SYSMAN_DIR = $(GHC_RUNTIME_DIR)/parallel #----------------------------------------------------------------------------- # Stuff for the C-compiling phase in particular... ifeq ($(HaveGcc), YES) GHC_OPT_HILEV_ASM = $(WhatGccIsCalled) else GHC_OPT_HILEV_ASM = $(CC) endif # # There's no need to compute dependencies when booting from .hc files # ifneq "$(GhcWithHscBuiltViaC)" "YES" MKDEPENDHS_SRCS = $(HS_SRCS) else MKDEPENDHS_SRCS = endif