1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.8 2002/09/09 11:44:13 simonmar Exp $
5 include $(TOP)/mk/boilerplate.mk
7 HS_PROG = genprimopcode
9 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
11 ifeq "$(ghc_ge_504)" "NO"
12 SRC_HC_OPTS += -package text
15 # genprimopcode is needed to boot in ghc/compiler...
16 ifneq "$(BootingFromHc)" "YES"
20 include $(TOP)/mk/target.mk