X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenapply%2FMakefile;h=a017547c700ecbbbc18e0e8a9fdbcb812928d57c;hb=fedf1224b59e7d159aba66884aa9705bb0413e78;hp=f9a10a22de117167427ac6e742b56548ccd14235;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile index f9a10a2..a017547 100644 --- a/utils/genapply/Makefile +++ b/utils/genapply/Makefile @@ -8,18 +8,26 @@ ifneq "$(BootingFromHc)" "YES" boot :: all endif -ifeq "$(ghc_ge_504)" "NO" -SRC_HC_OPTS += -package lang -package util -package text -endif - ifeq "$(GhcUnregisterised)" "YES" SRC_HC_OPTS += -DNO_REGS endif +ifeq "$(ghc_ge_607)" "YES" +SRC_HC_OPTS += -package pretty +endif + # Try to get dependencies right... +ifeq "$(ghc_ge_605)" "YES" +SRC_HC_OPTS += -fforce-recomp +else SRC_HC_OPTS += -no-recomp +endif + GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h +binary-dist: + @: + include $(TOP)/mk/target.mk