HaveLibDL = @HaveLibDL@
-ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64)))
+ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc)))
-ifeq "$(ArchSupportsSMP)" "YES"
+ifeq "$(ArchSupportsSMP)$(GhcUnregisterised)" "YESNO"
GhcWithSMP=YES
else
GhcWithSMP=NO
#
StripLibraries=NO
+# These are the URL patterns that Haddock uses to generate the "Source
+# File" links on each page.
+CorePackageSourceURL = http://darcs.haskell.org/ghc-6.6/packages/$(PACKAGE)/%{FILE}
+ExtraPackageSourceURL = http://darcs.haskell.org/packages/$(PACKAGE)/%{FILE}
+
+# These are the packages required to be present in order to bootstrap GHC
+# NB. must be synced with libraries/core-packages
+CorePackages = base Cabal haskell98 readline regex-base regex-compat \
+ regex-posix parsec stm template-haskell unix Win32
# ----------------------------------------------------------------------------
# Object-file splitting
DEFAULT_TMPDIR = /tmp
ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32"
-DEFAULT_TMPDIR = C:/TEMP
+DEFAULT_TMPDIR = /C/TEMP
endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-DEFAULT_TMPDIR = C:/TEMP
+DEFAULT_TMPDIR = /C/TEMP
endif
# FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. (POSIX / unix-style path).
ifeq "$(Windows)" "YES"
ifeq "$(strip $(prefix))" ""
-prefix = c:/ghc
+prefix = /c/ghc
endif
# Hack: our directory layouts tend to be different on Windows, so
ghc_ge_601 = YES
ghc_ge_602 = YES
ghc_ge_603 = YES
+ghc_ge_605 = YES
else # not UseStage1 or BootingFromHc
ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
ghc_ge_602 = $(shell if (test $(GhcCanonVersion) -ge 602); then echo YES; else echo NO; fi)
ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)
+ghc_ge_605 = $(shell if (test $(GhcCanonVersion) -ge 605); then echo YES; else echo NO; fi)
endif
# Canonicalised ghc version number, used for easy (integer) version