[project @ 1999-07-15 08:51:25 by simonmar]
[ghc-hetmet.git] / mk / config.mk.in
index d7afd88..27c9ffc 100644 (file)
@@ -183,7 +183,7 @@ GhcUseGccForOptAsm=YES
 GhcUseGccForDebuggingAsm=YES
 
 # Build a registerised version of hsc and runtime
-# (you'd be desperate or silly not to).
+# (unregisterised used for Hugs at the moment)
 GhcWithRegisterised=YES
 
 # Build a compiler with a native code generator backend
@@ -258,6 +258,10 @@ StripLibraries=NO
 #
 GhcReportCompiles=NO
 
+# Win32 only: Enable the RTS and libraries to be built as DLLs
+#
+EnableWin32DLLs=@EnableWin32DLLs@
+
 #################################################################################
 #
 #              happy project
@@ -525,7 +529,7 @@ CONTEXT_DIFF                = @ContextDiffCmd@
 CP                     = cp
 CPP                    = @CPP@
 CTAGS                  = $(ETAGS)
-RAWCPP                  = @RAWCPP@
+RAWCPP                  = $(CPP) -undef -traditional
 INSTALL                        = @INSTALL@
 #
 # Sigh - the autoconf macro for INSTALL will subst a relative path to the fallback
@@ -562,7 +566,7 @@ SHELL                       = /bin/sh
 # override whatever setting you have in your environment while executing. 
 
 # By default, REAL_SHELL is set equal SHELL, which is not really a smart move
-# as it SHELL that will show up the bogosity in the first place, but setting
+# as it is SHELL that will show up the bogosity in the first place, but setting
 # it to anything else isn't really portable.
 #
 #  ====> If long command lines cause you trouble, invoke `ghc' (via `make' or otherwise)
@@ -622,6 +626,8 @@ HAPPY_VERSION               = @HappyVersion@
 LX                     = @LxCmd@
 GREENCARD              = $(FPTOOLS_TOP)/green-card/src/green-card
 
+BLD_DLL                        = dllwrap
+
 #
 # Stuff from fptools/literate
 #
@@ -703,7 +709,7 @@ WAY_t_HC_OPTS= -ticky
 
 # 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
@@ -713,6 +719,10 @@ WAY_mp_HC_OPTS=-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:
 #