8sa1-gcc/gcc/java
Tom Tromey fc45c7efec jcf-write.c (write_classfile): Add output class file as target.
* jcf-write.c (write_classfile): Add output class file as target.
	* lang-options.h: Added -MD, -MMD, -M, and -MM.
	* jcf.h: Added declarations for dependency-tracking functions.
	* lang-specs.h: Handle -M, -MM, MD, and -MMD.
	* lang.c (lang_decode_option): Recognize -MD and -MMD.
	(finish_parse): Call jcf_dependency_write.
	(dependency_tracking): New global.
	(DEPEND_SET_FILE): New define.
	(DEPEND_ENABLE): New define.
	(init_parse): Enable dependency tracking if required.
	Include "flags.h".
	* Makefile.in (JAVA_OBJS): Added jcf-depend.o.
	(../jcf-dump$(exeext)): Depend on and link with jcf-depend.o.
	(../gcjh$(exeext)): Likewise.
	(jcf-depend.o): New target.
	* Make-lang.in (JAVA_SRCS): Added jcf-depend.c.
	(GCJH_SOURCES): Likewise.
	* jcf-io.c (open_class): Call jcf_dependency_add_file.  Added
	dep_name argument.
	(find_classfile): Added dep_name argument.
	(find_class): Compute name of dependency.
	(open_in_zip): Call jcf_dependency_add_file.
	* gjavah.c (output_file): No longer global.
	(usage): Don't mention "gjavah".
	(help): Likewise.
	(java_no_argument): Likewise.
	(version): Likewise.
	(main): Recognize and handle -M family of options.
	(print_mangled_classname): Return is void.
	(process_file): Handle case where output is suppressed.
	(HANDLE_END_FIELD): Likewise.
	(HANDLE_METHOD): Likewise.
	* jcf-depend.c: New file.

From-SVN: r23085
1998-10-14 12:54:59 +00:00
..
buffer.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
buffer.h 1998-10-12 05:43:53 -07:00
ChangeLog jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
class.c *** empty log message *** 1998-10-12 05:43:32 -07:00
config-lang.in
constants.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
convert.h
decl.c 8 1998-10-12 05:43:33 -07:00
except.c 1998-10-12 05:43:53 -07:00
expr.c 1998-10-12 05:43:53 -07:00
gjavah.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
java-except.h
java-opcodes.h
java-tree.def java-tree.def: Add missing newline at EOF. 1998-10-13 16:35:34 -06:00
java-tree.h 1998-10-12 05:43:39 -07:00
javaop.def
javaop.h
jcf-depend.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
jcf-dump.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
jcf-io.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
jcf-parse.c 1998-10-12 05:43:53 -07:00
jcf-reader.c 1998-10-12 05:43:52 -07:00
jcf-write.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
jcf.h jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
jv-scan.c
jvgenmain.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
jvspec.c 1998-10-12 05:43:52 -07:00
keyword.gperf
keyword.h Warning fixes: 1998-10-07 09:18:39 +00:00
lang-options.h jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
lang-specs.h jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
lang.c jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
lex.c 1998-10-12 05:43:52 -07:00
lex.h
Make-lang.in jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
Makefile.in jcf-write.c (write_classfile): Add output class file as target. 1998-10-14 12:54:59 +00:00
mangle.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
parse-scan.y
parse.h 1998-10-12 05:43:53 -07:00
parse.y Merge from Cygnus internal source tree. 1998-10-12 05:43:51 -07:00
typeck.c 1998-10-12 05:43:52 -07:00
verify.c 1998-10-12 05:43:53 -07:00
zextract.c
zipfile.h