[project @ 2000-05-08 17:24:10 by panne]
[ghc-hetmet.git] / ghc / compiler / Makefile
index 20df8aa..04812d3 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.72 2000/03/23 17:45:17 simonpj Exp $
+# $Id: Makefile,v 1.76 2000/05/08 17:24:10 panne Exp $
 
 TOP = ..
 include $(TOP)/mk/boilerplate.mk
@@ -37,7 +37,7 @@ $(HS_PROG) :: $(HS_SRCS)
 DIRS = \
   utils basicTypes types hsSyn prelude rename typecheck deSugar coreSyn \
   specialise simplCore stranal stgSyn simplStg codeGen absCSyn main \
-  profiling parser usageSP cprAnalysis
+  profiling parser usageSP cprAnalysis javaGen
 
 
 ifeq ($(GhcWithNativeCodeGen),YES)
@@ -66,7 +66,7 @@ endif
 
 HS_OBJS  = \
   $(patsubst %.hc, %.o, $(HCS)) \
-  parser/ctypes.o parser/hschooks.o
+  parser/hschooks.o
 
 
 DESTDIR       = $(INSTALL_LIBRARY_DIR_GHC)
@@ -74,7 +74,7 @@ DESTDIR       = $(INSTALL_LIBRARY_DIR_GHC)
 #
 # Add misc .c helper code (used by the frontend.)
 #
-C_SRCS += parser/ctypes.c parser/hschooks.c
+C_SRCS += parser/hschooks.c
 
 #
 # Big Fudge to get around inherent problem that Makefile setup
@@ -161,6 +161,7 @@ rename/RnNames_HC_OPTS              = -H12m
 rename/RnMonad_HC_OPTS         = 
 specialise/Specialise_HC_OPTS  = -Onot -H12m
 simplCore/Simplify_HC_OPTS     = -H15m 
+simplCore/OccurAnal_HC_OPTS    = -H10m
 typecheck/TcGenDeriv_HC_OPTS   = -H10m
 
 # tmp, -- SDM
@@ -227,10 +228,6 @@ parser/hschooks.o : parser/hschooks.c
        @$(RM) $@
        $(HC) -c -o $@ $(HC_OPTS) parser/hschooks.c
 
-parser/ctypes.o : parser/ctypes.c
-       @$(RM) $@
-       $(HC) -c -o $@ $(HC_OPTS) parser/ctypes.c
-
 
 # Interface-file parser uses Happy
 SRC_HAPPY_OPTS += +RTS -K2m -H16m -RTS