X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FMakefile;h=e653d3e9fea517c05445de6a0098c90e86ed2828;hb=f7bcfb698d9a895a168fd29eefd7dba8fd9be849;hp=b1c57f9d01c2acf58bc0394d43ae59966d6b1208;hpb=8c2549461d624ad5cfec9be3266bdfd016371658;p=ghc-hetmet.git diff --git a/includes/Makefile b/includes/Makefile index b1c57f9..e653d3e 100644 --- a/includes/Makefile +++ b/includes/Makefile @@ -11,15 +11,11 @@ H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h # # Options # -ifeq "$(GhcWithNoRegs)" "YES" -SRC_CC_OPTS += -DNO_REGS +ifeq "$(GhcUnregisterised)" "YES" +SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER endif -ifeq "$(GhcWithMiniInterpreter)" "YES" -SRC_CC_OPTS += -DUSE_MINIINTERPRETER -endif - -ifeq "$(GhcWithTablesNextToCode)" "YES" +ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE endif @@ -59,6 +55,7 @@ else $(H_CONFIG) : $(FPTOOLS_TOP)/mk/config.h $(FPTOOLS_TOP)/mk/config.mk $(H_CONFIG) : Makefile + @echo "Creating $@..." @echo "#ifndef __GHCAUTOCONF_H__" >$@ @echo "#define __GHCAUTOCONF_H__" >>$@ # Turn '#define PACKAGE_FOO "blah"' into '/* #undef PACKAGE_FOO */'.