[project @ 2000-05-12 13:01:04 by simonmar]
[ghc-hetmet.git] / ghc / compiler / Makefile
index 3905677..e2d998c 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.73 2000/03/31 03:09:35 hwloidl Exp $
+# $Id: Makefile,v 1.77 2000/05/10 13:07:43 simonmar 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
@@ -142,6 +142,7 @@ usageSP/UsageSPInf_HC_OPTS  = -Onot
 
 prelude/PrimOp_HC_OPTS                 = -H12m -K3m
 parser/Lex_HC_OPTS             = -fvia-C -K2m -H16m 
+parser/Ctype_HC_OPTS           = -K2m -fvia-C
 
 rename/ParseIface_HC_OPTS      += -Onot -H45m -K2m -fno-warn-incomplete-patterns
 rename/ParseIface_HAPPY_OPTS    += -g
@@ -228,10 +229,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