X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=ae7b743691e303763a5ec3d5369f67d78104fbc1;hb=a12dcc89780ddec69beec723ac444c5fab388a9a;hp=f3fc65e63bf4c69ae09488a0ab9e25be04601a81;hpb=b6d8ea325f1edc435b58782ae6880a6eee542aa8;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index f3fc65e..ae7b743 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -342,10 +342,16 @@ endif # t : ticky-ticky profiling # debug_t : debugging ticky-ticky profiling # -ifeq "$(BootingFromHc)" "YES" GhcRTSWays= -else -GhcRTSWays=thr thr_p debug thr_debug + +# Usually want the debug version +ifeq "$(BootingFromHc)" "NO" +GhcRTSWays += debug +endif + +# Want the threaded versions unless we're unregisterised +ifeq "$(GhcUnregisterised)" "NO" +GhcRTSWays += thr thr_p thr_debug endif # Option flags to pass to GHC when it's compiling modules in @@ -502,6 +508,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 @@ -823,6 +833,7 @@ ghc_ge_601 = YES ghc_ge_602 = YES ghc_ge_603 = YES ghc_ge_605 = YES +ghc_ge_607 = YES else # not UseStage1 or BootingFromHc @@ -838,6 +849,7 @@ ghc_ge_601 = @ghc_ge_601@ ghc_ge_602 = @ghc_ge_602@ ghc_ge_603 = @ghc_ge_603@ ghc_ge_605 = @ghc_ge_605@ +ghc_ge_607 = @ghc_ge_607@ endif # Canonicalised ghc version number, used for easy (integer) version @@ -1002,6 +1014,10 @@ UNAME = uname # GTK+ GTK_CONFIG = @GTK_CONFIG@ +# Set this if you want to use Inno Setup to build a Windows installer +# when you make a bindist +ISCC = + #----------------------------------------------------------------------------- # DocBook XML stuff