ifeq "$(GhcUnregisterised)" "YES"
SplitObjs=NO
endif
+ifeq "$(TARGETPLATFORM)" "ia64-unknown-linux"
+SplitObjs=NO
+endif
# ----------------------------------------------------------------------------
# Options for GHC's RTS
# Math library
LIBM=@LIBM@
+# Build the ObjectIO ?
+#
+GhcLibsWithObjectIO=@GhcLibsWithObjectIO@
+
# Build the Haskell OpenGL/GLUT binding?
#
GhcLibsWithHOpenGL=@GhcLibsWithHOpenGL@
datadir = $(datadir0)
endif
+# Default place for putting interface files is $(libdir)
+# (overriden for packages in package.mk)
+ifacedir = $(libdir)
+
#
# Default values for most of the above are only set if
# they weren't configured to anything in particular
MKDIRHIER_PREFIX = $(GLAFP_UTILS)/mkdirhier/
DOCBOOK_PREFIX = $(GLAFP_UTILS)/docbook/
-LITERATE_PREFIX = $(FPTOOLS_TOP)/literate/
+HADDOCK_PREFIX = $(FPTOOLS_TOP)/haddock/
-HAPPY_PREFIX = $(FPTOOLS_TOP)/happy/src/
-GREENCARD_PREFIX = $(FPTOOLS_TOP)/green-card/src/
+LITERATE_PREFIX = $(FPTOOLS_TOP)/literate/
UNLIT_PREFIX = $(FPTOOLS_TOP)/ghc/utils/unlit/
HP2PS_PREFIX = $(FPTOOLS_TOP)/ghc/utils/hp2ps/
# default C compiler flags
SRC_CC_OPTS = @SRC_CC_OPTS@
+ifeq "$(TARGETPLATFORM)" "ia64-unknown-linux"
+SRC_CC_OPTS += -G0
+endif
+
#-----------------------------------------------------------------------------
# GMP Library (version 2.0.x or above)
#
LibGmp = @LibGmp@
#-----------------------------------------------------------------------------
+# Mingwex Library
+#
+HaveLibMingwEx = @HaveLibMingwEx@
+
+#-----------------------------------------------------------------------------
# Regex libraries
# (if present in libc use that one, otherwise use the one in the tree)
#
MV = mv
NROFF = nroff
PERL = @PerlCmd@
+PYTHON = @PythonCmd@
PIC = pic
PREPROCESSCMD = $(CC) -E
PRINTER = lpr
GHC_HAPPY_OPTS = -agc
#
+# Haddock
+#
+HADDOCK = @HaddockCmd@
+HADDOCK_INPLACE = $(HADDOCK_PREFIX)/src/haddock-inplace
+
+#
# Stuff from fptools/literate
#
LIT2PGM = $(LITERATE_PREFIX)lit2pgm