X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=5fea4b2503b9d4d05f81d7fd0085deaa31724a07;hb=cd883e2f4dc0c37488441d18ef7b3a9ae9719b55;hp=cda113a6347a2feb248e2b19eab67f091835aba3;hpb=cdce647711c0f46f5799b24de087622cb77e647f;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index cda113a..5fea4b2 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -502,6 +502,10 @@ FPTOOLS_TOP_ABS = @hardtop@ # The platform specific version of 'hardtop'. FPTOOLS_TOP_ABS_PLATFORM = @hardtop_plat@ +BIN_DIST_NAME=ghc-$(ProjectVersion) +BIN_DIST_TOPDIR=$(FPTOOLS_TOP_ABS) +BIN_DIST_DIR=$(BIN_DIST_TOPDIR)/$(BIN_DIST_NAME) + # # Installation directories, we don't use half of these, # but since the configure script has them on offer while @@ -775,6 +779,8 @@ MKDIRHIER = $(GHC_MKDIRHIER_DIR)/$(GHC_MKDIRHIER_PGM) LNDIR = $(GHC_LNDIR_DIR)/$(GHC_LNDIR_PGM) RUNTEST = $(GHC_RUNTEST_DIR)/$(GHC_RUNTEST_PGM) +GENERATED_FILE = chmod a-w + #----------------------------------------------------------------------------- # Haskell compilers and mkdependHS @@ -817,7 +823,6 @@ GhcPatchLevel = @ProjectPatchLevel@ GhcMajVersion = @GhcMajVersion@ GhcMinVersion = @GhcMinVersion@ -ghc_ge_504 = YES ghc_ge_601 = YES ghc_ge_602 = YES ghc_ge_603 = YES @@ -833,7 +838,6 @@ GhcMajVersion = @GhcMajVersion@ GhcMinVersion = @GhcMinVersion@ # Some useful GHC version predicates: -ghc_ge_504 = @ghc_ge_504@ ghc_ge_601 = @ghc_ge_601@ ghc_ge_602 = @ghc_ge_602@ ghc_ge_603 = @ghc_ge_603@ @@ -1152,6 +1156,10 @@ WAY_debug_p_HC_OPTS=-optc-DDEBUG -prof WAY_debug_u_NAME=debug unregisterised WAY_debug_u_HC_OPTS=-optc-DDEBUG -unreg +# Way 'debug_t': +WAY_debug_t_NAME=debug ticky-ticky profiling +WAY_debug_t_HC_OPTS= -ticky -optc-DDEBUG + # Way 'thr_debug': WAY_thr_debug_NAME=threaded WAY_thr_debug_HC_OPTS=-optc-DTHREADED_RTS -optc-DDEBUG @@ -1230,3 +1238,11 @@ WAY_o_HC_OPTS= # GhcLibCppOpts += -DWORD_SIZE_IN_BITS=31 # SplitObjs=NO +################################################################################ +# +# Library configure arguments +# +################################################################################ + +CONFIGURE_ARGS = @CONFIGURE_ARGS@ +