summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-05 01:30:11 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-05 02:38:39 +0000
commit07bd27e09e0a66b2570c87a1b8b9b384b6bd6767 (patch)
tree0044bdbc54f1a9026555a3a8c5b0f1d40b8319ad /rts/ghc.mk
parent086e288c6bb121581debd9308a8c2278f294e35a (diff)
downloadhaskell-wip/make-generated-headers-org.tar.gz
make: Futher systematize handling of generated headerswip/make-generated-headers-org
This will make it easier to add and remove generated headers, as we will do when we add a configure script for the RTS.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index ba1e17ec2e..b4cef0956c 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -595,10 +595,6 @@ $(eval $(call dependencies,rts,dist-install,1))
$(rts_dist-install_depfile_c_asm) : $(includes_dist-install_H_FILES)
-$(rts_dist-install_depfile_c_asm) : $(includes_1_H_CONFIG)
-$(rts_dist-install_depfile_c_asm) : $(includes_1_H_PLATFORM)
-$(rts_dist-install_depfile_c_asm) : $(includes_1_H_VERSION)
-
$(rts_dist-install_depfile_c_asm) : $(DTRACEPROBES_H)
ifneq "$(UseSystemLibFFI)" "YES"
$(rts_dist-install_depfile_c_asm) : $(libffi_HEADERS)
@@ -625,7 +621,7 @@ DTRACE_FLAGS = -x cpppath=$(CC)
endif
DTRACEPROBES_SRC = rts/RtsProbes.d
-$(DTRACEPROBES_H): $(DTRACEPROBES_SRC) $(includes_1_H_PLATFORM) | $$(dir $$@)/.
+$(DTRACEPROBES_H): $(DTRACEPROBES_SRC) $(includes_1_H_CONFIG) $(includes_1_H_PLATFORM) | $$(dir $$@)/.
"$(DTRACE)" $(filter -I%,$(rts_CC_OPTS)) -C $(DTRACE_FLAGS) -h -o $@ -s $<
endif