X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=99701b2ffa07e1f749c739c2f178c4146f3fd4ac;hb=e7111ac9dabf7d430c8fbab7966e16f84606e369;hp=c31a486373c4edb765863e8d6d916fbf85b877b8;hpb=423d477bfecd490de1449c59325c8776f91d7aac;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index c31a486..99701b2 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -230,6 +230,7 @@ boot :: # Slight cheatage here to pass host as target, but x-compilation isn't supported by ghc. +ifeq "$(way)" "" all :: gmp/libgmp.a ifeq "$(DLLized)" "YES" @@ -239,6 +240,7 @@ $(DLL_PEN)/gmp.dll: $(MAKE) -C gmp gmp.dll $(MV) gmp/gmp.dll $(DLL_PEN) endif +endif install :: gmp/libgmp.a @@ -302,6 +304,10 @@ SRC_HC_OPTS += \ -\#include Profiling.h \ -\#include Apply.h +ifeq "$(Windows)" "YES" +PrimOps_HC_OPTS += -\#include '' -\#include win32/AsyncIO.h +endif + # Cmm must be compiled via-C for now, because the NCG can't handle loops SRC_HC_OPTS += -fvia-C