2 include $(TOP)/mk/boilerplate.mk
6 ifeq "$(INSTALLING)" "1"
16 INSTALLED_SCRIPT_PROG = ghcprof
17 INPLACE_SCRIPT_PROG = ghcprof-inplace
19 ifeq "$(INSTALLING)" "1"
20 SCRIPT_PROG = $(INSTALLED_SCRIPT_PROG)
22 SCRIPT_PROG = $(INPLACE_SCRIPT_PROG)
25 ifneq "$(BIN_DIST)" "1"
26 SCRIPT_SUBST_VARS += libdir libexecdir
29 # don't recurse on 'make install'
31 ifeq "$(INSTALLING)" "1"
32 all clean distclean mostlyclean maintainer-clean ::
33 $(MAKE) INSTALLING=0 BIN_DIST=0 $(MFLAGS) $@
37 SCRIPT_OBJS = ghcprof.prl
38 INSTALL_SCRIPTS += $(SCRIPT_PROG)
40 include $(TOP)/mk/target.mk