+#
+# Splitting profiled code produces awfully large archives under ELF, so
+# we turn it off here.
+#
+# ToDo: track down the source of this.
+#
+ifeq "$(strip $(way))" "p"
+GhcLibHcOpts= -O
+else
+ifeq "$(strip $(way))" "mr"
+GhcLibHcOpts= -O
+else
+GhcLibHcOpts= -O -split-objs -odir $*
+endif
+endif
+
+# what to include in a binary distribution
+
+GhcMainDir = ghc
+GhcBinDistDirs = ghc hslibs
+GhcBinDistDocs = docs ghc/docs/users_guide ghc/docs/libraries
+GhcBinDistPrlScripts = ghc stat2resid hstags mkdependHS
+GhcBinDistLibPrlScripts = hscpp