lib/am/depend.am


Log

Author Commit Date CI Message
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 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 9ae48df8 1999-11-21T21:35:41 Merged from user-dep-gen-branch.
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 69c93a96 1998-02-23T20:39:44 --version fixup
Tom Tromey 3984c200 1998-02-13T07:27:36 side-effect dependency tracking
Tom Tromey 05382add 1998-02-13T02:45:47 made cxxnoc.test pass again
Tom Tromey 38cf778f 1997-09-28T21:56:39 dependency fix from ian
Tom Tromey 8551a9bd 1997-09-25T04:56:27 bug fix for bsd/ultrix
Tom Tromey c31d75b5 1997-06-23T01:24:16 BUILT_SOURCES cleanup
Tom Tromey 7434bb5f 1997-06-01T19:54:31 various bug fixes
Tom Tromey 377749eb 1997-05-29T05:49:04 .P depends on built sources again
Tom Tromey c353c2ba 1996-10-10T22:26:34 Various bug fixes
Tom Tromey 314dd9a1 1996-09-05T03:02:31 Rewrote dependency handling
Tom Tromey c8c6eea5 1996-08-17T17:32:41 Remove .deps files in maintainer-clean
Tom Tromey c98183d6 1996-08-11T07:42:38 Better C++, yacc, lex support
Tom Tromey c65d8f62 1996-08-05T07:05:36 Bug fix
Tom Tromey 64266293 1996-02-21T05:55:47 Bug fix
Tom Tromey 2c2c8a19 1996-02-15T03:06:25 Fixlet
Tom Tromey 6d682bdc 1996-02-08T02:11:41 Many bug fixes
Tom Tromey 929da330 1996-01-14T23:48:40 Fixes from Franc,ois
Tom Tromey 13e929e9 1996-01-12T06:48:19 Added AUTOMAKE_OPTIONS Fixes from Franc,ois
Tom Tromey e398ecd9 1996-01-06T20:10:14 Patches from Jim Meyering. Put copyright in all files
Tom Tromey 316fe9f8 1996-01-03T07:26:23 Various bug fixes
Tom Tromey 3aba9acd 1996-01-02T02:20:18 Many changes from Franc,ois
Tom Tromey 69fc150f 1995-12-31T20:46:00 Many changes from Jim and Franc,ois
Tom Tromey 351b535e 1995-12-12T18:53:58 Don't use ${
Tom Tromey bebad21f 1995-12-10T22:45:33 Many bug fixes
Tom Tromey e65d07e1 1995-12-09T00:30:03 Bug fixes. Changes for new naming scheme
Tom Tromey 9eb2ffa7 1995-12-05T06:16:51 Many cleanups. Added --strictness option.
Tom Tromey d090b70b 1995-12-03T06:12:34 Handle installcheck. Handle ## comments. Fixlets
Tom Tromey 7b4583f3 1995-11-29T17:09:37 Don't use touch.
Tom Tromey 60e8ed06 1995-11-26T06:44:53 Comment fix
Tom Tromey 2e964017 1995-11-22T06:59:37 Use ".P", not "empty.P", as placeholder.
Tom Tromey 1adea969 1995-11-22T04:26:46 Initial revision