[project @ 2002-09-18 06:34:07 by mthomas]
[ghc-hetmet.git] / ghc / mk / config.mk
index dbc0af6..7b85988 100644 (file)
@@ -1,14 +1,23 @@
+# -----------------------------------------------------------------------------
+# $Id: config.mk,v 1.18 2002/07/02 13:56:22 simonmar Exp $
 #
 # GHC project configuration
 #
-#  
+# This file can only be included from the top of
+# an fptools/ build tree, since the version.mk 'include'
+# reaches in and grabs the project-specific settings.
 
 # what to include in a binary distribution
 GhcMainDir = ghc
-GhcBinDistDirs = ghc
-GhcBinDistDocs = docs ghc/docs/users_guide ghc/docs/libraries
-GhcBinDistPrlScripts = ghc-$(ProjectVersion) stat2resid hstags mkdependHS
-GhcBinDistLibPrlScripts = hscpp
-GhcBinDistBins = hp2ps
+GhcBinDistDirs = ghc libraries hslibs
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+GhcBinDistShScripts = ghc-$(ProjectVersion) ghci-$(ProjectVersion) ghc-pkg-$(ProjectVersion)
+else
+GhcBinDistShScripts=
+endif
+GhcBinDistPrlScripts = 
+GhcBinDistLibPrlScripts = ghc-asm ghc-split
+GhcBinDistBins = hp2ps ghcprof hsc2hs DrIFT DtdToHaskell Xtract
+GhcBinDistLinks = ghc ghci ghc-pkg
 
-include version.mk
+include $(GhcMainDir)/mk/version.mk