2 include $(TOP)/mk/boilerplate.mk
4 HS_PROG = genprimopcode
6 ghc_lt_504 = $(shell if (test $(GhcCanonVersion) -lt 504); then echo YES; else echo NO; fi)
7 ifeq "$(ghc_lt_504)" "YES"
8 SRC_HC_OPTS += -package text
11 ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
12 ifeq "$(ghc_ge_601)" "YES"
13 SRC_HC_OPTS += -package parsec
16 # genprimopcode is needed to boot in ghc/compiler...
17 ifneq "$(BootingFromHc)" "YES"
21 include $(TOP)/mk/target.mk