From: sof Date: Tue, 12 Feb 2002 05:01:26 +0000 (+0000) Subject: [project @ 2002-02-12 05:01:26 by sof] X-Git-Tag: Approximately_9120_patches~99 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ccaf705775714bc5a8ffc9ea4f68fffcbf1e5b7c;p=ghc-hetmet.git [project @ 2002-02-12 05:01:26 by sof] bring stuff in parallel/ into scope when running 'mkdependC' --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index c8f21ce..ac9d823 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.64 2002/02/07 10:20:05 simonmar Exp $ +# $Id: Makefile,v 1.65 2002/02/12 05:01:26 sof Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -77,13 +77,18 @@ WARNING_OPTS += -Wcast-align #WARNING_OPTS += -Wredundant-decls #WARNING_OPTS += -Wconversion +STANDARD_OPTS+=-I../includes -I. -Iparallel -DCOMPILING_RTS + # HC_OPTS is included in both .c and .hc compilations, whereas CC_OPTS is # only included in .c compilations. HC_OPTS included the WAY_* opts, which # must be included in both types of compilations. SRC_CC_OPTS += $(WARNING_OPTS) -SRC_HC_OPTS += -I../includes -I. -Iparallel -DCOMPILING_RTS +# Don't bother adding these to CC_OPTS; get them via HC_OPTS anyway. +SRC_MKDEPENDC_OPTS += $(STANDARD_OPTS) + +SRC_HC_OPTS += $(STANDARD_OPTS) SRC_CC_OPTS += $(GhcRtsCcOpts) SRC_HC_OPTS += $(GhcRtsHcOpts)