From c60652929ebd2510e52c05a2f61d52e2bf1846ad Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 12 Nov 2021 01:29:27 +0000 Subject: Make: Move remaining built RTS headers to ...build/include This allows us to clean up the rts include dirs in the package conf. --- rts/ghc.mk | 2 +- rts/package.conf.in | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'rts') diff --git a/rts/ghc.mk b/rts/ghc.mk index b4cef0956c..3643e07e9e 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -99,7 +99,7 @@ $(rts_AUTO_APPLY_CMM): $$(genapply_INPLACE) rts_H_FILES := $(wildcard rts/*.h rts/*/*.h) ifeq "$(USE_DTRACE)" "YES" -DTRACEPROBES_H = rts/dist-install/build/RtsProbes.h +DTRACEPROBES_H = rts/dist-install/build/include/RtsProbes.h rts_H_FILES += $(DTRACEPROBES_H) endif diff --git a/rts/package.conf.in b/rts/package.conf.in index 46103e49b9..1d3611f930 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -70,11 +70,10 @@ extra-libraries: #if defined(INSTALLING) include-dirs: INCLUDE_DIR FFI_INCLUDE_DIR #else /* !INSTALLING */ -include-dirs: TOP"/rts/dist-install/build" - TOP"/rts/include" +include-dirs: TOP"/rts/include" + TOP"/rts/dist-install/build/include" FFI_INCLUDE_DIR LIBDW_INCLUDE_DIR - TOP"/rts/dist-install/build/include" #endif includes: Stg.h -- cgit v1.2.1