diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-05 07:50:24 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-05 07:50:24 +0000 |
commit | 2e399de6a092e30322c99830608049b38bf5e2ef (patch) | |
tree | 4a7fde9382b70c566caa911a671a363b63d0df58 /gcc/mkdeps.h | |
parent | e1efd9143a70b24bb7b74f3faa121c0e7e01fbbb (diff) | |
download | gcc-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/mkdeps.h')
-rw-r--r-- | gcc/mkdeps.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/mkdeps.h b/gcc/mkdeps.h index 727a78485a9..2484af18f3e 100644 --- a/gcc/mkdeps.h +++ b/gcc/mkdeps.h @@ -34,8 +34,9 @@ extern struct deps *deps_init PARAMS ((void)); /* Destroy a deps buffer. */ extern void deps_free PARAMS ((struct deps *)); -/* Add a target (appears on left side of the colon) to the deps list. */ -extern void deps_add_target PARAMS ((struct deps *, const char *)); +/* Add a target (appears on left side of the colon) to the deps list. Takes + a boolean indicating whether to quote the target for MAKE. */ +extern void deps_add_target PARAMS ((struct deps *, const char *, int)); /* Sets the default target if none has been given already. An empty string as the default target in interpreted as stdin. */ @@ -56,6 +57,6 @@ extern void deps_write PARAMS ((const struct deps *, FILE *, file, causing it to depend on nothing. This is used to work around the intermediate-file deletion misfeature in Make, in some automatic dependency schemes. */ -extern void deps_dummy_targets PARAMS ((const struct deps *, FILE *)); +extern void deps_phony_targets PARAMS ((const struct deps *, FILE *)); #endif |