mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
system that allows multiple copies of valgrind to be built so that we can build both x86 and amd64 versions of the tools on amd64 machines. The launcher is then modified to look at the program being run and decide which tool to use to run it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5027
9 lines
292 B
Makefile
9 lines
292 B
Makefile
all-local:
|
|
for f in $(noinst_PROGRAMS); do \
|
|
p=`echo $$f | sed -e 's/^[^-]*-//' -e 's/\..*$$//'`; \
|
|
n=`echo $$f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \
|
|
mkdir -p $(inplacedir)/$$p; \
|
|
rm -f $(inplacedir)/$$p/$$n; \
|
|
ln -f -s ../../$(subdir)/$$f $(inplacedir)/$$p/$$n; \
|
|
done
|