[project @ 1998-01-14 11:22:21 by sof]
[ghc-hetmet.git] / mk / config.mk.in
index 22b59a6..a60d208 100644 (file)
@@ -111,18 +111,27 @@ exeext=
 #              * 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
@@ -137,27 +146,9 @@ IncludeTestDirsInBuild=NO
 # 
 GhcProjectName         = The Glorious Glasgow Haskell Compilation System
 GhcProjectNameShort    = ghc
-GhcProjectVersion      = 2.09
+GhcProjectVersion      = 3.00
 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
@@ -166,10 +157,6 @@ ProjectPatchLevel =$(GhcProjectPatchLevel)
 #
 #   WithGhcHc     Path name of the compiler to use
 #
-#   Ghc2_0        Whether this compiler is GHC 2.0 or later
-#                 (which affects gruesome details about
-#                 how mutually recursive modules are handled)
-#
 #   WithGhcHcType  What "type" of compiler is being used
 #                 Valid options:
 #                           HC_CHALMERS_HBC
@@ -177,8 +164,7 @@ ProjectPatchLevel =$(GhcProjectPatchLevel)
 #                           HC_ROJEMO_NHC
 #                           HC_UNSPECIFIED
 
-WithGhcHc = ghc-0.29
-Ghc2_0=NO
+WithGhcHc = ghc-2.10
 
 # Unused, we think
 # WithGhcHcType=HC_GLASGOW_GHC
@@ -254,12 +240,24 @@ GhcLibWays=p
 #
 # 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
+GhcBinDistBins = hp2ps
 
 #################################################################################
 #
@@ -301,6 +299,14 @@ HsLibHcOpts=$(GhcLibHcOpts)
 #
 #################################################################################
 
+#
+# 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)
 
@@ -309,6 +315,12 @@ WithHappyHc = $(WithGhcHc)
 #
 HappyHcOpts = 
 
+# what to include in a binary distribution
+
+HappyMainDir = happy
+HappyBinDistDirs = happy
+HappyBinDistDocs = happy/doc
+HappyBinDistShScripts = happy
 
 #################################################################################
 #
@@ -318,8 +330,6 @@ HappyHcOpts =
 #
 #################################################################################
 
-
-
 #################################################################################
 #
 #              green-card project
@@ -633,6 +643,13 @@ TROFF                      = troff
 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
@@ -654,10 +671,6 @@ HAPPY_VERSION              = @HappyVersion@
 LX                     = @LxCmd@
 GREENCARD              = @GreencardCmd@
 
-ifeq "$(HAPPY)" ""
-HAPPY                  = $(HAPPY_PREFIX)happy
-endif
-
 #
 # Stuff from fptools/literate
 #