lib/am


Log

Author Commit Date CI Message
Tom Tromey b4e12308 2001-02-09T21:52:30 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
Tom Tromey 8de13de5 2001-02-09T07:06:53 Clean up maintainer-check warnings: * Makefile.am (maintainer-check): Ignore comment lines in CDPATH check. * automake.in (handle_dist_worker): Removed redundant `my $xform'.
Akim Demaille 4ec2083b 2001-02-09T03:38:16 * automake.in (&transform): Use `my', not `local'. (&transform_cond): New. (&get_object_extension, &handle_texinfo, &handle_tags) (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean) (&handle_tests_dejagnu): Use it. * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
Tom Tromey b46ae388 2001-02-08T06:36:14 * lisp.am (install-@DIR@LISP): Removed extra space. * header.am (install-@DIR@HEADERS): Removed extra space. * data.am (install-@DIR@DATA): Removed extra space.
Akim Demaille de7f0818 2001-02-06T10:17:57 * subdirs.am: This file is the exception: clean recursive targets are called by the clean targets, not the clean-am targets. Otherwise we have a circular dependency: clean -> clean-am -> clean-recursive -> clean. * automake.in (handle_clean): Bind `-local' targets to `-am' targets, not top targets. Don't declare -recursive dependencies of the clean targets: `subdirs.am' did it. Less hard coded knowledge, transfered into... * clean.am: here.
Akim Demaille 8a34b58d 2001-02-06T09:09:36 Monstro unsplitable patch. The aim is to remove hard coded knowledge about clean targets from automake.in, leaving them in the *.am files. In addition to the mechanic needed to factor some dependencies, it appears some rules (most notably distclean and maintainer-clean) need factored actions. So first, be ready to catch factored rules. * automake.in (&file_contents): For the time being, use an extended $RULE_PATTERN which is able to match any kind of rules, with or without dependency, with or without actions. Handle all the rules uniformly, storing in %actions the factored actions. (&flatten, &target_cmp): New. (&handle_factored_dependencies): Output the %actions. No longer special case `clean'. Output the rules in alphabetical order, but keeping `.PHONY' last. Now we must not use &push_phony_cleaners, which is doing all sort of magic to push a bit of everything in all the clean targets. The biggest problem being that, making a Cartesian product, it requires many useless targets. The `*.am' file know better. But first, register the new factored rules. * automake.in (&initialize_per_input): Include clean, mostlyclean, maintainer-clean, distclean and their `*-am' counterpart in %dependencies. Initialize %actions. (get_object_extension, handle_texinfo, handle_tags, handle_multilib) handle_dependencies, handle_subdirs, handle_configure, handle_clean) (handle_emacs_lisp, handle_python): Don't play with &push_phony_cleaners nor &depend and `clean'. * texinfos.am, texi-vers.am, tags-clean.am: * subdirs.am,python-clean.am, multilib.am, lisp-clean.am: * libtool.am, kr-extra.am, depend.am, compile.am, clean.am: * clean-kr.am, clean-hdr.am: Do it. Whenever a target is empty, just remove it, it will no longer be called. There is still some magic about clean to hard code. But really, that's the end of &do_one_clean_target. * automake.in (&do_one_clean_target): Kaboom out. (&handle_clean): Rewrite the magic code. (&am_install_var): No longer use &push_phony_cleaners, nor depend on `clean'. (&push_phony_cleaners): Kaboom too.
Akim Demaille 279adc2a 2001-02-06T09:08:56 * automake.in (do_one_clean_target): Don't hard code knowledge about libtool, and maintainer-clean. * clean.am, libtool.am: Handle these.
Akim Demaille c9a4efae 2001-02-05T09:11:10 * automake.in (handle_texinfo): No longer hard code the clean targets. (texinfos.am): Include them.
Akim Demaille 491b77b4 2001-02-05T09:09:17 * Makefile.am (perl4-check): Remove, we now require Perl 5. (maintainer-check): Don't be silent when you find a problem, and actually, even specify the locations. Also check that @_ is assigned to arrays.
Akim Demaille bb9809a5 2001-02-04T16:50:49 Add.
Akim Demaille 8f0f4563 2001-02-04T15:10:23 * distdir.am (distdir): New file, extracted from... * automake.in (handle_dist_worker): here. Adjust.
Tom Tromey d2a26602 2001-02-04T04:43:11 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER. * header-vars.am (INSTALL_HEADER): New macro.
Akim Demaille 148a155a 2001-01-31T16:50:02 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and then replacing `$(@PFX@COMPILE)' for the files that need some special flags, use only @COMPILE@. Similarly for @LTCOMPILE@. Try to document this file. * automake.in (add_depend2): Adjust to these changes.
Akim Demaille 7a394d5e 2001-01-31T14:36:21 * automake.in (%factored_dependencies): New. (file_contents): Use it. (handle_phony): Rename as... (handle_factored_dependencies): this. * subdirs.am: No need for convolved syntax to declare .PHONY.
Akim Demaille 0fcabc77 2001-01-29T17:36:44 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a .PHONY target. * automake.in (handle_texinfo, handle_man_pages, handle_multilib) (handle_etags, handle_subdirs): Don't push into @phony.
Akim Demaille f2808296 2001-01-29T09:41:43 * automake.in (handle_phony): Sort. (file_contents_with_transform): Catch `.PHONY:'. (handle_tests): Instead dumping the hard coded target check-TESTS and registering its .PHONYsm, get them from... * check.am: here, new file.
Akim Demaille a44e29eb 2001-01-29T09:27:18 * automake.in (handle_tags): Use &transform. (am_error, am_line_error, am_conf_error, read_am_file): Use directly arrays in strings, no need for &join. Require Perl 5. * Makefile.am (maintainer-check): Use grep -w when looking for words.
Akim Demaille 4ea6c12e 2001-01-16T11:15:21 Let Automake support `configure.ac'. * automake.in: In the comments, prefer `configure.ac' to `configure.in'. When using &am_conf_error, don't repeat `in configure.in', since the function already reports it. When referring to `configure.in' use `$configure_ac' instead. (configure_ac): New global variable. (scan_configure, scan_one_configure_file): Rename as... (scan_autoconf_files, scan_one_autoconf_file): this. (scan_autoconf_files): Compute $configure_ac. (transform): New function. (handle_configure): Use it to transform CONFIGURE_AC in `remake.am' and in `remake-hdr.am'. (common_files): Also consider `configure.ac'. Use consistently single quotes. * aclocal.in (configure_ac): New variable. Use it. * texi-vers.am: Depend on CONFIGURE_AC not configure.in. * remake.am: Likewise. * remake-hdr.am: Likewise.
Tom Tromey f9ffd677 2000-12-23T20:26:10 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for distclean and maintainer-clean. * automake.texi (Top level): Document use of DIST_SUBDIRS.
Tom Tromey e9895994 2000-12-22T06:05:51 * automake.texi (Tags): Document GTAGS target. * tags.am (GTAGS): New target.
Tom Tromey 9a65b8d6 2000-12-21T06:07:14 2000-12-20 Marc Espie <espie@openbsd.org> * automake.in (handle_texinfo): Make path of $vtexi explicit in dependency. * texi-vers.am: Likewise.
Akim Demaille a2c34841 2000-10-16T09:01:36 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements. * automake.in, automake.texi: Likewise. * clean-kr.am, clean.am: Likewise. * comp-vars.am: Likewise. * compile, compile.am: Likewise. * data-clean.am: Likewise. * data.am: Likewise. * dejagnu.am: Likewise. * depcomp: Likewise. * depend.am, depend2.am: Likewise. * dist-vars.am, dist.am: Likewise. * elisp-comp: Likewise. * footer.am: Likewise. * header-vars.am, header.am: Likewise. * java-clean.am java.am: Likewise. * kr-extra.am: Likewise. * library.am: Likewise. * libs-clean.am, libs.am: Likewise. * libtool.am: Likewise. * lisp-clean.am lisp.am: Likewise. * ltlib-clean.am ltlib.am: Likewise. * ltlibrary.am: Likewise. * m4/Makefile.in: Likewise. * m4/strtod.m4: Likewise. * mans-vars.am, mans.am: Likewise. * mdate-sh: Likewise. * missing: Likewise. * multilib.am: Likewise. * program.am: Likewise. * progs-clean.am, progs.am: Likewise. * python-clean.am, python.am: Likewise. * remake-hdr.am, remake.am: Likewise. * scripts.am: Likewise. * subdirs.am: Likewise. * tags-clean.am, tags.am: Likewise. * texi-vers.am: Likewise. * texinfos.am: Likewise. * ylwrap: Likewise.
Tom Tromey a31d9a2e 2000-08-26T20:37:13 * subdirs.am (maintainer-clean-recursive): Always run clean rules in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
Tom Tromey 651739d4 2000-08-04T17:32:34 Idea from Nicolas Thiery: * automake.texi (Tests): Document DEJATOOL as a list. * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL). (check-DEJAGNU): Run runtest in a loop.
Tom Tromey 4dcad717 2000-07-28T17:11:11 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR). From Bruno Haible.
Tom Tromey a80b7490 2000-06-19T22:30:34 2000-06-19 Paolo Bonzini <bonzini@gnu.org> * texi-vers.am: define UPDATED-MONTH variable (for an example, see GNU make's manual)
Tom Tromey 90837ca1 2000-04-05T21:12:43 * header-vars.am (DESTDIR): Commented out definition.
Tom Tromey dd16cf36 2000-03-19T23:43:57 * depend2.am (@EXT@.o): Look for the source file in srcdir as well as the current directory. (@EXT@.lo): Likewise.
Tom Tromey e7b41cd7 2000-03-19T19:46:34 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
Jim Meyering 55d22e96 2000-03-04T08:56:13 (dist-info): Don't use `ln' (which was just a space optimization anyway) to populate $(distdir). Otherwise, the dist rules that change permissions would end up affecting the master sources.
Tom Tromey 31299c75 2000-01-06T16:59:00 * header-vars.am (@SET_MAKE@): Added. * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki Kasahara.
Tom Tromey 7e326d1c 1999-12-19T04:09:23 Partial fix for PR automake/40: * lisp.am (install-@DIR@LISP): Handle nobase_ case. (uninstall-@DIR@LISP): Likewise. * header.am (install-@DIR@HEADERS): Handle nobase_ case. (uninstall-@DIR@HEADERS): Likewise. * data.am (install-@DIR@DATA): Handle nobase_ case. (uninstall-@DIR@DATA): Likewise. * automake.in (am_primary_prefixes): Recognize `nobase_' prefix. (am_install_var): Recognize and handle `nobase_' prefix.
Tom Tromey e13f3ed4 1999-12-14T04:10:36 * depend2.am: Removed erroneous comment. * automake.texi (Program variables): Document nostdinc. (Options): Likewise. * automake.in (get_object_extension): Respect nostdinc option. (handle_options): Recognize nostdinc. * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole substitution. * automake.in (read_am_file): Allow conditional includes. Fixes test condincl.test.
Tom Tromey 15b9247d 1999-12-13T21:52:11 * depcomp: Handle case on SGI when libtool is `yes'. * depend2.am (@EXT@.o): Set libtool. (@EXT@.lo): Likewise. (@EXT@.obj): Likewise.
Tom Tromey ebdbd5b3 1999-11-22T19:22:02 Jumbo patch: First cut at Python support (untested). A few miscellaneous bug fixes.
Tom Tromey 9ae48df8 1999-11-21T21:35:41 Merged from user-dep-gen-branch.
Tom Tromey 6a60072d 1999-11-13T00:15:58 * Makefile.am (path-check): Make sure distdir is writeable before removing it. * automake.in (handle_texinfo): Added `cm' and `ov' extensions. (handle_dist_worker): Make sure distdir is writeable before removing it. (initialize_global_constants [$dist_trailer]): Make sure distdir is writeable before removing it. * dist.am (distcheck): Make the new source tree read-only before compiling. Idea from Karl Berry.
Tom Tromey 15d13e5a 1999-11-08T01:29:13 * texinfos.am (uninstall-info): Use installed info file, not one from srcdir or builddir.
Tom Tromey ae12de54 1999-11-08T01:21:28 * clean.am (maintainer-clean-generic): Remove Makefile.in. From Jeff Bailey
Tom Tromey faff82ec 1999-11-08T00:24:00 Fix for PR automake/18: * automake.in (handle_dist): Add contents of dist.am to the output rules. * Makefile.am (amfiles): Added dist.am. * dist.am: New file. (distcheck): Added uninstall and distclean checks.
Tom Tromey 1905d6a8 1999-07-13T15:51:39 Work around losing `awk'. Report from Harlan Stenn. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK. * tags.am (ID, TAGS): Use $(AWK), not `awk'.
Tom Tromey 5d3c4759 1999-06-20T11:52:30 * Makefile.am (TAGS_FILES): New macro. (ETAGS_ARGS): Moved files into TAGS_FILES. (TAGS_DEPENDENCIES): Likewise. (ETAGS_ARGS): Removed. (TAGS_DEPENDENCIES): Removed duplicate definition. * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report from Ganesan Rajagopal. (TAGS): Likewise.
Alexandre Oliva 1d0e4c15 1999-06-06T21:50:01 * mans.am: Strip dirname from given filename.
Tom Tromey 40014836 1999-05-27T19:33:55 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to libtool.
Tom Tromey 39a6d589 1999-05-04T12:32:36 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR). * automake.in (handle_libraries): Recognize _AR variable.
Tom Tromey 34ca5374 1999-04-30T22:19:03 * automake.in (finish_languages): Always use `-o $@' with libtool. Define ltcompile and ltlink at outermost scope in function. * libtool.am (.c.lo): Removed.
Tom Tromey 546c5271 1999-04-27T13:57:07 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'. Minor rewrite for clarity. (check_canonical_spelling): Prefer `$1' over `\1'. * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always use `-o $@'. (@LTOBJ@): Likewise. * automake.in (handle_single_transform_list): Don't print rule if doing dependency tracking and the file's language supports it. (initialize_per_input): Initialize lang_specific_files. (add_depend2): New function. (handle_dependencies): Use it. * automake.in (lang_ppf77_finish): Use lang_f77_finish. ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed to `PPF77COMPILE' to allow use of f77 and ppf77 in the same directory. (lang_ratfor_finish): Use lang_f77_finish. * compile.am (NOTDEPEND.c.o): Removed. (OBJEXT.c.obj): Likewise. * automake.in: Added `flags' attribute to all relevant languages. (handle_single_transform_list): Handle per-derived-object flags. Changed interface and all callers. (handle_built_sources): Don't call handle_single_transform_list. Added `compile' and `compiler-name' attribute to all relevant languages. (finish_languages): Define compiler variables here. (lang_cxx_finish): Don't call define_compiler_variable. Don't define flag variable or .o rules. Don't add to @suffixes. (lang_f77_finish): Likewise. (lang_ppf77_finish): Likewise. (lang_objc_finish): Likewise. (lang_java_finish): Likewise. (finish_languages): Define flag variable here. Added `output-arg' attribute to all relevant languages. (finish_languages): Define `.o' rules here. (finish_languages): Put extension on @suffixes. (get_object_extension): Don't transform NOTDEPEND or MINUSO.
Alexandre Oliva ee6e5ed7 1999-04-27T01:56:48 * texinfos.am (uninstall-info): Look for info file in srcdir, just like in install-info-am. Reported by Tudor Hulubei <tudor@cs.unh.edu>
Tom Tromey aed7b557 1999-04-20T16:27:45 1999-04-20 Brian Ford <ford@vss.fsi.com> * scripts.am: Change else if's to elif.
Alexandre Oliva fd656731 1999-04-17T19:44:53 * automake.in: Create stamps for headers in appropriate directories, even if the input file lives in a different place. * remake-hdr.am: Likewise.
Tom Tromey aecaf575 1999-04-16T14:02:20 From Brian Ford: * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS): Invoke `sed' only once per program. * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS): Invoke `sed' only once per program.
Tom Tromey 17317431 1999-04-11T20:10:14 * automake.in: Only register `asm' once. (lang_asm_finish): Put assembly suffixes on @suffixes. * libtool.am (.s.lo): Removed. (.S.lo): Likewise. * automake.in (lang_asm_finish): Handle libtool. * libtool.am (.c.o): Always pass -c to libtool. * automake.in (lang_yacc_rewrite): Handle sources in subdirs. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise.
Tom Tromey eb72aeea 1999-04-11T18:40:47 Assembly code no longer included by default: * compile.am (.s.o): Removed. (.S.o): Likewise. * automake.in: Register `asm' language. (lang_asm_finish): Generate suffix rules for assembly. (get_object_extension): Don't add `.s' or `.S' to suffix list.
Tom Tromey a3c0ce6a 1999-04-11T13:12:05 * automake.in (get_object_extension): Substitute @MINUSO@ when including compile.am. * compile.am (.c.o): Added @MINUSO@. (.c.obj): Likewise.
Tom Tromey 88b59597 1999-04-11T13:02:43 First cut at allowing objects in subdirectories: * m4/Makefile.am (m4data_DATA): Added minuso.m4. * Makefile.am (dist_script_DATA): Added compile. * m4/minuso.m4: New file. * automake.in (initialize_global_constants): Added compile to common_files. (seen_cc_c_o): New global. (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen. (handle_options): Recognize `subdir-objects' option. (lang_c_rewrite): Added directory argument. (lang_yacc_rewrite): Likewise. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (handle_single_transform_list): Pass directory to _rewrite function. Generate dependencies for dirstamp files for each .o; it is just the rules we want to create once. (lang_c_rewrite): Handle `subdir-objects' option. (lang_c_rewrite): Require `compile' program. * compile: New file.
Tom Tromey aa185593 1999-04-10T22:51:51 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'. (%.lo): Likewise.
Alexandre Oliva 6db55adb 1999-04-10T01:41:19 * remake-hdr.am: Create the stamp file before the header file, and just rename it after, so that the timestamps will be correct. Reported by Marc Horowitz <marc@mit.edu>
Tom Tromey 3fefbbcf 1999-04-09T23:15:00 * Makefile.am (EXTRA_DIST): New macro. * ChangeLog.1996, ChangeLog.1998: New files.
Tom Tromey 6921e816 1999-03-27T00:28:05 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate. (uninstall-@DIR@SCRIPTS): Likewise. * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate. (uninstall-@DIR@PROGRAMS): Likewise. * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate. (uninstall-@DIR@LTLIBRARIES): Likewise. * lisp.am (install-@DIR@LISP): Use NDIR when appropriate. (uninstall-@DIR@LISP): Likewise. * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate. (uninstall-@DIR@LIBRARIES): Likewise. * java.am (install-@DIR@JAVA): Use NDIR when appropriate. (uninstall-@DIR@JAVA): Likewise. * header.am (install-@DIR@HEADERS): Use NDIR when appropriate. (uninstall-@DIR@HEADERS): Likewise. * data.am (install-@DIR@DATA): Use NDIR when appropriate. (uninstall-@DIR@DATA): Likewise. * Makefile.in: Rebuilt. * Makefile.am (dist_pkgdata_DATA): Renamed. (EXTRA_DIST): Removed. (install-data-hook): Added POST_INSTALL; print commands as they are run; respect DESTDIR. * dist-vars.am (DISTFILES): Removed $(HEADERS). * automake.in (am_install_var): Accept `-candist' and `-defaultdist' options. Handle `dist_' and `nodist_' prefixes. (am_primary_prefixes): Added can_dist argument. Recognize `dist_' and `nodist_' prefixes. (handle_scripts): Pass -candist to am_install_var. (handle_data): Pass -defaultdist to am_install_var. (handle_headers): Likewise. (handle_emacs_lisp): Pass -candist to am_install_var. (handle_java): Pass -candist to am_install_var.
Tom Tromey af49c4fe 1999-03-26T22:34:03 * Makefile.in: Rebuilt. * Makefile.am: Updated to reflect removal of TAR subst. * automake.texi (Options): Document dist-bzip2. * automake.in (TAR): Removed global. (initialize_global_constants): Changed `dist' to use pipe with gzip; work with non-GNU tar. (handle_dist): Handle non-GNU tar. Don't define TAR. (initialize_global_constants): Added `dist-bzip2' entry. (handle_options): Recognize dist-bzip2 option. (handle_dist): Likewise. * configure: Rebuilt. * configure.in: Don't check for tar. * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute AMTARFLAGS.
Tom Tromey a85ba428 1999-03-26T21:57:32 * automake.in (am_install_var): Removed obsolete comment. * texinfos.am (uninstall-info): Don't print loop but instead print commands. Simplified pre-uninstall loop. * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but instead print commands. * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead print commands. * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but instead print commands. * lisp.am (install-@DIR@LISP): Strip subdir from file name. (uninstall-@DIR@LISP): Likewise. Also, don't print loop but instead print commands. * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead print commands. * java.am (uninstall-@DIR@JAVA): Don't print loop but instead print commands. * header.am (install-@DIR@HEADERS): Strip subdir from file name. (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but instead print commands. * data.am (install-@DIR@DATA): Strip subdir from file name. (uninstall-@DIR@DATA): Likewise. Also, don't print loop but instead print commands.
Tom Tromey 94eea578 1999-03-23T13:59:40 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple sed invocations. From Elrond. (uninstall-@DIR@PROGRAMS): Likewise.
Tom Tromey fc690f41 1999-03-11T22:31:07 From Ralf Corsepius. Fixes lex3.test. * automake.in (lang_yacc_finish): Include `.' in name pushed onto maintainer-clean list. (lang_lex_finish): Likewise.
Tom Tromey 243027ec 1999-02-02T09:51:58 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG. * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG. * header-vars.am (INSTALL_PROGRAM): Removed AM_INSTALL_PROGRAM_FLAGS. (INSTALL_STRIP_FLAG): New macro.
Tom Tromey 5f6de8b6 1999-01-14T20:27:44 * automake.in (handle_texinfo): Add `/' to end of $conf_dir. * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
Tom Tromey aa861d71 1999-01-14T17:54:37 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir. From Alexandre Oliva and Erez Zadok.
Tom Tromey 76c0e343 1999-01-11T13:46:49 * remake-hdr.am (@STAMP@): Reverted timestamp change. ($(srcdir)/@STAMP@.in): Likewise.
Tom Tromey 37139c92 1999-01-10T21:32:23 * Makefile.am (scriptdir): New macro. (script_DATA): Likewise. (install-data-hook): Use them. (EXTRA_DIST): Added script_DATA. (installcheck-local): Use script_DATA.
Tom Tromey 69798b3b 1999-01-10T21:19:25 Fixed minor dist bug
Tom Tromey f6dbd5be 1999-01-10T20:39:29 * automake.in (handle_texinfo): Set $conf_pat correctly when config_aux_dir not used. (handle_texinfo): Run maintainer-clean-aminfo rules in srcdir. From Erez Zadok. * texi-vers.am (maintainer-clean-@VTI@): Prefix file names with $(srcdir). From Erez Zadok. ($(srcdir)/stamp-@VTI@): Don't run mdate-sh from srcdir.
Tom Tromey 63bd39db 1999-01-10T18:38:52 1999-01-08 Thomas Tanner <tanner@gmx.de> * depend.am: remove the dependencies (.deps) in "make distclean", not "make maintainer-clean"
Tom Tromey 35850024 1999-01-10T18:37:08 * aclocal.in (write_aclocal): Updated copyright. (parse_arguments): Likewise. * automake.in (parse_arguments): Updated copyright. (initialize_global_constants): Likewise. * Makefile.am (pkgdata_DATA): Renamed from pkgdata_SCRIPTS. (install-data-hook): New hook. Report from Petter Reinholdtsen.
Tom Tromey 8421de36 1999-01-10T18:12:44 1999-01-10 Tom Tromey <tromey@cygnus.com> * remake-hdr.am: Provide `else' clause for each `if'. 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br> * remake-hdr.am: recover from removal of config headers, and try to get real timestamps, which is useful for CVS files
Tom Tromey dd97b9db 1999-01-06T12:41:34 * depend2.am (%.o): Use \012, not \n, to avoid losing `tr's. From Bill Currie. (%.lo): Likewise.
Tom Tromey 8ae21c4d 1998-12-22T12:14:05 * depend2.am: Don't assume backslash can't occur in the middle of filename; it loses on M$W
Tom Tromey 12dae131 1998-12-21T13:32:57 1998-12-21 Alexandre Oliva <oliva@dcc.unicamp.br> * depend2.am: don't use .p and .P for dependencies; it loses on case-insensitive filesystems. Reported by Henrik Frystyk Nielsen <frystyk@w3.org>
Tom Tromey 61f45418 1998-12-16T12:35:00 * tags.am (ID): Uniquify list of sources. Report from Jim Meyering.
Tom Tromey de4e0888 1998-12-11T00:32:34 Bug report from Paul D. Smith: * automake.in (handle_merge_targets): Set AM_INSTALL_PROGRAM_FLAGS, not INSTALL_PROGRAM. * header-vars.am (INSTALL_PROGRAM): Added AM_INSTALL_PROGRAM_FLAGS.
Tom Tromey 239620cc 1998-12-02T12:16:32 * Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir.
Tom Tromey b5a0bd5c 1998-10-28T00:47:35 * Makefile.am (maintainer-check): Changed code to be acceptable to bash 2.01.1. * automake.in (do_one_clean_target): Special-case config.status. Report from Jeff Garzik.
Tom Tromey b66bff56 1998-10-16T10:21:40 * Makefile.am (SUBDIRS): Added `.' again.
Tom Tromey c5211595 1998-10-16T10:16:25 Updated manual to refect noinst_LTLIBRARIES. Remembered to save buffer with last Makefile.am change.
Tom Tromey 8ca52217 1998-10-16T10:09:33 * Makefile.am (EXTRA_DIST): Removed automake.spec.in. From Matthew D. Langston. (info_TEXINFOS): Removed am-f77.texi. * automake.in (handle_ltlibraries): Allow `noinst' LTLIBRARIES. These are libtool convenience libraries.
Tom Tromey 6106bdfa 1998-10-13T18:57:21 F77 additions from Matthew D Langston * m4/f77.m4: New file. * m4/Makefile.am (m4data_DATA): Added f77.m4. * automake.in (resolve_linker): Put the Fortran 77 linker where it needs to be. * automake.in (lang_f77_finish): Add support for Fortran 77. * automake.in (f77_extensions): New helper function for function `lang_f77_finish'. * automake.in (lang_f77_rewrite): Change to return success. * automake.in (scan_one_configure_file): Add test for the Fortran 77 compiler. * automake.in (finish_languages): Changed tests for "C++ only" to "C++ and/or Fortran 77 only", and renamed `all_cxx' to `non_c'. * automake.in: Registered the ppf77 language (`.F' extension) for preprocessed Fortran 77. * automake.in: Registered the ratfor language (`.r' extension). * automake.in: Registered Fortran 77 header files with the "header language" (`.inc' extension). * automake.texi: Added several new index entries. * automake.texi: - Add `@ovindex' (output variable index). - Merge `@defmac' (Autoconf macros) and `@ovindex' to the General Index. * automake.texi (Macros): - Changed the `@table @code' list of macros to `@defmac'. - Add `AC_PROG_FC' and `MDL_F77_LIBRARY_LDFLAGS' to the list. * automake.texi (C++): Change `@table' to `@vtable'. * automake.texi (Fortran 77): Add Fortran 77 documentation.
Tom Tromey 86552783 1998-10-11T13:07:31 Preliminary (completely untested) multilib support. * automake.texi (Macros): Document AM_ENABLE_MULTILIB. * m4/Makefile.am (m4data_DATA): Added multi.m4. * Makefile.am (amfiles): Added multilib.am. * automake.in (seen_multilib): New global. (scan_one_configure_file): Recognize AM_ENABLE_MULTILIB. (generate_makefile): Call handle_multilib. (handle_multilib): New function. * multilib.am: New file. * m4/multi.m4: New file.
Tom Tromey 53c82a94 1998-10-05T23:11:13 * depend2.am (%.lo): Handle case where compiler does not put space before ":". From Raja R Harinath. * automake.in (scan_one_configure_file): AC_CONFIG_HEADER is not obsolete; it simply isn't preferred with automake. (scan_one_configure_file): Likewise for AC_DECL_YYTEXT and AC_PROG_LEX. * automake.in (am_line_error): Handle case where variable defined in configure.in. Fixes test badline.test. (%configure_vars): Redefined meaning of values. (scan_one_configure_file): Set $configure_vars values appropriately.
Tom Tromey dee4d56f 1998-10-03T18:26:55 * automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE conditional. (handle_configure): Likewise. (read_am_file): Likewise. (file_contents_with_transform): Likewise. (scan_one_configure_file): Recognize that AM_MAINTAINER_MODE defines a conditional. * automake.texi (Optional): Document new AM_MAINTAINER_MODE. * texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE conditional. (maintainer-clean-@VTI@): Likewise. * remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE conditional. * remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at MAINTAINER_MODE conditional. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE conditional.
Tom Tromey aff7619c 1998-10-03T11:28:01 Bug fix from Jim Blandy: * depend2.am (%.lo): When editing the dependency file to add the .lo file to the targets, allow for whitespace between the end of the filename and the colon. Some compilers (notably the Cygnus release of GCC 2.7-97r1) put space there: "alist.o : ..."
Tom Tromey 3185f495 1998-10-03T11:19:12 * automake.in (handle_configure): Handle case where there is no Makefile in the config header directory. Fixes test config.test.
Tom Tromey 5949ff93 1998-10-01T21:53:55 * depend2.am (%.o): Append sed results to .P file in this case too. From Raja R Harinath.
Tom Tromey eb7c20a1 1998-10-01T01:36:35 * depend2.am: Don't bother trying to delete source file from list.
Tom Tromey f00e3de5 1998-10-01T01:31:07 * depend2.am (%.o): Handle deleted header file problem. (%.lo): Likewise.
Tom Tromey 72c1e14a 1998-10-01T00:23:45 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.
Tom Tromey 27b4dd2d 1998-09-29T22:48:00 A couple bug fixes from Andreas Schwab: * texi-vers.am: Use the correct target names. Fix generation of stamp file. * automake.in (handle_tests): In commands generating site.exp copy the old contents from site.exp, not site.bak, which does not exist.
Tom Tromey 0ac22bb6 1998-09-28T01:51:16 `.' in SUBDIRS changes order of builds: * Makefile.am (SUBDIRS): Added `.'. Put tests last. * tags.am (TAGS): Don't look for TAGS file in `.'. * automake.texi (Top level): Document SUBDIRS change. * automake.in (handle_installdirs): Create separate installdirs-am target. (handle_merge_targets): Don't put all-am onto @all. Fixed error message. Correctly handle install-info. Give error if install-info-local inappropriately defined. Don't special-case install-data, install-exec, install, uninstall, or all. (handle_subdirs): Don't push `-recursive' target names onto corresponding lists. (do_one_merge_target): Always define `-am' form of rule, and point ordinary form to `-am' or `-recursive' as appropriate. Special-case `all'. (do_check_merge_target): Generate check-am target. (handle_dist_worker): Use target_defined. (handle_dist): Likewise. (handle_merge_targets): Likewise. (do_one_merge_target): Likewise. (do_check_merge_target): Likewise. (do_one_clean_target): Likewise. (initialize_per_input): Initialize $all_target. (do_one_clean_target): Always generate -am form of rule; other changes for new SUBDIRS change. (handle_clean): Always generate clean-am form of rule. (handle_tags): Only build subdir if not `.'. (handle_dist_worker): Skip `.' directory. * subdirs.am: Allow `.' to be specified in SUBDIRS.
Tom Tromey c7266e91 1998-09-26T18:32:31 Test suite updates for the @SHELL@ change: * exsource.test: Set SHELL on `make' command line. * ansi.test: Set SHELL on `make' command line. * texinfo.test: Set SHELL on `make' command line. * insh2.test: Set SHELL on `make' command line. * empty.test: Rewrite @SHELL@ to /bin/sh.
Tom Tromey eb15229c 1998-09-26T15:36:49 Sat Sep 26 16:31:29 1998 Tom Tromey <tromey@cygnus.com> * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA).
Tom Tromey 38113a0b 1998-08-11T18:52:49 typo fix in clean.am
Tom Tromey b5b61792 1998-07-17T17:22:43 AM_MAKEFLAGS patch from Ian
Tom Tromey 41b60e1c 1998-07-16T22:26:53 CONFIG_STATUS_DEPENDENCIES addition from Ian