X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=94a6adf405db024ecc7be8b85c5bcff936512fd9;hb=723f9afa76dc8e80159edede384e0a12f34ed540;hp=b2701bf5cf59e8d2ed0ba0101711eaa332aa9f7d;hpb=30a08433b46de89511fcdf0149f0749739227efb;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index b2701bf..94a6adf 100644 --- a/ghc.mk +++ b/ghc.mk @@ -29,9 +29,7 @@ # * docs/vh/Makefile # * rts/dotnet/Makefile # * utils/Makefile -# * GhcProfiled # * optionally install stage3? -# * shared libraries, way dyn # * add Makefiles for the rest of the utils/ programs that aren't built # by default (need to exclude them from 'make all' too) # @@ -297,7 +295,12 @@ define addPackage # args: $1 = package, $2 = condition endef $(eval $(call addPackage,ghc-prim)) +ifeq "$(CLEANING)" "YES" +$(eval $(call addPackage,integer-gmp)) +$(eval $(call addPackage,integer-simple)) +else $(eval $(call addPackage,$(INTEGER_LIBRARY))) +endif $(eval $(call addPackage,base)) $(eval $(call addPackage,filepath)) $(eval $(call addPackage,array))