+ifneq "$$(BINDIST)" "YES"
+# The quadrupled $'s here are because the _v_LIB variables aren't
+# necessarily set when this part of the makefile is read
+$1/$2/build/tmp/$$($1_$2_PROG) : \
+ $$(foreach dep,$$($1_$2_DEP_NAMES),\
+ $$(if $$(filter ghc,$$(dep)),\
+ $(if $(filter 0,$3),$$(compiler_stage1_v_LIB),\
+ $(if $(filter 1,$3),$$(compiler_stage2_v_LIB),\
+ $(if $(filter 2,$3),$$(compiler_stage2_v_LIB),\
+ $$(error Bad build stage)))),\
+ $$$$(libraries/$$(dep)_dist-$(if $(filter 0,$3),boot,install)_v_LIB)))
+