[project @ 2001-03-16 14:36:19 by sewardj]
[ghc-hetmet.git] / ghc / compiler / Makefile
index 88c0017..10d5925 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.140 2001/03/06 15:58:47 simonmar Exp $
+# $Id: Makefile,v 1.144 2001/03/16 14:36:19 sewardj Exp $
 
 TOP = ..
 include $(TOP)/mk/boilerplate.mk
@@ -124,7 +124,6 @@ endif
 
 HS_OBJS  = \
   $(patsubst %.hc, %.o, $(HCS)) \
-  parser/hs_ctype.o \
   parser/hschooks.o
 
 DESTDIR       = $(INSTALL_LIBRARY_DIR_GHC)
@@ -153,6 +152,7 @@ HC=$(GHC)
 # Use GHC for compiling C bits
 #
 CC = $(HC)
+CC_OPTS := $(addprefix -optc, $(CC_OPTS))
 
 # magic from GNU make manual to convert a list of values
 # into a colon-separated list
@@ -181,7 +181,7 @@ SRC_HC_OPTS += -H16m
 # not sure if this is required --SDM
 main/Main_HC_OPTS              = -fvia-C
 
-prelude/PrimOp_HC_OPTS                 = -no-recomp
+prelude/PrimOp_HC_OPTS                 = -no-recomp -H80m
 
 # because the NCG can't handle the 64-bit math in here
 prelude/PrelRules_HC_OPTS      = -fvia-C
@@ -215,8 +215,7 @@ utils/Digraph_HC_OPTS               = -fglasgow-exts
 #      into the interface file and spreading the -monly-3-regs virus.
 #      We need -optC here because the driver before 3.02 didn't understand
 #      the -funfolding flags.
-
-utils/PrimPacked_HC_OPTS       = -fvia-C -monly-3-regs -funfolding-interface-threshold7
+utils/PrimPacked_HC_OPTS       = -fvia-C -monly-3-regs
 
 # ByteCodeItbls uses primops that the NCG doesn't support yet.
 ghci/ByteCodeItbls_HC_OPTS     = -fvia-C