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
23 GhcBinDistLinks = ghc ghci ghc-pkg
24 GhcBinDistLibSplicedFiles = package.conf
26 # -----------------------------------------------------------------------------
27 # GHC-specific configuration settings
29 # Set to YES if $(GHC) has the readline package installed
30 GhcHasReadline = @GhcHasReadline@
33 GTK_CONFIG = @GTK_CONFIG@
35 # -----------------------------------------------------------------------------
37 # We can build using the stage1 compiler by setting UseStage1=YES.
38 # This is useful when building up a set of .hc files for
39 # bootstrapping, because we need the ghc/lib/compat library and the
40 # contents of ghc/utils compiled with the stage1 compiler.
42 ifeq "$(UseStage1)" "YES"
44 MKDEPENDHS=$(GHC_STAGE1)
47 # Some useful GHC version predicates:
49 ifeq "$(UseStage1)" "YES"
54 ifeq "$(BootingFromHc)" "YES"
59 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
60 ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
61 ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)