lib/am/depend2.am


Log

Author Commit Date CI Message
Alexandre Duret-Lutz b89b34e5 2002-09-08T13:40:05 2002-09-08 Andreas Buening <andreas.buening@nexgo.de> Fix for automake/334: * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W). * m4/init.m4: New make variable CYGPATH_W.
Raja R Harinath 81f28359 2002-08-24T03:32:12 (%EXT%.lo): Fix typo. Rename the file that was generated by gcc -MF.
Tom Tromey 647d49ca 2002-08-15T17:32:12 2002-08-15 Art Haas <ahaas@neosoft.com> * lib/am/depend2.am: Use correct name for dependency file in libtool fastdep case.
Tom Tromey 7c28e462 2002-08-14T16:21:00 2002-08-14 Art Haas <ahaas@neosoft.com> * lib/am/depend2.am: Added missing `;'.
Tom Tromey 4d6b294f 2002-07-10T05:33:31 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
Tom Tromey ff978a7a 2002-07-10T04:41:55 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE% before passing to cygpath. Partial fix for PR automake/334.
Tom Tromey 285aebe9 2002-07-07T22:38:46 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler> conditional. * automake.in (handle_languages): Compute FASTDEP. * lib/am/depend2.am: Added %FASTDEP% mode.
Alexandre Duret-Lutz 52205f5e 2002-03-26T09:24:53 Fix for PR automake/310: * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE% so it never appears as a plain word.
Tom Tromey d35c37e9 2002-01-20T21:30:21 For PR automake/224: * tests/Makefile.am (TESTS): Added pr224.test. * tests/pr224.test: New file. * lib/depcomp: Fixed computation of depfile. * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR). * automake.in (handle_single_transform_list): Only reject `..' component for Java. Put dependencies in directory near object. (handle_languages): Set DEPBASE. Handle de-ansi-fication.
Alexandre Duret-Lutz f391cff9 2001-11-16T10:25:58 At every place where an "$extension" is used, include the leading dot in the extension, don't hardcode it when building the filename. That will make any support for a dot-less extension easier to add. * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in backref groups. ("main"): Prepend a '.' to the supported extensions of all languages (e.g. 'c' becomes '.c'). (handle_languages, handle_single_transform_list, handle_lib_objects_cond, handle_headers, derive_suffix, rule_define): Do not add a dot before extensions, and include dots in matching groups. * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ... (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these. * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ... (%EXT%%DERIVED-EXT%): ... this. * lib/am/yacc.am: Likewise.
Akim Demaille 8a7cf404 2001-05-14T09:39:24 Typo.
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.
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 e71635c7 2001-04-27T12:55:48 * automake.in (&lang_extensions): Remove. (&add_depend2, &saw_sources_p): Adjust. * depend2.am: `%EXT%' no longer includes the dot.
Akim Demaille 8c160048 2001-04-11T17:29:06 * depend2.am: Fix the `if' condition for Libtool. Reported by Robert Boehne.
Akim Demaille 5871219c 2001-04-09T14:50:53 Use AM_CONDITIONAL and if/endif for AMDEP. * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP. * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading to a configure time if/endif), or to `FALSE' (static removal of the code). (&handle_dependencies): Adjust to use `AMDEP_TRUE'. * depend2.am: Use if/endif. Adjust the 101 tests that use dependencies so that they properly invoke aclocal before automake. They need to `see' `AM_CONDITIONAL([AMDEP], ...)'.
Akim Demaille fc0250b3 2001-04-09T09:03:11 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so that it does not get noticed twice by automake, which now complains for multiple definitions. * tests/vartar.test: s/INSTALL/install/g, automake now complains because we defined INSTALL.
Akim Demaille 65e17bce 2001-03-05T15:03:00 If OBJEXT and EXEEXT are not set, provide a default value, and use them unconditionally. * automake.in (&generate_makefile): Provide default values for EXEEXT and OBJEXT. (&get_object_extension, &finish_languages) (&handle_single_transform_list, &handle_programs, &add_depend2) (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with them, they are defined. * compile.am, depend2.am, program.am, progs.am: Likewise. * remake-hdr.am: Fix a typo. * tests/cxxo.test, tests/fo.test, tests/implicit.test, * tests/interp.test, tests/subobj.test, tests/subobj2.test, * tests/suffix2.test: Adjust.
Tom Tromey e1cca10d 2001-03-02T19:44:19 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de> * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
Akim Demaille 29ade8c7 2001-02-28T09:53:11 * automake.in (&add_depend2): Transform `GENERIC'. Get rid of the ad hoc transformation of `@EXT@.o:' which in addition was broken by the `@ -> %' patch. * depend2.am: Adjust to use ?GENERIC?.
Akim Demaille e8133bcf 2001-02-27T09:12:42 Distinguish automake substitutions from config.status substitutions. * automake.in (&add_depend2): Transform AMDEP. (&handle_clean): Transform MCFILES and MFILES. (&file_contents): Transform MAINTAINER_MODE. (&transform, &am_install_var): Use `%', not `@'. Adjust all the *.am files. * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. * depend2.am: Display the double dependency on both ?AMDEP? and @AMDEP@.
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.
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 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 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 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 9ae48df8 1999-11-21T21:35:41 Merged from user-dep-gen-branch.
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.
Tom Tromey aa185593 1999-04-10T22:51:51 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'. (%.lo): Likewise.
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 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 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 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 5de4fd84 1998-02-24T06:25:15 more dependency fixes
Tom Tromey cb1f004a 1998-02-23T23:49:39 dependency fixes from alexandre oliva
Tom Tromey 3984c200 1998-02-13T07:27:36 side-effect dependency tracking
Tom Tromey 7434bb5f 1997-06-01T19:54:31 various bug fixes
Tom Tromey d9f53bbd 1997-05-04T21:50:12 avoid Debian install-info handle sources in other directories
Tom Tromey 6cd61c69 1997-03-31T19:15:34 dependency fix
Tom Tromey 38bca416 1996-12-04T02:04:43 Fixes from Gord
Tom Tromey ee31c619 1996-11-15T06:54:00 Bug fixes
Tom Tromey 97b46070 1996-09-08T16:47:47 Added version-number checking
Tom Tromey 314dd9a1 1996-09-05T03:02:31 Rewrote dependency handling
Tom Tromey c98183d6 1996-08-11T07:42:38 Better C++, yacc, lex support