summaryrefslogtreecommitdiff
path: root/utils/genprimopcode/Makefile
blob: dbd69f6d42561b2563527124554063cc7047f572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TOP=../..
include $(TOP)/mk/boilerplate.mk

HS_PROG = genprimopcode

ifeq "$(ghc_ge_504)" "NO"
SRC_HC_OPTS += -package text
endif

ifeq "$(ghc_ge_602)" "YES"
SRC_HC_OPTS += -package parsec
endif

# genprimopcode is needed to boot in ghc/compiler...
ifneq "$(BootingFromHc)" "YES"
boot :: all
endif

include $(TOP)/mk/target.mk