# GhcRtsHcOpts is used when compiling .hc files.
# GhcRtsCcOpts is used when compiling .c files.
-GhcRtsHcOpts=
-GhcRtsCcOpts=
+GhcRtsHcOpts=-O2
+GhcRtsCcOpts=-O2 -optc-fomit-frame-pointer
# Build the Haskell Readline bindings?
#
# Include compiler support for letting the compiler (optionally) report
# your compilation to a central server for generation of fun stats.
#
-GhcReportCompiles=YES
+GhcReportCompiles=NO
+
+# Win32 only: Enable the RTS and libraries to be built as DLLs
+#
+EnableWin32DLLs=@EnableWin32DLLs@
#################################################################################
#
# HappyHcOpts gives the flags to pass to the Haskell compiler used
# to compile the Happy sources with.
#
-HappyHcOpts =
+HappyHcOpts = -O
#################################################################################
#
LX = @LxCmd@
GREENCARD = $(FPTOOLS_TOP)/green-card/src/green-card
+BLD_DLL = dllwrap
+
#
# Stuff from fptools/literate
#
# Way `u':
WAY_u_NAME=unregisterized (using portable C only)
-WAY_u_HC_OPTS=
+WAY_u_HC_OPTS=-unreg
# Way `mp':
WAY_mp_NAME=parallel
WAY_mg_NAME=GranSim
WAY_mg_HC_OPTS=-gransim
+# Way `dll':
+WAY_dll_NAME=Win32 DLLs
+WAY_dll_HC_OPTS=
+
#
# Add user-way configurations here:
#