X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=3dc1f9efc37970b61a26b326593b2edbbc1b5bc3;hb=aa0db18377c0e702c6f47a993bc5ad6153a58770;hp=27d8845745f13b4ad519b0ea71800a47271e4410;hpb=c4b1d82b79166e60624ee24543c0f9c50a7eb9e0;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 27d8845..3dc1f9e 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -99,9 +99,9 @@ BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@ # build the libs first if we're bootstrapping from .hc files ifeq "$(BootingFromHc)" "YES" -AllProjects = glafp-utils hslibs ghc green-card happy hdirect hood nofib +AllProjects = glafp-utils libraries hslibs ghc green-card happy hdirect hood nofib else -AllProjects = glafp-utils ghc hslibs green-card happy hdirect hood nofib +AllProjects = glafp-utils ghc libraries hslibs green-card happy hdirect hood nofib endif # @@ -236,10 +236,10 @@ else GhcLibWays=p endif -# Option flags to pass to GHC when it's compiling prelude modules -# *and* standard library modules (std) *and* modules in hslibs -# Typically these are things like -O or -dcore-lint -# The ones that are *essential* are wired into ghc/lib/Makefile +# Option flags to pass to GHC when it's compiling modules in +# fptools/libraries. Typically these are things like -O or +# -dcore-lint or -H32m. The ones that are *essential* are wired into +# the build system. # # -O is pretty desirable, otherwise no inlining of prelude # things (incl "+") happens when compiling with this compiler @@ -310,21 +310,10 @@ GhcRtsThreaded=@ThreadedRts@ ################################################################################ # -# hslibs project +# libraries project # ################################################################################ -# Build HsLibs for which compiler? - -# If $(HsLibsFor) == hugs or ghc, we assume we're building for the -# compiler/interpreter in the same source tree. - -# HsLibsFor = ghc | hugs | nhc | hbc -HsLibsFor = ghc - -# hslibs for GHC also uses the following variables (defined above): -# GhcLibWays, GhcLibHcOpts, GhcLibToolsHcOpts, DLLized, StripLibraries - # Build the Haskell Readline bindings? # GhcLibsWithReadline=@HaveReadlineHeaders@ @@ -661,10 +650,11 @@ HaveLibGmp = @HaveLibGmp@ LibGmp = @LibGmp@ #----------------------------------------------------------------------------- -# Regex library +# Regex libraries # (if present in libc use that one, otherwise use the one in the tree) # -HaveRegex = @HaveRegex@ +HavePosixRegex = @HavePosixRegex@ +HaveGNURegex = @HaveGNURegex@ #----------------------------------------------------------------------------- # GTK+