projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-07-28 15:03:05 by panne]
[ghc-base.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
07878dd
..
7ed06cb
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,5
@@
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.45 2003/07/24 12:19:57 ralf Exp $
+# $Id: Makefile,v 1.46 2003/07/24 13:53:20 simonmar Exp $
TOP=..
include $(TOP)/mk/boilerplate.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
@@
-58,6
+58,10
@@
SRC_HC_OPTS += -funbox-strict-fields
# -----------------------------------------------------------------------------
# PrimOpWrappers
# -----------------------------------------------------------------------------
# PrimOpWrappers
+# These two lines are required for pre-processing ghc/compiler/prelude/primops.txt
+SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR)
+SRC_CPP_OPTS += ${GhcCppOpts}
+
ifeq "$(BootingFromHc)" "YES"
GHC/PrimopWrappers.hs:
touch GHC/PrimopWrappers.hs
ifeq "$(BootingFromHc)" "YES"
GHC/PrimopWrappers.hs:
touch GHC/PrimopWrappers.hs