Remove some dependencies
authorIan Lynagh <ian@well-typed.com>
Sun, 18 Nov 2012 01:11:55 +0000 (01:11 +0000)
committerIan Lynagh <ian@well-typed.com>
Sun, 18 Nov 2012 01:11:55 +0000 (01:11 +0000)
I don't think we need these, and they haven't been doing anything
useful for dynamic-by-default builds anyway as they hardcode the 'v'
way.

rules/build-package-way.mk

index 60f4ecb..76598de 100644 (file)
@@ -52,17 +52,6 @@ endif
 $1_$2_$3_NON_HS_OBJS = $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS)  $$($1_$2_$3_S_OBJS) $$($1_$2_EXTRA_OBJS)
 $1_$2_$3_ALL_OBJS = $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_NON_HS_OBJS)
 
-# The quadrupled $'s here are because the _v_LIB variables aren't
-# necessarily set when this part of the makefile is read.
-# These deps aren't technically necessary in themselves, but they
-# turn the dependencies of programs on libraries into transitive
-# dependencies.
-ifeq "$4" "0"
-$$($1_$2_$3_LIB) : $$(foreach dep,$$($1_$2_DEP_NAMES),$$$$(libraries/$$(dep)_dist-boot_v_LIB))
-else
-$$($1_$2_$3_LIB) : $$(foreach dep,$$($1_$2_DEP_NAMES),$$$$(libraries/$$(dep)_dist-install_v_LIB))
-endif
-
 ifeq "$3" "dyn"
 
 # Link a dynamic library