2 include $(TOP)/mk/boilerplate.mk
4 HS_PROG = runghc$(exeext)
5 INSTALL_PROGS += $(HS_PROG)
8 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
10 # This causes libghccompat.a to be used:
11 include $(GHC_COMPAT_DIR)/compat.mk
13 # This is required because libghccompat.a must be built with
14 # $(GhcHcOpts) because it is linked to the compiler, and hence
15 # we must also build with $(GhcHcOpts) here:
16 SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
20 $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/runghc
21 $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/runghc/
22 $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/runghc/
24 include $(TOP)/mk/target.mk