mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
I tried using 'svn merge' to do the merge but it did a terrible job and there were bazillions of conflicts. So instead I just took the diff between the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed the added files (no files needed to be 'svn remove'd) and committed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156
66 lines
2.0 KiB
Makefile
66 lines
2.0 KiB
Makefile
# This file contains things shared by coregrind/Makefile.am and tool
|
|
# Makefile.am files.
|
|
|
|
# See Makefile.tool-tests.am for an explanation of dSYMs.
|
|
build-noinst_DSYMS:
|
|
for f in $(noinst_DSYMS); do \
|
|
if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \
|
|
echo "dsymutil $$f"; \
|
|
dsymutil $$f; \
|
|
fi; \
|
|
done
|
|
|
|
# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
|
|
# "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir.
|
|
# It needs to be depended on by an 'all-local' rule.
|
|
inplace-noinst_PROGRAMS:
|
|
if [ -n "$(noinst_PROGRAMS)" ] ; then \
|
|
mkdir -p $(inplacedir); \
|
|
for f in $(noinst_PROGRAMS) ; do \
|
|
rm -f $(inplacedir)/$$f; \
|
|
ln -f -s ../$(subdir)/$$f $(inplacedir); \
|
|
done ; \
|
|
fi
|
|
|
|
# Similar to inplace-noinst_PROGRAMS
|
|
inplace-noinst_DSYMS: build-noinst_DSYMS
|
|
if [ -n "$(noinst_DSYMS)" ] ; then \
|
|
mkdir -p $(inplacedir); \
|
|
for f in $(noinst_DSYMS); do \
|
|
rm -f $(inplacedir)/$$f.dSYM; \
|
|
ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
|
|
done ; \
|
|
fi
|
|
|
|
# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
|
|
# "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
|
|
# It needs to be depended on by an 'install-exec-local' rule.
|
|
install-noinst_PROGRAMS:
|
|
if [ -n "$(noinst_PROGRAMS)" ] ; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(valdir); \
|
|
for f in $(noinst_PROGRAMS); do \
|
|
$(INSTALL_PROGRAM) $$f $(DESTDIR)$(valdir); \
|
|
done ; \
|
|
fi
|
|
|
|
# Similar to install-noinst_PROGRAMS.
|
|
# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
|
|
# directories. XXX: not sure whether the resulting permissions will be
|
|
# correct when using 'cp -R'...
|
|
install-noinst_DSYMS: build-noinst_DSYMS
|
|
if [ -n "$(noinst_DSYMS)" ] ; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(valdir); \
|
|
for f in $(noinst_DSYMS); do \
|
|
cp -R $$f.dSYM $(DESTDIR)$(valdir); \
|
|
done ; \
|
|
fi
|
|
|
|
# This needs to be depended on by a 'clean-local' rule.
|
|
clean-noinst_DSYMS:
|
|
for f in $(noinst_DSYMS); do \
|
|
rm -rf $$f.dSYM; \
|
|
done
|
|
|
|
|
|
|