Cabalize ext-core tools
[ghc-hetmet.git] / utils / genapply / Makefile
index f9a10a2..9657fc9 100644 (file)
@@ -8,14 +8,14 @@ ifneq "$(BootingFromHc)" "YES"
 boot :: all
 endif
 
-ifeq "$(ghc_ge_504)" "NO"
-SRC_HC_OPTS +=  -package lang -package util -package text
-endif
-
 ifeq "$(GhcUnregisterised)" "YES"
 SRC_HC_OPTS += -DNO_REGS
 endif
 
+ifeq "$(ghc_ge_607)" "YES"
+SRC_HC_OPTS += -package pretty
+endif
+
 # Try to get dependencies right...
 SRC_HC_OPTS += -no-recomp
 GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h