2 include $(TOP)/mk/boilerplate.mk
4 HS_PROG = $(GHC_GENAPPLY_PGM)
6 # genapply is needed to boot in ghc/rts...
7 ifneq "$(BootingFromHc)" "YES"
11 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
13 ifeq "$(ghc_ge_504)" "NO"
14 SRC_HC_OPTS += -package lang -package util -package text
17 ifeq "$(GhcUnregisterised)" "YES"
18 SRC_HC_OPTS += -DNO_REGS
21 include $(TOP)/mk/target.mk