diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-10-20 21:19:29 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-10-20 21:19:29 +0000 |
commit | 316a06a103ac4064f94377b8a4a4c1b91f6a5afe (patch) | |
tree | 4eede965e0e3fec6ff244f7ac3b8432688b7e248 /gcc/java/jvspec.c | |
parent | 3f568531d04baeb2dc6a3eaf3e18d5a219c3e841 (diff) | |
download | gcc-316a06a103ac4064f94377b8a4a4c1b91f6a5afe.zip gcc-316a06a103ac4064f94377b8a4a4c1b91f6a5afe.tar.gz gcc-316a06a103ac4064f94377b8a4a4c1b91f6a5afe.tar.bz2 |
jvspec.c (lang_specific_driver): Recognize -MF and -MT.
* jvspec.c (lang_specific_driver): Recognize -MF and -MT.
* lang-specs.h: Added %{MA}, %{MF*}, %{MT*}.
* lang-options.h: Added -MA, -MT, -MF..
* lang.c (lang_decode_option): Recognize -MA, -MT, -MF.
(DEPEND_TARGET_SET): New macro.
(DEPEND_FILE_ALREADY_SET): Likewise.
(init_parse): Handle new flags.
* jcf.h (jcf_dependency_print_dummies): Declare.
* Make-lang.in (s-java): Added mkdeps.o.
* Makefile.in (BACKEND): Added mkdeps.o.
(../gcjh$(exeext)): Added mkdeps.o.
(../jcf-dump$(exeext)): Added mkdeps.o.
* jcf-depend.c: Include mkdeps.h.
(struct entry, dependencies, targets, MAX_OUTPUT_COLUMNS,
add_entry): Removed.
(jcf_dependency_reset): Rewrote.
(dependencies): New global.
(jcf_dependency_set_target): Rewrote.
(jcf_dependency_add_target): Likewise.
(jcf_dependency_add_file): Likewise.
(munge): Removed.
(print_ents): Removed.
(jcf_dependency_write): Rewrote.
(print_dummies): New global.
(jcf_dependency_print_dummies): New function
(jcf_dependency_write): Call deps_dummy_targets if required.
From-SVN: r36981
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r-- | gcc/java/jvspec.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index ee9fbf0..730337a 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -262,9 +262,11 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) saw_g = 1; else if (argv[i][1] == 'O') saw_O = 1; - else if (((argv[i][2] == '\0' - && (char *)strchr ("bBVDUoeTuIYmLiA", argv[i][1]) != NULL) - || strcmp (argv[i], "-Tdata") == 0)) + else if ((argv[i][2] == '\0' + && (char *)strchr ("bBVDUoeTuIYmLiA", argv[i][1]) != NULL) + || strcmp (argv[i], "-Tdata") == 0 + || strcmp (argv[i], "-MT") == 0 + || strcmp (argv[i], "-MF") == 0) { if (strcmp (argv[i], "-o") == 0) saw_o = 1; |