#
LeadingUnderscore=@LeadingUnderscore@
+# Pin a suffix on executables? If so, what. (cygwin32 only).
+exeext=
#################################################################################
#
#
# Name variables for ghc:
#
-GhcProjectName =The Glorious Glasgow Haskell Compilation System
-GhcProjectNameShort =ghc
-GhcProjectVersion =2.06
-GhcProjectPatchLevel =0
-GhcBuildeeVersion =206
-GhcBuilderVersion =29
+GhcProjectName = The Glorious Glasgow Haskell Compilation System
+GhcProjectNameShort = ghc
+GhcProjectVersion = 2.08
+GhcProjectPatchLevel = 0
+
+#
+# Name variables for happy:
+#
+HappyProjectName = Happy
+HappyProjectNameShort = happy
+HappyProjectVersion = 1.4
+HappyProjectPatchLevel = 0
#
# Name variables for the fptools, for now equal to the above
# i386, alpha & sparc
GhcWithNativeCodeGen=$(shell if (test x$(findstring $(HostArch_CPP),i386 alpha sparc) = x); then echo NO; else echo YES; fi)
-# Build the compiler with the deforester included?
-GhcWithDeforester=NO
-
#
# Building various ways?
# (right now, empty if not).
# -O is pretty desirable, otherwise no inlining of prelude
# things (incl "+") happens when compiling with this compiler
-GhcLibHcOpts= -O -split-objs -odir $(basename $*)
+#
+# Splitting profiled code produces awfully large archives under ELF, so
+# we turn it off here.
+#
+# ToDo: track down the source of this.
+#
+ifneq "$(strip $(way))" "p"
+GhcLibHcOpts= -O -split-objs -odir $*
+else
+GhcLibHcOpts= -O
+endif
#################################################################################
#
#################################################################################
+# The compiler you'd like to use to compile Happy
+WithHappyHc = $(WithGhcHc)
+
# HappyHcOpts gives the flags to pass to the Haskell compiler used
# to compile the Happy source coed
HappyHcOpts =
SIZE = size
STRIP = strip
TAR = @TarCmd@
+
+#
+# Under cygwin32, we have to deal with .exe suffixes
+#
+EXE_SUFFIX=@ExeSuffix@
+
#
# This is special to literate/, ToDo: add literate-specific
# configure setup to literate/.