X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FMakefile;h=4e4a82b7a130186e257ad2938bb1e743e0ba6505;hb=7cb0ffcb5a7e6f6ae4cce2adf61b3a3e78bbd78c;hp=83b74d49a782a54acc7fee3485e89a5cc9cf77a0;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/includes/Makefile b/includes/Makefile index 83b74d4..4e4a82b 100644 --- a/includes/Makefile +++ b/includes/Makefile @@ -9,14 +9,22 @@ include $(TOP)/mk/boilerplate.mk H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h # -# Options -- if we're building unregisterised, add a couple of -D's +# Options # ifeq "$(GhcUnregisterised)" "YES" SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER endif +ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" +SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE +endif + SRC_CC_OPTS += -I. -I../rts +ifneq "$(GhcWithSMP)" "YES" +SRC_CC_OPTS += -DNOSMP +endif + # # Header file built from the configure script's findings #