gcc/libcpp
Zack Weinberg c6e8380069 Makefile.am: Add makedepend.
libcpp:
	* Makefile.am: Add makedepend.
	* Makefile.in, aclocal.m4: Regenerate.
	* charset.c: Insert a space to avoid a warning.
	* directives.c: Include mkdeps.h.
	(_cpp_handle_directive): Reenable macro expander if appropriate.
	(undefine_macros): Inline body of _cpp_free_definition for speed.
	Do not call undef callback or _cpp_warn_if_unused_macro.
	(cpp_get_deps): New interface.
	* files.c (search_cache): Add pfile argument.  Check for file
	that would be found by "" or <> search here...
	(_cpp_find_file): ...not here.  Correct recorded start_dir of
	files found by directory-of-current-file search that would be
	found by "" or <> search.
	* init.c (cpp_add_dependency_target): Delete.
	* internal.h (struct lexer_state): Add discarding_output flag.
	* lex.c (lex_identifier): Compute hash function while scanning.
	* macro.c (cpp_scan_nooutput): Disable macro expansion outside
	directives.
	* makedepend.c: New file.
	* mkdeps.c (struct deps): Add vpath vector.
	(apply_vpath, deps_add_vpath): New function.
	(deps_free): Free vpath vector.
	(deps_add_dep, deps_add_target): Use apply_vpath.
	* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
	(ht_lookup_with_hash): New function.
	* cpplib.h, mkdeps.h: Update prototypes.
	* symtab.h: Update prototypes.
	(HT_HASHSTEP, HT_FINISH): New macros.

gcc:
	* Makefile.in (MKDEPS_H): New shorthand.
	(c-opts.o): Update dependencies.
	* c-opts.c: Include mkdeps.h.
	(handle_deferred_opts): Use cpp_get_deps and deps_add_target,
	not cpp_add_dependency_target.

From-SVN: r82654
2004-06-05 20:58:06 +00:00
..
include Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
po Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
aclocal.m4 Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
ChangeLog Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
charset.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
config.in Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
configure re PR bootstrap/15651 (Size Errors/Warnings Followed by ICE) 2004-05-26 06:58:53 +00:00
configure.ac re PR bootstrap/15651 (Size Errors/Warnings Followed by ICE) 2004-05-26 06:58:53 +00:00
directives.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
errors.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
expr.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
files.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
identifiers.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
init.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
internal.h Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
lex.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
line-map.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
macro.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
makedepend.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
Makefile.am Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
Makefile.in Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
mkdeps.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
pch.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
symtab.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
system.h system.h: dgettext takes two parameters. 2004-05-24 15:04:09 +00:00
traditional.c Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
ucnid.h Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
ucnid.pl Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
ucnid.tab Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00