]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Reuse (shared) cachegrind source files in callgrind directly.
authorMark Wielaard <mark@klomp.org>
Tue, 3 Sep 2013 15:22:14 +0000 (15:22 +0000)
committerMark Wielaard <mark@klomp.org>
Tue, 3 Sep 2013 15:22:14 +0000 (15:22 +0000)
commit363d971e32710614a3a453460aeade0f55660c5d
tree2fa8667faa7df4a4df0b4d54190f72ad792ee4d8
parent5d7649ffe98509b2a165d2866bbedc79e5c8bfc2
Reuse (shared) cachegrind source files in callgrind directly.

The callgrind Makefile.am had a common sources list that included
../cachegrind/cg_arch.c. This doesn't play well with automake and
subdir-objects. Especially make distclean was broken because some
.deps files were removed multiple times.

Just include the shared source file directly into the callgrind
source file that needs it (cg_arch.c in sim.c).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13528
callgrind/Makefile.am
callgrind/sim.c