summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 07:50:24 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 07:50:24 +0000
commit2e399de6a092e30322c99830608049b38bf5e2ef (patch)
tree4a7fde9382b70c566caa911a671a363b63d0df58 /gcc/cpplib.h
parente1efd9143a70b24bb7b74f3faa121c0e7e01fbbb (diff)
downloadgcc-2e399de6a092e30322c99830608049b38bf5e2ef.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 98e8e1b500c..c2049d787ab 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.