projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-01-15 05:39:14 by sof]
[ghc-hetmet.git]
/
ghc
/
rts
/
Makefile
diff --git
a/ghc/rts/Makefile
b/ghc/rts/Makefile
index
5c8d651
..
c01d5e2
100644
(file)
--- a/
ghc/rts/Makefile
+++ b/
ghc/rts/Makefile
@@
-1,5
+1,5
@@
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.53 2001/07/23 21:31:00 sof Exp $
+# $Id: Makefile,v 1.56 2002/01/15 05:39:15 sof Exp $
#
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
#
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
@@
-51,7
+51,7
@@
WARNING_OPTS += -Winline
WARNING_OPTS += -Waggregate-return
#WARNING_OPTS += -Wpointer-arith
WARNING_OPTS += -Wbad-function-cast
WARNING_OPTS += -Waggregate-return
#WARNING_OPTS += -Wpointer-arith
WARNING_OPTS += -Wbad-function-cast
-#WARNING_OPTS += -Wcast-align
+WARNING_OPTS += -Wcast-align
#WARNING_OPTS += -Wnested-externs
#WARNING_OPTS += -Wshadow
#WARNING_OPTS += -Wcast-qual
#WARNING_OPTS += -Wnested-externs
#WARNING_OPTS += -Wshadow
#WARNING_OPTS += -Wcast-qual
@@
-105,6
+105,7
@@
SRC_MKDEPENDC_OPTS += -I. -I../includes
ifeq "$(BootingFromHc)" "YES"
# use the normal $(CC) when booting from .hc files
SRC_CC_OPTS += $(HC_OPTS)
ifeq "$(BootingFromHc)" "YES"
# use the normal $(CC) when booting from .hc files
SRC_CC_OPTS += $(HC_OPTS)
+SRC_CC_OPTS += -I../includes -I. -Iparallel -DCOMPILING_RTS
else
# otherwise, use $(GHC_INPLACE) as the C compiler.
CC=$(GHC_INPLACE)
else
# otherwise, use $(GHC_INPLACE) as the C compiler.
CC=$(GHC_INPLACE)
@@
-175,10
+176,10
@@
endif
install :: gmp/libgmp.a
install :: gmp/libgmp.a
+ifeq "$(way)" ""
clean distclean maintainer-clean ::
clean distclean maintainer-clean ::
- $(MAKE) -C gmp MAKEFLAGS= $@
+ -$(MAKE) -C gmp MAKEFLAGS= $@
-ifeq "$(way)" ""
INSTALL_LIBS += gmp/libgmp.a
endif
INSTALL_LIBS += gmp/libgmp.a
endif
@@
-188,6
+189,8
@@
gmp/libgmp.a ::
@$(RANLIB) gmp/libgmp.a
endif
@$(RANLIB) gmp/libgmp.a
endif
+CLEAN_FILES += gmp/libgmp.a
+
#-----------------------------------------------------------------------------
#
# Building the GUM SysMan
#-----------------------------------------------------------------------------
#
# Building the GUM SysMan