diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-05 07:50:24 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-05 07:50:24 +0000 |
commit | a5a4ce3c3c0eee620f62210898d661a3b05f283a (patch) | |
tree | 4a7fde9382b70c566caa911a671a363b63d0df58 /gcc/cpplib.h | |
parent | 97fc4caf7d18cd4aaa2a31a55c68b4a4ec7deb36 (diff) | |
download | gcc-a5a4ce3c3c0eee620f62210898d661a3b05f283a.zip gcc-a5a4ce3c3c0eee620f62210898d661a3b05f283a.tar.gz gcc-a5a4ce3c3c0eee620f62210898d661a3b05f283a.tar.bz2 |
cpp.texi: Update for -MP.
* cpp.texi: Update for -MP. Clarify behaviour of -MT.
* cppinit.c (initialize_dependency_output): Update.
(cpp_finish): Output dummy targets for -MP.
(OPT_MP): New.
(cpp_handle_option): Handle -MP. Don't quote -MT options.
* cpplib.h (struct cpp_options): Add deps_phony_targets.
* gcc.c (cpp_options): Update to handle -MP.
* mkdeps.c (deps_add_target, deps_add_default_target): Update
to quote only the default target.
(deps_phony_targets): Insert a preceding newline. Rename from
deps_dummy_targets for consistency.
* mkdeps.h: Update
java:
* lang.c (lang_decode_option): Change -MA to -MP.
* jcf-depend.c (jcf_dependency_add_target, jcf_dependency_set_target):
Update to new prototype; do quote targets.
(jcf_dependency_write): Update.
From-SVN: r38707
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 98e8e1b..c2049d7 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -329,6 +329,9 @@ struct cpp_options #include <...> as well. */ unsigned char print_deps; + /* Nonzero if phony targets are created for each header. */ + unsigned char deps_phony_targets; + /* Nonzero if missing .h files in -M output are assumed to be generated files and not errors. */ unsigned char print_deps_missing_files; @@ -570,7 +573,7 @@ struct cpp_reader cpp_token date; cpp_token time; - /* Buffer of -M output. */ + /* Opaque handle to the dependencies of mkdeps.c. Used by -M etc. */ struct deps *deps; /* Obstack holding all macro hash nodes. This never shrinks. |