projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-08-27 22:36:49 by sof]
[ghc-hetmet.git]
/
ghc
/
rts
/
Makefile
diff --git
a/ghc/rts/Makefile
b/ghc/rts/Makefile
index
c31a486
..
99701b2
100644
(file)
--- 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.
# 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"
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
$(MAKE) -C gmp gmp.dll
$(MV) gmp/gmp.dll $(DLL_PEN)
endif
+endif
install :: gmp/libgmp.a
install :: gmp/libgmp.a
@@
-302,6
+304,10
@@
SRC_HC_OPTS += \
-\#include Profiling.h \
-\#include Apply.h
-\#include Profiling.h \
-\#include Apply.h
+ifeq "$(Windows)" "YES"
+PrimOps_HC_OPTS += -\#include '<windows.h>' -\#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
# Cmm must be compiled via-C for now, because the NCG can't handle loops
SRC_HC_OPTS += -fvia-C