2 include $(TOP)/mk/boilerplate.mk
4 # We have two version: the inplace version compiled by the bootstrap compiler
5 # and the install version compiled by the stage 1 compiler
9 HS_PROG = hpc-inplace$(exeext)
11 INSTALL_PROGS += $(HS_PROG)
12 HPC_LIB = $(TOP)/libraries/hpc
14 include $(GHC_COMPAT_DIR)/compat.mk
15 SRC_HC_OPTS += $(PACKAGE_HPC) -cpp
17 ifeq "$(ghc_ge_607)" "YES"
18 SRC_HC_OPTS += -package containers
22 $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hpc
23 $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/hpc/
24 $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/hpc/
26 include $(TOP)/mk/target.mk