summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-05-09 20:44:08 +0100
committerIan Lynagh <ian@well-typed.com>2013-05-09 20:44:08 +0100
commitdca18dc7bc679a2fe2ed82e1b63129056bd58933 (patch)
tree6d5a847654b2ae859432c94a4cd2c3583ab40479 /rts
parentba00c33b8b2116a8f3ee13d28e5b5085ff265d58 (diff)
downloadhaskell-dca18dc7bc679a2fe2ed82e1b63129056bd58933.tar.gz
Generate dependencies for .cmm files properly
Diffstat (limited to 'rts')
-rw-r--r--rts/ghc.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 5164ca4958..85f72b4a1d 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -484,9 +484,12 @@ endif
rts_WAYS_DASHED = $(subst $(space),,$(patsubst %,-%,$(strip $(rts_WAYS))))
rts_dist_depfile_base = rts/dist/build/.depend$(rts_WAYS_DASHED)
-rts_dist_C_SRCS = $(rts_C_SRCS) $(rts_thr_EXTRA_C_SRCS)
-rts_dist_S_SRCS = $(rts_S_SRCS)
-rts_dist_C_FILES = $(rts_C_SRCS) $(rts_thr_EXTRA_C_SRCS) $(rts_S_SRCS)
+rts_dist_C_SRCS = $(rts_C_SRCS) $(rts_thr_EXTRA_C_SRCS)
+rts_dist_S_SRCS = $(rts_S_SRCS)
+rts_dist_CMM_SRCS = $(rts_CMM_SRCS)
+rts_dist_C_FILES = $(rts_dist_C_SRCS)
+rts_dist_S_FILES = $(rts_dist_S_SRCS)
+rts_dist_CMM_FILES = $(rts_dist_CMM_SRCS)
# Hack: we define every way-related option here, so that we get (hopefully)
# a superset of the dependencies. To do this properly, we should generate