diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-30 11:49:27 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-12-01 07:56:11 -0700 |
commit | d0df06af9b70c5a6a2aa496437364f219e669067 (patch) | |
tree | 825265ee7d5511ceb954e66f8bcb18e74ae6bf62 /config/zlib.m4 | |
parent | 2ee0c9b3eedca5d1071870334d2721be80a77ea1 (diff) | |
download | gdb-d0df06af9b70c5a6a2aa496437364f219e669067.zip gdb-d0df06af9b70c5a6a2aa496437364f219e669067.tar.gz gdb-d0df06af9b70c5a6a2aa496437364f219e669067.tar.bz2 |
Fix dependency tracking for objects in subdirectories
On irc, Pedro pointed out that dependencies for objects in
subdirectories didn't seem to be working.
The bug was that the "-include" for .deps files was using the wrong file
name for subdirectory objects; e.g., for cli/cli-decode.o it was trying
to open .deps/cli/cli-decode.o, whereas the correct file is
cli/.deps/cli-decode.o.
This patch changes how the dep files are found. Tested by touching a
source file and rebuilding cli/cli-decode.o.
2017-12-01 Tom Tromey <tom@tromey.com>
* Makefile.in (all_deps_files): New variable.
Include .Po files using all_deps_files.
Diffstat (limited to 'config/zlib.m4')
0 files changed, 0 insertions, 0 deletions