summaryrefslogtreecommitdiff
path: root/ghc/utils/stat2resid/Jmakefile
blob: aed1c169ccde5a97d51c89566bf7c1c20006ad7d (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
/* stuff to have before we get going */
MsubNeededHere(stat2resid)

DYN_LOADABLE_BITS = \
	parse-gcstats.prl \
	process-gcstats.prl

MsubMakefileDependentProgramScriptTarget(PerlCmd,stat2resid,stat2resid.prl,/*no flags*/,/*Makefile*/)

#if DoInstallGHCSystem == YES
MakeDirectories(install, $(INSTBINDIR_GHC) $(INSTLIBDIR_GHC))

InstallMsubbedScriptTarget(PerlCmd,stat2resid-v-temp-name,stat2resid.prl,$(INSTBINDIR_GHC))
/* and continuing ... */
install::
	$(MV) $(INSTBINDIR_GHC)/stat2resid-v-temp-name $(INSTBINDIR_GHC)/stat2resid
	$(RM) $(INSTBINDIR_GHC)/stat2resid-v-temp-name

dyn_loadable_bits : $(DYN_LOADABLE_BITS)

InstallMultNonExecTargets(dyn_loadable_bits, $(DYN_LOADABLE_BITS), $(INSTLIBDIR_GHC))

install :: install_dyn_loadable_bits

#endif /* DoInstallGHCSystem */