X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FMakefile;h=7930fa75bbf751aedf992e4a3a04ec7406ca3efe;hp=1eebfd6c40282658bc8b2705a2132c388fbbe28a;hb=da6f42a2bb231bae3fdbe06350db26e2cdee2c34;hpb=8f4c823a0a5f8d730eff0fc2ee5e12cb248c0caa diff --git a/rts/Makefile b/rts/Makefile index 1eebfd6..7930fa7 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -207,6 +207,8 @@ SRC_MKDEPENDC_OPTS += -DPROFILING -DTHREADED_RTS -DDEBUG # We want a slightly different version for the unregisterised way, so we make # AutoApply on a per-way basis (eg. AutoApply_p.cmm). +ifneq "$(DOING_BIN_DIST)" "YES" + AUTO_APPLY_CMM = AutoApply$(_way).cmm ifneq "$(BootingFromHc)" "YES" @@ -219,6 +221,8 @@ EXTRA_CMM_SRCS += $(AUTO_APPLY_CMM) CLEAN_FILES += $(AUTO_APPLY_CMM) +endif + # ----------------------------------------------------------------------------- # # Building DLLs is only supported on mingw32 at the moment.