X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=1c86407b6198792fb011aaf91abdee1131df0130;hb=6826a75eee4b12835fc33bdf492b6079e3c6f5b7;hp=0bfca27f98e36ad7ac22712319c3770e0b6a8598;hpb=eb5ecfbe174cda6b40a22f44b2b0cdfd2ef2f149;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 0bfca27..1c86407 100644 --- a/ghc.mk +++ b/ghc.mk @@ -316,6 +316,16 @@ endif PACKAGES += haskeline +ifneq "$(wildcard libraries/dph)" "" +PACKAGES += \ + dph/dph-base \ + dph/dph-prim-interface \ + dph/dph-prim-seq \ + dph/dph-prim-par \ + dph/dph-seq \ + dph/dph-par +endif + BOOT_PKGS = Cabal hpc extensible-exceptions # The actual .a and .so/.dll files: needed for dependencies. @@ -515,6 +525,9 @@ $(foreach lib,$(PACKAGES),$(eval \ libraries/$(lib)_dist-install_DISABLE = YES)) endif +ifneq "$(wildcard libraries/dph)" "" +include libraries/dph/ghc.mk +endif include $(patsubst %, %/ghc.mk, $(BUILD_DIRS)) # We need -fno-warn-deprecated-flags to avoid failure with -Werror