X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-package.mk;h=f40d0fcf2516d78be6161f1d3b18b2214f6d94a8;hb=484511cebe6055c13bedf6b9c773f96ae9d63dc3;hp=9e1ab7acf24f4ae2bef61b7fbf296180f07ea153;hpb=a2797404fc2783552544a38a3e38e16b4dce29a5;p=ghc-hetmet.git diff --git a/rules/build-package.mk b/rules/build-package.mk index 9e1ab7a..f40d0fc 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -119,7 +119,7 @@ $(call includes-sources,$1,$2) # We must use a different dependency file if $(GhcLibWays) changes, so # encode the ways into the name of the file. $1_$2_WAYS_DASHED = $$(subst $$(space),,$$(patsubst %,-%,$$(strip $$($1_$2_WAYS)))) -$1_$2_depfile = $1/$2/build/.depend$$($1_$2_WAYS_DASHED) +$1_$2_depfile_base = $1/$2/build/.depend$$($1_$2_WAYS_DASHED) $(call build-dependencies,$1,$2) @@ -135,7 +135,7 @@ endif endif # C and S files are possibly built the "dyn" way. -ifeq "$(BuildSharedLibs)" "YES" +ifeq "$$(BuildSharedLibs)" "YES" $(call c-objs,$1,$2,dyn) $(call c-suffix-rules,$1,$2,dyn,YES) endif