blob: a017547c700ecbbbc18e0e8a9fdbcb812928d57c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
TOP=../..
include $(TOP)/mk/boilerplate.mk
HS_PROG = $(GHC_GENAPPLY_PGM)
# genapply is needed to boot in rts/...
ifneq "$(BootingFromHc)" "YES"
boot :: all
endif
ifeq "$(GhcUnregisterised)" "YES"
SRC_HC_OPTS += -DNO_REGS
endif
ifeq "$(ghc_ge_607)" "YES"
SRC_HC_OPTS += -package pretty
endif
# Try to get dependencies right...
ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -fforce-recomp
else
SRC_HC_OPTS += -no-recomp
endif
GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h
binary-dist:
@:
include $(TOP)/mk/target.mk
|