X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=ef3e24403294d0e105a75da8ebb0832dce121b74;hb=7f24ae51ed36c5c0308a2d0de23e243f32a0043c;hp=f8a7c73c4b212346b4990d95eaec5f44bb48c9dd;hpb=03a9ff01812afc81eb5236fd3063cbec44cf469e;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index f8a7c73..ef3e244 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -124,6 +124,8 @@ SRC_HC_OPTS += -static endif # SRC_HC_OPTS += -fPIC +RtsMessages_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\" + ifeq "$(way)" "mp" SRC_HC_OPTS += -I$$PVM_ROOT/include endif @@ -313,7 +315,6 @@ SRC_HC_OPTS += \ -\#include Storage.h \ -\#include SchedAPI.h \ -\#include Timer.h \ - -\#include Itimer.h \ -\#include ProfHeap.h \ -\#include LdvProfile.h \ -\#include Profiling.h \ @@ -323,6 +324,8 @@ SRC_HC_OPTS += \ ifeq "$(Windows)" "YES" PrimOps_HC_OPTS += -\#include '' -\#include win32/AsyncIO.h +else +PrimOps_HC_OPTS += -\#include posix/Itimer.h endif # -O3 helps unroll some loops (especially in copy() with a constant argument).