# (as well as a C backend)
#
# Target platforms supported:
-# i386, sparc & powerpc
-ifneq "$(findstring $(HostArch_CPP), i386 sparc powerpc)" ""
+# i386, powerpc
+# sparc has bitrotted
+ifneq "$(findstring $(HostArch_CPP), i386 powerpc)" ""
GhcWithNativeCodeGen=YES
else
GhcWithNativeCodeGen=NO
#
GhcLibsWithObjectIO=@GhcLibsWithObjectIO@
-# Build the Haskell OpenGL binding?
-#
-GhcLibsWithOpenGL=@GhcLibsWithOpenGL@
-GLU_CFLAGS=@GLU_CFLAGS@
-GLU_LIBS=@GLU_LIBS@
-
-# Build the Haskell OpenAL binding?
-#
-GhcLibsWithOpenAL=@GhcLibsWithOpenAL@
-
-# Build the Haskell GLUT binding?
-#
-GhcLibsWithGLUT=@GhcLibsWithGLUT@
-GLUT_LIBS=@GLUT_LIBS@
-
-# X11 stuff
-#
-GhcLibsWithX11=@GhcLibsWithX11@
-X_CFLAGS=@X_CFLAGS@
-X_LIBS=@X_LIBS@
-
# .NET interop support?
#
DotnetSupport=@DotnetSupport@
GhcCanonVersion = $(GhcMajVersion)$(GhcMinVersion)
endif
+# Set to YES if $(GHC) has the readline package installed
+GhcHasReadline = @GhcHasReadline@
+
HBC = @HBC@
NHC = @NHC@
SRC_CC_OPTS += -G0
endif
-# Solaris2 strikes again.
-unix_SRC_HSC2HS_OPTS += @unix_SRC_HSC2HS_OPTS@
-
#-----------------------------------------------------------------------------
# GMP Library (version 2.0.x or above)
#
UNAME = uname
#-----------------------------------------------------------------------------
-# SGML stuff
-
-JADE = @JadeCmd@
-
-SGML2DVI = $(DOCBOOK_PREFIX)db2dvi
-SGML2HTML = $(DOCBOOK_PREFIX)db2html
-SGML2PS = $(DOCBOOK_PREFIX)db2ps
-SGML2PDF = $(DOCBOOK_PREFIX)db2pdf
-SGML2RTF = $(DOCBOOK_PREFIX)db2rtf
-
-SGMLSTYLESHEET = $(FPTOOLS_TOP_ABS)/docs/fptools-both.dsl
-
-SRC_SGML2DVI_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2HTML_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2PS_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2RTF_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2PDF_OPTS = -d $(SGMLSTYLESHEET)
-
-DOCBOOK_CATALOG = @Catalog@
-
-#-----------------------------------------------------------------------------
# DocBook XML stuff
XSLTPROC = @XsltprocCmd@