Refactoring and tidy up in the build system
[ghc-hetmet.git] / rts / ghc.mk
index dd9851a..3e9d8aa 100644 (file)
@@ -246,6 +246,10 @@ ifeq "$(UseLibFFIForAdjustors)" "YES"
 rts_CC_OPTS += -DUSE_LIBFFI_FOR_ADJUSTORS
 endif
 
+ifeq "$(UseArchivesForGhci)" "YES"
+rts_CC_OPTS += -DUSE_ARCHIVES_FOR_GHCI
+endif
+
 # Mac OS X: make sure we compile for the right OS version
 rts_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS)
 rts_HC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS))
@@ -445,7 +449,7 @@ rts_CC_OPTS         += -DDTRACE
 rts_HC_OPTS            += -DDTRACE
 
 DTRACEPROBES_SRC = rts/RtsProbes.d
-$(DTRACEPROBES_H): $(DTRACEPROBES_SRC) | $(dir $@)/.
+$(DTRACEPROBES_H): $(DTRACEPROBES_SRC) includes/ghcplatform.h | $(dir $@)/.
        "$(DTRACE)" $(filter -I%,$(rts_CC_OPTS)) -C -h -o $@ -s $<
 
 endif