4 # -----------------------------------------------------------------------------
5 # GHC binary distribution configuration
7 # These settings are used by the top-level Makefile when building
8 # binary distributions.
10 # what to include in a binary distribution
12 GhcBinDistDirs = ghc libraries hslibs
14 ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
15 GhcBinDistShScripts = ghc-$(ProjectVersion) ghci-$(ProjectVersion) ghc-pkg-$(ProjectVersion) hsc2hs
20 GhcBinDistPrlScripts =
21 GhcBinDistLibPrlScripts = ghc-asm ghc-split
22 GhcBinDistBins = hp2ps ghcprof runghc
23 GhcBinDistOptBins = runhaskell
24 GhcBinDistLinks = ghc ghci ghc-pkg
25 GhcBinDistLibSplicedFiles = package.conf
27 # -----------------------------------------------------------------------------
28 # GHC-specific configuration settings
30 # Set to YES if $(GHC) has the readline package installed
31 GhcHasReadline = @GhcHasReadline@
34 GTK_CONFIG = @GTK_CONFIG@
36 # -----------------------------------------------------------------------------
38 # We can build using the stage1 compiler by setting UseStage1=YES.
39 # This is useful when building up a set of .hc files for
40 # bootstrapping, because we need the ghc/lib/compat library and the
41 # contents of ghc/utils compiled with the stage1 compiler.
43 ifeq "$(UseStage1)" "YES"
45 MKDEPENDHS=$(GHC_STAGE1)
48 # Some useful GHC version predicates:
50 ifeq "$(UseStage1)" "YES"
55 ifeq "$(BootingFromHc)" "YES"
60 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
61 ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
62 ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)