X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fmk%2Fconfig.mk;h=6391f87b2fcc40f1c58782760537d10695357210;hb=b8554efd031fc4ff0d9b3950f8320733058358d8;hp=dbc0af6f16345eb5e2e671e5963b2f9b8e62f4b0;hpb=bdd25f023f742b7e2a1a87fc5331e2c34b0cda3c;p=ghc-hetmet.git diff --git a/ghc/mk/config.mk b/ghc/mk/config.mk index dbc0af6..6391f87 100644 --- a/ghc/mk/config.mk +++ b/ghc/mk/config.mk @@ -1,14 +1,25 @@ +# ----------------------------------------------------------------------------- +# $Id: config.mk,v 1.20 2003/05/19 13:01:23 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 -include version.mk +ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +GhcBinDistShScripts = ghc-$(ProjectVersion) ghci-$(ProjectVersion) ghc-pkg-$(ProjectVersion) hsc2hs +else +GhcBinDistShScripts = +endif + +GhcBinDistPrlScripts = +GhcBinDistLibPrlScripts = ghc-asm ghc-split +GhcBinDistBins = hp2ps ghcprof +GhcBinDistLinks = ghc ghci ghc-pkg + +include $(GhcMainDir)/mk/version.mk