-all :: $(DYN_LOADABLE_BITS)
-
-#
-# Install setup:
-# the driver goes in $(bindir), the perl script helpers
-# in $(libdir)
-#
-# ToDo: allow different install name for driver?
-#
-INSTALL_SCRIPTS += $(SCRIPT_PROG)
-INSTALL_LIBS += $(DYN_LOADABLE_BITS)
-
-#
-# Before really installing the driver, we have to
-# reconfigure it such that the paths it refers to,
-# point to the installed utils.
-#
-install ::
- @$(RM) $(SCRIPT_PROG)
- @$(MAKE) $(MFLAGS) INSTALLING=1 $(SCRIPT_PROG)
-
-#
-# depend setup: other directories need the driver script to compute
-# their dependencies, so `depend' is simply an alias for `all' here.
-depend :: all
-
-#
-# Clean up
-#
-CLEAN_FILES += $(SCRIPT_OBJS) $(DYN_LOADABLE_BITS)
-
-#
-# Source distribution
-#
-SRC_DEST_FILES=$(patsubst %.prl,%.lprl,$(DYN_LOADABLE_BITS)) ghc.lprl ordering-passes test_mangler
-
-include $(TOP)/mk/target.mk
-
-# Hack to re-create the in-situ build tree driver script after
-# having installed it.
-#
-install ::
- @$(RM) $(SCRIPT_PROG)
- @$(MAKE) $(MFLAGS) BIN_DIST=0 $(SCRIPT_PROG)
-
-
-#
-# Option vars for the special ways (that the driver has special pleading for).
-#
+SRC_HC_OPTS += -DWANT_PRETTY
+SRC_HC_OPTS += $(filter -D% -U%,$(GhcRtsCcOpts))