automake.in


Log

Author Commit Date CI Message
Tom Tromey d3910daa 2001-07-31T04:22:07 * tests/Makefile.am (TESTS): Added aclibobj.test. * tests/aclibobj.test: New file. * automake.in (handle_lib_objects_cond): Avoid undefined variable error. (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
Tom Tromey 8f498d0e 2001-07-27T02:34:40 * automake.in (check_variable_defined_unconditionally): Don't call macro_dump.
Tom Tromey 57b637ee 2001-07-27T02:29:42 * automake.texi (Optional): Don't mention ALL_LINGUAS. (gettext): Likewise. * automake.in (seen_linguas, all_linguas, all_linguas_line): Removed. (handle_gettext): Don't do any checking of the languages. (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
Tom Tromey 37506386 2001-07-27T00:02:43 * automake.in (am_print_error): New function. (am_error): Use it. (am_file_error): Likewise. (am_line_error): Likewise. (am_conf_error): Likewise. (am_conf_line_error): Likewise. * automake.texi (Options): Document no-exeext. * automake.in (handle_options): Recognize no-exeext. (rule_define): Handle no-exeext. * tests/Makefile.am (TESTS): Added new file. * tests/exeext2.test: New file. * automake.in (make_input_list): Removed. (scan_autoconf_config_files): Don't add to make_input_list. (scan_one_autoconf_file): Don't use make_input_list. (scan_autoconf_files): Use make_list, not make_input_list. (scan_autoconf_files): Likewise. * automake.in (seen_exeext): Removed. (generate_makefile): Don't define EXEEXT or OBJEXT. (scan_one_autoconf_file): Don't check for AC_EXEEXT. (am_install_var): Don't check $seen_exeext. (handle_programs): Likewise. (rule_define): Allow x to override x$(EXEEXT), for now. (file_contents_internal): Only define rule if rule_define allows us to. * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
Tom Tromey 157ad74f 2001-07-23T00:53:50 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test. * automake.in (TARGET_PATTERN): Add `@' as allowable character.
Tom Tromey 7abb9f3d 2001-07-22T22:16:30 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test. * automake.in (am_install_var): Add $(EXEEXT) even if program name holds `.'. Don't add $(EXEEXT) if program name already has it. (handle_programs): Don't add $(EXEEXT) if user already did. (make_paragraphs): Don't compute EXEEXT.
Tom Tromey 8b30c859 2001-07-21T19:34:32 * automake.in (handle_dist): Handle case where aux dir doesn't have a Makefile. Fixes depdist.test. * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test. * tests/depdist.test: Look for config/depcomp. * tests/Makefile.am (TESTS): Added depdist.test. (XFAIL_TESTS): Likewise. * tests/depdist.test: New file. From Eric Magnien.
Tim Van Holder cc7d957a 2001-07-21T09:57:42 * automake.in (handle_single_transform_list): Use $(DEPDIR) instead of hardcoding '.deps'. * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
Tom Tromey 50bea031 2001-07-20T01:25:14 2001-07-19 Tom Tromey <tromey@redhat.com> Alexandre Duret-Lutz <duret_g@epita.fr> Fix for ccnoco.test, subobj8.test: * m4/Makefile.am (m4data_DATA): Added auxdir.m4. * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test, subobj8.test. * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile. Use AM_AUX_DIR_EXPAND. * lib/compile: Handle case where `-o' argument is the name of an executable, not an object file. * m4/auxdir.m4: New file, from... * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND. * automake.in (handle_single_transform_list, lang_c_rewrite): Require compile using `require_config_file'.
Alexandre Duret-Lutz 88ba6d7a 2001-07-19T07:49:13 * automake.in (require_build_directory): New function, extracted from ... (handle_single_transform_list): ... here. (require_build_directory_maybe): New function. (handle_prograns, handle_libraries, handle_ltlibraries): Call require_build_directory_maybe() to ensure the subdirectory in which a target may lie will exist when the target is created. (handle_libraries, handle_ltlibraries): Use basename before checking library name. * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%. * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise. * lib/am/program.am (%PROGRAM%): Likewise.
Tom Tromey 1c4a810c 2001-07-17T05:53:49 Report from Motoyuki Kasahara: * tests/make.test: Use am__include. * tests/exsource.test: Use am__include. * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote. * automake.in (handle_languages): Use am__include and am__quote.
Tom Tromey 6e3608a5 2001-07-17T03:38:32 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (handle_libraries): Allow libraries to lie in a subdirectory by constraining only the basename to start with 'lib', not the whole path.
Tom Tromey a710eb01 2001-07-15T22:17:18 * automake.in (usage): Rewrote code to handle columnization. From Alexey Mahotkin and Maxim Sinev.
Tom Tromey f5ea1a6d 2001-07-15T21:55:07 Report from Ralf Corsepius: * automake.in (TARGET_PATTERN): Add `+' as valid character. (SUFFIX_RULE_PATTERN): Likewise. * tests/Makefile.am (TESTS): Added cxx.test. * tests/cxx.test: New file.
Akim Demaille 9a2040ae 2001-07-14T17:15:03 * automake.in ($obsolete_rx): No need for `b(foob|bbar)b', `b(foo|bar)b' is what we want.
Akim Demaille 3521675e 2001-07-14T17:12:26 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is not used. Do not require the corresponding AC_PROG_CC as AC_PROG_CC is actually modified to require AM_DEPENDENCIES. Rename `confdir' as `conftest.dir' so that the configure trap remove it.
Tom Tromey b689c275 2001-07-05T01:19:35 Fix for nolink.test: * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test. * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%. * automake.in (am_install_var): Only rewrite PROGRAMS if $seen_exeext. (make_paragraphs): Always define %EXEEXT%.
Tom Tromey 06e2b756 2001-07-04T18:58:33 2001-07-04 OKUJI Yoshinori <okuji@gnu.org> * automake.in (scan_texinfo_file): Add the second argument to `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index itself may not be used directly.
Tom Tromey 5ff8b67b 2001-07-03T04:19:36 Fix for libtool2.test: * tests/libtool2.test: Use `rm -f' to placate maintainer-check. * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR. * automake.in (generate_makefile): Call handle_libtool unconditionally. * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
Tom Tromey ffcacbab 2001-07-01T22:51:38 2001-06-29 Tom Tromey <tromey@redhat.com> * tests/cond11.test: Use `=', not `=='. * tests/cond12.test: Look for automake in build directory, not source directory. 2001-06-29 Richard Boulton <richard@tartarus.org> * automake.in (conditionals_true_when): Pass first parameters by reference, avoiding bug which put all parameters in @CONDS instead of @WHENS. Report by Kalle Olavi Niemitalo. Take a single WHEN instead of an array of WHENS. Remove FIXME; can't now have an empty @WHENS. (conditional_is_redundant): New sub. (variable_conditions_reduce): Check whether each condition is implied by any of the other conditions (other those already discarded), rather than checking only against those already considered (and kept). Also, fix sense of check: was keeping tautologous terms instead of discarding them. Use conditional_is_redundant instead of conditionals_true_when. * tests/Makefile.am (TESTS): Added cond11.test and cond12.test. * tests/cond11.test: New file. * tests/cond12.test: New file.
Tom Tromey c0d60c16 2001-06-29T06:55:25 2001-06-29 Raja R Harinath <harinath@cs.umn.edu> * automake.in (saw_sources_p): Work even if there are more than one header files, and more than of one type of header. * tests/Makefile.am (TESTS): Added new file. * tests/depend4.test: New file.
Tom Tromey 9cb2da8e 2001-06-28T15:06:50 2001-06-28 Tom Tromey <tromey@redhat.com> * lib/am/libs.am (RANLIB): Don't define. 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (am_install_var): Assign 1 to $first on first interation.
Tom Tromey 081f2d51 2001-06-24T03:38:27 Fix for yacc5.test: * lib/ylwrap: Changed usage. * lib/am/yacc.am: Rewrote to use new substitutions. * lib/am/lex.am: Likewise. * automake.in (handle_languages): Skip files whose language doesn't have a compiler. Handle `define_flag' attribute. Changed '$' to "\$" to aid Emacs fontification. (struct): Added `rule_file'. Removed `derived_autodep'. Added `_target_hook' and `define_flag'. (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile', and `compiler' attributes. Removed `linker', `derived_autodep', and `ansi' attributes. Added `define_flag'. (yacc, yaccxx): Added `_target_hook'. (saw_extension): Count number of times extension seen. (count_files_for_language): New sub. (saw_sources_p): Use it. (handle_single_transform_list): Allow language rewrite function to return a new source extension. Call target_hook. (yacc_sources, lex_sources): Removed. (initialize_per_input): Don't initialize yacc_sources or lex_sources. (lang_yacc_rewrite): Rewrote. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (output_yacc_build_rule): Removed. (output_lex_build_rule): Removed. (lang_yacc_finish): Removed build rule generation. (lang_lex_finish): Likewise. (DASH_D_PATTERN): New global. (lang_yacc_target_hook): New function. (_target_hook): New function. (register_language): Default `define_flag'. * tests/yacc5.test: Updated test. * tests/yacc4.test: Exit with status 77 if bison doesn't work. * tests/yacc3.test: Remove bogus `make' invocation. Added test for all YFLAGS variables.
Tom Tromey 5cadf3e0 2001-06-18T01:08:35 * automake.in (require_file_internal): Check for already-required file after searching for it, and only if it is not found. Don't use `readlink' when checking for dangling symlink. Work if --force-missing specified. * tests/acoutput2.test: Also test --force-missing.
Tom Tromey 00329142 2001-06-17T19:02:40 Fix for libtool.test: * automake.in (generate_makefile): Call handle_libtool. (handle_libtool): New sub. (handle_compile): Don't read `libtool' file.
Tom Tromey de165743 2001-06-15T01:25:11 Fix for bug reported by Steve M. Robbins: * automake.in (handle_single_transform_list): When building a file from a subdirectory, continue to use `AM_' prefix. * tests/Makefile.am (TESTS): Added subobj7.test. * tests/subobj7.test: New file.
Tom Tromey c7f85a7c 2001-06-15T01:10:25 * automake.in (yacc_lex_finish_helper): Find ylwrap in top_srcdir. From Tim Van Holder. * tests/Makefile.am (TESTS): Added yacc6.test. * tests/yacc6.test: New file.
Tom Tromey 84029707 2001-06-09T00:34:30 * tests/version4.test: New file. * automake.in (version_check): New sub. (handle_options): Use it. * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed. (TESTS): Added version4.test. * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed. * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
Tom Tromey 4dc0221c 2001-06-03T17:16:40 * automake.in (variable_conditions_sub): Move parent-only code from here... (variable_conditions): ... to here. (variable_conditions_sub): Include this variable's conditions in the resulting condition list. * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
Tom Tromey c1989e96 2001-05-29T00:28:36 * m4/Makefile.am (MAINT_CHARSET): Removed. * Makefile.am (MAINT_CHARSET): Removed. * automake.in (maint_charset, dist_charset): Removed. (local_maint_charset): Removed. (initialize_per_input): Don't use maint_charset. (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
Tom Tromey 41d5639e 2001-05-27T17:06:35 * automake.in (handle_multilib): Only add multilib support code at top level. * lib/am/multilib.am: Handle invocation of *-multi targets differently for SUBDIRS and non-SUBDIRS Makefiles. * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment. Only add multilib code when the Makefile in question is actually rebuilt.
Tom Tromey 5f380908 2001-05-26T06:20:19 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (handle_single_transform_list): Skip unknown extensions.
Tom Tromey 0b590d42 2001-05-24T06:23:20 * automake.in (handle_texinfo_helper): Find mdate-sh in current directory in some situations.
Tom Tromey 19f70379 2001-05-24T05:58:48 * automake.in (generate_makefile): Better explanation for ansi2knr fix.
Tom Tromey dcfc9386 2001-05-24T05:56:06 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (handle_languages, handle_single_transform_list): Use language '' for unknown extensions. (derive_suffix): Check whether $extension_map{$source_ext} is undefined, not empty.
Tom Tromey 6638db38 2001-05-24T05:50:35 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (read_am_file): Ignore trailing backslash on
Tom Tromey ff1cb3bd 2001-05-23T01:05:47 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
Tom Tromey 572c5742 2001-05-20T04:40:51 For for ansi2knr report from Harlan Stenn: * automake.in (generate_makefile): Run handle_compile before handle_languages.
Tom Tromey cce80296 2001-05-18T17:43:46 * automake.in: Reverted erroneous checkin.
Akim Demaille 2b3f00e7 2001-05-18T17:08:23 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust to missing `install-info'.
Tom Tromey 62541da4 2001-05-18T02:20:39 * automake.in (lang_c_finish): Use `rm -f'.
Tom Tromey 7e9620d6 2001-05-18T02:19:44 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails. * tests/Makefile.am (TESTS): Added new file. * tests/ansi5.test: New file.
Tom Tromey 6cc0fec3 2001-05-17T06:32:15 Fix for PR automake/174: * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test. * automake.in (read_am_file): Warn if `#' is at start of rule.
Tom Tromey fa0fa358 2001-05-15T02:49:51 Fix for texinfo10.test. * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test. * lib/am/texinfos.am: Use LOCAL-TEXIS liberally. * automake.in (handle_texinfo_helper): New sub. (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS. * tests/texinfo10.test: Added more cases.
Pavel Roskin 15824342 2001-05-14T16:15:03 * automake.in ($IGNORE_PATTERN): Allow spaces before comments beginning with `##'. * automake.texi (General Operation): Document it.
Tom Tromey 9618da20 2001-05-14T04:48:45 2001-05-13 Tom Tromey <tromey@redhat.com> * tests/defs: Find files to copy in lib/. * automake.in (perllibdir): Set to Automake directory. * ansi2knr.c, ansi2knr.1: Removed. * Makefile.am (dist_am_DATA): Removed. (amdir): Removed. (maintainer-check): Look for lib/am/*.am. Expect 28 lines of diffs. (scriptdir): Removed. (dist_script_DATA): Likewise. (install-data-hook): Likewise. (installcheck-local): Likewise. (TAGS_FILES): Removed amfiles. (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1. * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and point it to the right directory. * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am, compile.am, configure.am, data.am, dejagnu.am, depend.am, depend2.am, distdir.am, footer.am, header-vars.am, header.am, install.am, java.am, lang-compile.am, lex.am, library.am, libs.am, libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am, mans.am, multilib.am, program.am, progs.am, python.am, remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am, texibuild.am, texinfos.am, yacc.am: Moved to lib/am/. * configure.in (AC_OUTPUT): Added lib/am/Makefile. (AUTOMAKE): Use --libdir, not --amdir. Ues AC_CONFIG_AUX_DIR. * lib/Makefile.am (SUBDIRS): Added `am'. (scriptdir): New macro. (dist_script_DATA): Likewise. (dist_pkgdata_DATA): Likewise. (install-data-hook): New target. (installcheck-local): Likewise. * lib/am/Makefile.in: New file. * lib/am/Makefile.am: Removed everything except amdir and dist_am_DATA. 2001-05-13 Akim Demaille <akim@epita.fr> * automake.in ($pkgdata_dir): Rename as... ($libdir): this. ($am_dir): Remove, replace it's uses with $libdir. (&parse_arguments): Replace --amdir with --libdir. * automake.texi (Invoking Automake): Document --libdir, not --amdir. * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
Tom Tromey 82617827 2001-05-13T23:06:35 2001-05-14 Jim Meyering <meyering@lucent.com> * automake.in (macro_define): Change one remaining use of `variable_dump' to `macro_dump'.
Akim Demaille 4d057d56 2001-05-13T17:41:19 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext) (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp) (&am_primary_prefixes): Use `map' rather than `grep'.
Akim Demaille a79b2c68 2001-05-13T17:20:11 * automake.in (Language): Set config_vars for yacc, yaccxx, lex, lexxx, asm. (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify. (&lang_asm_finish): Remove, set asm's finisher to C's one.
Akim Demaille bbf3f9c6 2001-05-13T17:19:18 * lang-compile.am: New file, loaded once per language. * depend2.am: Move definitions loaded once per language in the aforementioned file. * automake.in (&handle_languages): Load it. (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now handled by lang-compile.am.
Tom Tromey 62e22791 2001-05-13T16:40:28 2001-05-13 Tom Tromey <tromey@redhat.com> * tests/Makefile.am (TESTS): Added python.test. * tests/python.test: New file. * automake.in (handle_languages): Use config_aux_dir_set_in_configure_in. (handle_python): Correctly mention AM_PATH_PYTHON. Use py-compile, not py_comp. Define py_compile macro. 2001-05-13 Derek Price <dprice@openavenue.com> * automake.in (require_file_with_conf_line, require_file_with_line, require_file): Pass a @require_file_path of $relative_dir instead of '.' to require_file_internal so that all the special casing of '.' can be removed elsewhere. (require_config_file, require_conf_file_with_line, require_conf_file_with_conf_line): Remove special casing for '.' and make sure $config_aux_dir is maintained properly. (require_file_internal): Remove special casing of '.' and set @require_file_path when missing files are added. (maybe_push_required_file): Remove special casing of '.' (handle_dependencies): Remove a workaround for a bug now fixed and remove $config_aux_dir special casing. (handle_configure): Remove special casing for $config_aux_dir (handle_python): Ditto. (yacc_lex_finish_helper): Change $config_aux_dir switch to switch on the value of $config_aux_dir_set_in_configure_in. (handle_texinfo): Ditto. (scan_one_configure_file): Set $config_aux_dir and $config_aux_dir_set_in_configure_in properly so special casing on the value of $config_aux_dir can be removed elsewhere. * tests/depcomp.test: New file. * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the first subdir containing a C file. * tests/libobj2.test: Ditto. * tests/Makefile.am (TESTS): Added 'depcomp.test'.
Tom Tromey edccc341 2001-05-13T01:55:42 Fixes PR automake/169. * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc style for OBJC. * automake.in (java): Added autodep entry. * tests/Makefile.am (TESTS): Added gcj3.test. * tests/gcj3.test: New file.
Tom Tromey 8cebf6e2 2001-05-13T00:46:53 2001-05-12 Raja R Harinath <harinath@cs.umn.edu> * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern stop at the first '='. * tests/Makefile.am (TESTS): Added vars.test. * tests/vars.test: New file.
Akim Demaille 3b1da915 2001-05-12T12:36:03 * automake.in (&handle_single_transform_list): Simplify computation of $object and $this_obj_ext. * tests/lex3.test: Merge into... * tests/lex.test: here. * tests/pr19.test: Improve and rename as... * tests/lex3.test: this.
Tom Tromey 62a0fb28 2001-05-10T05:39:13 * automake.in (read_am_file): Correctly compute $saw_bk. (scan_autoconf_files): Ensure configure_dist_common is always set. * tests/defs (AUTOMAKE): Added --Werror.
Pavel Roskin 4877109b 2001-05-09T22:43:58 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in double quotes.
Akim Demaille 944b6911 2001-05-09T18:29:37 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
Akim Demaille 833be730 2001-05-09T18:27:26 * automake.in: Remove some code left from bad patches. (&handle_dependency): Remove, for the same reason.
Akim Demaille 9a37974f 2001-05-09T18:24:12 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET. (&handle_tests_dejagnu, &define_standard_variables): Don't. (&define_standard_variables): Don't transform %top_builddir% since... * header-vars.am: Use %TOPDIR% instead.
Akim Demaille 10d39f63 2001-05-09T06:31:20 * automake.in (@objects): Remove, unused. Remove all the code related to it, and to former `$(OBJECTS)'.
Tom Tromey 3ac3237f 2001-05-09T00:23:57 Fix for PR automake/149 and werror.test: * automake.in (require_file_internal): Use am_line_warning or am_conf_line_warning when suppressing error. (am_line_warning): New sub. (am_conf_line_warning): Save and restore warning signal. * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
Tom Tromey b871815d 2001-05-09T00:03:32 Fix for PR automake/36: * tests/Makefile.am (TESTS): Added asm.test. * tests/asm.test: New file. * automake.in (asm): Use ASFLAGS and AS. (lang_asm_finish): New sub.
Tom Tromey 09f4a93a 2001-05-08T23:50:53 * automake.in (read_am_file): Removed debugging code.
Tom Tromey 00e65cdd 2001-05-08T20:34:26 * automake.in (conditional_true_when): Don't return if we see `TRUE'.
Tom Tromey 85862461 2001-05-08T19:12:54 * automake.in (subst): New sub. (handle_languages): Use it. (output_lex_build_rule): Likewise; also use _am_quote. (check_libobjs_sources): Likewise. (make_paragraphs): Use subst.
Tom Tromey dc18e55e 2001-05-08T18:30:45 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE problem. * automake.in (file_contents_internal): Prototype now `$$%'. (register_language): Prototype now `%'.
Tom Tromey cf622e00 2001-05-08T17:58:03 Fixes test subobj6.test and PR automake/160: * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test. * compile.am (mostlyclean-compile): Added MOSTLYRMS. (distclean-compile): Added DISTRMS. * tests/subobj6.test (wish_SOURCES): Updated to reflect `mostlyclean' use; added test for non-subdir case. * automake.in (compile_clean_files): New global. (MOSTLY_CLEAN, DIST_CLEAN): New constants. (initialize_per_input): Initialize compile_clean_files. (handle_single_transform_list): Set compile_clean_files entries. (handle_compile): Handle compilation cleanups.
Akim Demaille 065cad6d 2001-05-08T13:53:30 * automake.in (&file_contents_internal): Apply the @cond_stack to the rules and assignments. Don't rely on `$.' as it's biased by &make_paragraphs. Don't remove backslashes in variable values.
Akim Demaille a89149b0 2001-05-08T13:12:59 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches. ($RULE_PATTERN): Use that from `&make_paragraphs'. ($MACRO_PATTERN): Just catch the name of a macro. ($BOGUS_MACRO_PATTERN): Remove. ($ASSIGNMENT_PATTERN): New. (&file_contents_internal, &make_paragraphs): Adjust. (&macro_define): Catch bad macro names. (&cond_stack_endif): Better error message. (&file_contents_internal): Don't remove backslashes in variable values. (&macro_define): Do it for `+=' user variables. (&define_standard_variables): Use `undef' instead of a dummy variable. (&make_paragraph): Be sure not to chop the trail of hash only lines: adjust the `##' regexp. (&rule_define): Fix a bug: don't read $1 but $target. * tests/condincl.test: Strengthen.
Akim Demaille c34b553c 2001-05-08T13:02:57 * automake.in (Language): Add attributes `Name' and `config_vars'. (&finish): Work properly if there is no _finish. (Automake): Register language Names and AC_SUBST dependencies. Register Fortran 77 variables upon which ratfor and ppf77 depend. (&handle_languages): Once per language, invoke `define_linker_variables', and check its config_vars. (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) (&lang_java_finish): Remove. (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
Akim Demaille 513a325d 2001-05-08T12:36:33 * automake.in (&file_contents_internal): Accept $IS_AM. (&handle_compile, &define_standard_variables, &file_contents): Adjust.
Akim Demaille 2798bc08 2001-05-08T12:33:12 * automake.in (am_install_var): Use `next' instead of `if' on the body of $X loop.
Akim Demaille ed5e54c8 2001-05-08T12:05:19 * automake.in (Language): Add attributes `lder' and `ld'. (&register_language): Specify for cxx, objc, f77, gcj. (&define_linker_variable): New. (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) (&lang_java_finish): Adjust. (&libtool_compiler): Remove.
Akim Demaille 40615b9e 2001-05-08T11:38:47 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as argument, as you don't use it. Hence... (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you don't use it. Hence... (&handle_programs): Don't mess with %lex_sources, as you don't use it.
Akim Demaille 30fe262c 2001-05-08T11:37:54 * automake.in (Language): Add attribute `link'. (&register_language): Specify for cxx, objc, f77, gcj. (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) (&lang_java_finish): Adjust.
Akim Demaille 2691a90c 2001-05-08T11:27:22 * automake.in (&define_compiler_variables): Use only $LANG as argument. (&handle_languages): Adjust.
Akim Demaille a37c8816 2001-05-08T11:18:05 * automake.in (&define_program_variable): Remove. (&scan_one_autoconf_file): Skip MAKEINFO when found in an AM_MISSING_PROG. (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI. * texinfos.am: Do it.
Akim Demaille 6ec97235 2001-05-08T11:00:12 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and RUNTEST. * dejagnu.am: Do it. (site.exp): Use `if'.
Akim Demaille 72056a29 2001-05-08T10:59:37 * automake.in: Formatting changes. (variable_dump, variables_dump): Rename as... (macro_dump, macros_dump): these.
Akim Demaille 6831f0da 2001-05-08T10:58:49 Support `if !COND', `else COND', `end COND'. * automake.texi (Conditionals): Document it. * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN) ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `d' and `s'. ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept a leading `!' before the condition. (&handle_options): Use `d'. (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New. (&read_am_file, &file_contents_internal): Use them. (&transform): No longer substitute `%!COND%', forcing the use of `! %?COND%'. * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
Akim Demaille 5f6d34d0 2001-05-08T10:42:21 Uniform handling of per-object compilation rules. Note: Automake is repaired. * automake.in (&handle_languages): Output per object rules for all the objects, not only for those which language supports dependency tracking. Fix Automake: when outputting per-object rules, use `-o' if the language has no `output_flag', as it's really needed. (&handle_single_transform_list): Instead of special casing files which need per object rules but which language don't support dependency tracking, keep them in the queue for processing by `&handle_languages'.
Akim Demaille 7e00b811 2001-05-08T10:39:49 * automake.in (&handle_languages): `ext-compile.am' and `depend2.am' are now equivalent for generic rules: output only the latter. * ext-compile.am: Remove.
Akim Demaille beeeae16 2001-05-08T10:38:12 Note: This patch breaks Automake. Repaired within two patches. * automake.in (Language): Replace the attribute `output_arg' with `compile_flag' and `output_flag'. (Automake): Adjust language registrations. (&handle_languages): Transform `-c' and `-o' for both suffix and per object rules, instead of `OUTARG' and `LTOUTARG' only for generic rules. (&handle_single_transform_list): Adjust to `compile_flag' and `output_flag'. * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
Akim Demaille 9c642c37 2001-05-08T09:46:12 * automake.in (&handle_languages): Don't transform %COMPILER%. Use `$lang->compiler' instead of `$pfx' to transform generic %COMPILE% and %LTCOMPILE%. * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead of %COMPILER% and $<.
Akim Demaille dc92d564 2001-05-07T21:41:18 * automake.in (&handle_languages): Use the same `%transform' for both `depend2.am' and `ext-compile.am'. Move the definition of `$flag' where it is used, and rename as `$flags'.
Akim Demaille 5e81d040 2001-05-07T17:51:54 * automake.in (&handle_languages): Compute `$ltoutarg' and `$outarg' independently from dependency code. There is no use looping on a language's possible extensions since we loop over used extensions. Therefore, there is no use for a local `%transform'.
Akim Demaille aba89d1b 2001-05-07T17:40:48 * automake.in (&handle_languages): Don't use $comp.
Akim Demaille 73b30787 2001-05-07T17:39:10 * automake.in (&handle_languages): Merge the two loops over %extension_seen/%languages into one and group code to be run once per language together.
Akim Demaille 51f433c1 2001-05-07T17:22:08 * automake.in (&handle_languages): Move the `if ($use_dependencies)' block so that loops over extensions and languages are next to each other.
Akim Demaille 55e01f9c 2001-05-07T17:17:56 * automake.in (&depend2): Remove, merged in... (&handle_languages): here.
Akim Demaille 71126ff3 2001-05-07T17:03:34 * automake.in (&finish_languages): Rename as... (&handle_languages): this. Include the body of... (&handle_dependency): this. Remove.
Tom Tromey d70f4431 2001-05-07T16:28:57 * automake.in (GNITS_VERSION_PATTERN): Document. Added `fork identifier'. (handle_options): Handle fork identifier in version number.
Tom Tromey 5bea838f 2001-05-06T23:01:34 Fix for PR automake/132: * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to compilation. (java): Remove INCLUDES and DEFS from compilation. (lang_c_finish): Add DEFAULT_INCLUDES to compilation. * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%. (DEFAULT_INCLUDES): New macro.
Tom Tromey 3cc40023 2001-05-06T22:51:47 * automake.in (usage): Re-align explanatory text. Fixes PR automake/148.
Pavel Roskin b1fdd7e9 2001-05-06T06:17:03 * automake.in (scan_texinfo_file): Treat @defindex and @synindex in the same way as @defcodeindex and @syncodeindex respectively.
Tom Tromey ceb97942 2001-05-06T05:39:58 * tests/Makefile.am (XFAIL_TESTS): Removed man.test. * mans.am (install-man%SECTION%): Handle dist_ and nodist_ prefixes. (uninstall-man%SECTION%): Likewise. * automake.in (handle_man_pages): Handle dist_ and nodist_ prefixes.
Tom Tromey 1a279e3e 2001-05-06T05:25:59 * automake.in (conditional_true_when): Use a hash, not index(). Also, a TRUE component always results in a true return. Fixes test cond10.test. For PR automake/164. * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
Tom Tromey 4412f6e1 2001-05-05T21:16:36 2001-05-05 Pavel Roskin <proski@gnu.org> * automake.in (scan_texinfo_file): Don't push undefined values to @clean_suffixes.
Tom Tromey 9ff51628 2001-05-05T21:06:46 2001-05-05 Richard Boulton <richard@tartarus.org> * automake.in (handle_dist): Check for existence of DIST_SUBDIRS first.
Tom Tromey 9b450918 2001-05-05T20:53:36 2001-05-05 Robert Collins <robert.collins@itdomain.com.au> * automake.in (required_targets): Added uninstall-am.