[project @ 1998-08-19 07:47:46 by sof]
[ghc-hetmet.git] / ghc / runtime / Makefile
index fe0aa56..1126583 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.9 1997/08/25 21:32:14 sof Exp $
+# $Id: Makefile,v 1.12 1998/08/15 14:06:48 sof Exp $
 
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -29,6 +29,8 @@ TOP=..
 DoingRTS=YES
 include $(TOP)/mk/boilerplate.mk
 
+WAYS=$(GhcLibWays)
+
 #
 # A general rule for the grand mk setup is that in a build tree, only
 # directories that don't have any subdirs containing Makefiles are built
@@ -108,6 +110,7 @@ SRCS_RTS_LC = $(wildcard c-as-asm/*.lc) \
        main/RtsFlags.lc                \
        main/main.lc                    \
        prims/PrimArith.lc              \
+       prims/LongLong.lc               \
        prims/PrimMisc.lc               \
        profiling/CostCentre.lc         \
        profiling/Hashing.lc            \
@@ -166,7 +169,7 @@ SRC_HC_OPTS += -I$(GHC_INCLUDE_DIR) $(GCap) $(GC2s) $(GC1s) -O -optc-DIN_GHC_RTS
 # Note: _have_ to drop the -optc prefix for the GC-type opts (e.g. -optc-DGCap), since
 # -o<foo> is interpreted by mkdependC as meaning use <foo> as suffix.
 #
-# Include -D for all the different collectors to be sure we get at all deps.
+# Hack: Include -D for all the different collectors to be sure we gather all the deps.
 #
 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) -DGCap -DGC1s -DGC2s