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/java/lang.c | |
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/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index b90abdb..7565eba9 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -1,5 +1,6 @@ /* Java(TM) language-specific utility routines. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -340,7 +341,7 @@ lang_decode_option (argc, argv) dependency_tracking |= DEPEND_ENABLE; return 1; } - else if (strcmp (p, "-MA") == 0) + else if (strcmp (p, "-MP") == 0) { jcf_dependency_print_dummies (); return 1; |