1b54fe53f972d98c7f40898a64aded2032f928d7
[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 ifeq "$(ghc_ge_504)" "NO"
12 SRC_HC_OPTS +=  -package lang -package util -package text
13 endif
14
15 ifeq "$(GhcUnregisterised)" "YES"
16 SRC_HC_OPTS += -DNO_REGS
17 endif
18
19 include $(TOP)/mk/target.mk