]> sourceware.org Git - automake.git/commit
Some bug fixes, plus a complete rewrite of source file handling:
authorTom Tromey <tromey@redhat.com>
Thu, 1 Oct 1998 00:23:33 +0000 (00:23 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 1 Oct 1998 00:23:33 +0000 (00:23 +0000)
commit4c120bf446f6b6d48eb41a56ce96d314cc8c307a
treec29e513c3c89c9ba72382f1ad042ae7f20c136b0
parente58877a3d82cd878f491589231e6116ebbb8dbea
Some bug fixes, plus a complete rewrite of source file handling:
* texinfos.am (install-info-am): Handle case where INFO_DEPS is
empty.  Reported by Andrew Cagney.
(uninstall-info): Likewise.
(dist-info): Likewise.
* automake.in (handle_texinfo): Error if user tries to generate
HTML.
* automake.in (do_one_clean_target): Don't push previous clean
target if this target is `mostly'.  Report from Raja R Harinath.
* subdirs.am (mostlyclean-recursive ...): Build local_target, not
target.  From Raja R Harinath.
Completely changed how languages and source files are handled:
* automake.in: Call register_language for each language.
(lang_c_rewrite): New function.
(lang_cxx_rewrite): Likewise.
(lang_header_rewrite): Likewise.
(lang_yacc_rewrite): Likewise.
(lang_yaccxx_rewrite): Likewise.
(lang_lex_rewrite): Likewise.
(lang_lexxx_rewrite): Likewise.
(lang_asm_rewrite): Likewise.
(lang_fortran_rewrite): Likewise.
(register_language): Likewise.
(extension_map): New global.
(language_map): Likewise.
(resolve_linker): New function.
(handle_single_transform_list): Rewrote to use lang_X_rewrite
functions.  Changed meaning of first argument.
(initialize_per_input): Removed seen_any_source.  Initialize
language_scratch, extension_seen.  Removed cxx_extensions,
seen_c_source, dir_holds_headers, dir_holds_sources.
(handle_source_transform): Don't compute $objpat.  Pass $obj
directly to handle_single_transform_list.
(handle_built_sources): Fixed call to
handle_single_transform_list.
(lang_c_finish): New function.
(lang_cxx_finish): Likewise.
(lang_header_finish): Likewise.
(lang_yacc_finish): Likewise.
(lang_yaccxx_finish): Likewise.
(lang_lex_finish): Likewise.
(lang_lexxx_finish): Likewise..
(lang_asm_finish): Likewise.
(lang_fortran_finish): Likewise.
(yacc_lex_finish_helper): Likewise.
(libtool_compiler): Likewise.
(saw_extension): New function.
(handle_lib_objects_cond): Use saw_extension, not old variables.
(handle_yacc_lex_cxx): Removed.
(finish_languages): New function.
(get_object_extension): Don't set dir_holds_sources.
(handle_headers): Don't set dir_holds_headers.  Instead, call
saw_extension.
(saw_sources_p): New function.
(handle_tags): Use it.
(handle_dependencies): Likewise.
(cxx_extensions): New function.
(handle_dependencies): Use it.
(generate_makefile): Call finish_languages, not
handle_yacc_lex_cxx.
13 files changed:
ChangeLog
Makefile.in
THANKS
automake.in
lib/am/subdirs.am
lib/am/texinfos.am
m4/Makefile.in
subdirs.am
tests/ChangeLog
tests/Makefile.in
tests/seenc.test
tests/xsource.test
texinfos.am
This page took 0.029728 seconds and 5 git commands to generate.