[project @ 2003-07-22 14:51:50 by simonmar]
[ghc-hetmet.git] / ghc / utils / genapply / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_PROG = $(GHC_GENAPPLY_PGM)
5
6 # genapply is needed to boot in ghc/rts...
7 ifneq "$(BootingFromHc)" "YES"
8 boot :: all
9 endif
10
11 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
12
13 ifeq "$(ghc_ge_504)" "NO"
14 SRC_HC_OPTS +=  -package lang -package util -package text
15 endif
16
17 ifeq "$(GhcUnregisterised)" "YES"
18 SRC_HC_OPTS += -DNO_REGS
19 endif
20
21 include $(TOP)/mk/target.mk