# * ghc&hslibs next
# then it's up to you
-ProjectsToBuild = glafp-utils literate happy ghc hslibs
+ProjectsToBuild = glafp-utils literate ghc hslibs
#
# Make a distinction between building and installing, ProjectsToInstall
# does not include the literate bits..
#
-ProjectsToInstall = glafp-utils happy ghc hslibs
+ProjectsToInstall = glafp-utils ghc hslibs
#
# Should the various project tests directories be built?
#
IncludeTestDirsInBuild=NO
+#
+# Name variables for the main project
+#
+Project = Ghc
+ProjectName = $($(Project)ProjectName)
+ProjectNameShort = $($(Project)ProjectNameShort)
+ProjectVersion = $($(Project)ProjectVersion)
+ProjectPatchLevel = $($(Project)ProjectPatchLevel)
+
#################################################################################
#
# GHC project
#
GhcProjectName = The Glorious Glasgow Haskell Compilation System
GhcProjectNameShort = ghc
-GhcProjectVersion = 2.09
+GhcProjectVersion = 2.10
GhcProjectPatchLevel = 0
-#
-# Name variables for happy:
-#
-HappyProjectName = Happy
-HappyProjectNameShort = happy
-HappyProjectVersion = 1.5
-HappyProjectPatchLevel = 0
-
-#
-# Name variables for the fptools, for now equal to the above
-# ghc stuff
-#
-ProjectName =$(GhcProjectName)
-ProjectNameShort =$(GhcProjectNameShort)
-ProjectVersion =$(GhcProjectVersion)
-ProjectPatchLevel =$(GhcProjectPatchLevel)
-
-
#---------------------------------------------------------------
#
# Variables that control how the compiler itself is built
#
# ToDo: track down the source of this.
#
-ifneq "$(strip $(way))" "p"
-GhcLibHcOpts= -O -split-objs -odir $*
-else
+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
#################################################################################
#
#
#################################################################################
+#
+# Name variables for happy:
+#
+HappyProjectName = Happy
+HappyProjectNameShort = happy
+HappyProjectVersion = 1.5
+HappyProjectPatchLevel = 0
+
# The compiler you'd like to use to compile Happy
WithHappyHc = $(WithGhcHc)
#
HappyHcOpts =
+# what to include in a binary distribution
+
+HappyMainDir = happy
+HappyBinDistDirs = happy
+HappyBinDistDocs = happy/doc
+HappyBinDistShScripts = happy
#################################################################################
#
#
#################################################################################
-
-
#################################################################################
#
# green-card project
UNAME = uname
YACC = @YaccCmd@
+#-----------------------------------------------------------------------------
+# SGML stuff (currently not configured - we assume you have it)
+
+SGML2LATEX = sgml2latex
+SGML2HTML = sgml2html
+SGML2INFO = sgml2info
+SGML2TXT = sgml2txt
#-----------------------------------------------------------------------------
# FPtools support software