projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-08-22 22:24:12 by sof]
[ghc-hetmet.git]
/
ghc
/
includes
/
Makefile
diff --git
a/ghc/includes/Makefile
b/ghc/includes/Makefile
index
12d384a
..
e0f4b90
100644
(file)
--- a/
ghc/includes/Makefile
+++ b/
ghc/includes/Makefile
@@
-1,5
+1,5
@@
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.19 2002/02/11 13:59:01 simonmar Exp $
+# $Id: Makefile,v 1.21 2003/03/21 15:45:56 sof Exp $
#
TOP = ..
#
TOP = ..
@@
-11,6
+11,13
@@
include $(TOP)/mk/boilerplate.mk
H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h
#
H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h
#
+# Options -- if we're building unregisterised, add a couple of -D's
+#
+ifeq "$(GhcUnregisterised)" "YES"
+SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER
+endif
+
+#
# Header file built from the configure script's findings
#
H_CONFIG = config.h
# Header file built from the configure script's findings
#
H_CONFIG = config.h
@@
-78,7
+85,7
@@
mkDerivedConstantsHdr : mkDerivedConstants.o
DerivedConstants.h : mkDerivedConstantsHdr
./mkDerivedConstantsHdr >DerivedConstants.h
DerivedConstants.h : mkDerivedConstantsHdr
./mkDerivedConstantsHdr >DerivedConstants.h
-CLEAN_FILES += mkDerivedConstantsHdr DerivedConstants.h
+CLEAN_FILES += mkDerivedConstantsHdr$(exeext) DerivedConstants.h
# ---------------------------------------------------------------------------
# Make NativeDefs.h for the NCG
# ---------------------------------------------------------------------------
# Make NativeDefs.h for the NCG
@@
-93,7
+100,7
@@
mkNativeHdr : mkNativeHdr.o
NativeDefs.h : mkNativeHdr
./mkNativeHdr >NativeDefs.h
NativeDefs.h : mkNativeHdr
./mkNativeHdr >NativeDefs.h
-CLEAN_FILES += mkNativeHdr NativeDefs.h
+CLEAN_FILES += mkNativeHdr$(exeext) NativeDefs.h
# ---------------------------------------------------------------------------
# boot setup:
# ---------------------------------------------------------------------------
# boot setup: