automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, experimental/subdir-objects


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/subdir-objects-work, created. v1.13.1d-222-gce87d43
Date: Mon, 13 May 2013 22:02:53 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=ce87d435c779b9416acd3b916dd90168c16cb0d8

The branch, experimental/subdir-objects-work has been created
        at  ce87d435c779b9416acd3b916dd90168c16cb0d8 (commit)

- Log -----------------------------------------------------------------
commit ce87d435c779b9416acd3b916dd90168c16cb0d8
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 21:52:18 2013 +0100

    depend: reduce code duplication, de-uglify make verbose output
    
    Verbose output from compilation recipes had been made more messy by
    the previous "simplifying" commit XXX.  With this patch, not only we
    reduce some code duplication, but also improve that output again, for
    the joy of users who dislike silent-rules :-)
    
    * lib/am/depend2.am: Use the new '%XSOURCE%' transform, instead of
    copying and pasting the idiom for VPATH rewrite emulation over and
    over.  Fix some indentation and line-wrapping issues while at it.
    * bin/automake.in (handle_languages): Implement the new transform.
    * t/silent-nested-vars.sh: Adjust to avoid spurious failures.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 0d75f2e6ccfcae298c92e1137e26d83245d10166
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 21:42:28 2013 +0100

    depend: prefer $(...) over `...` in Cygwin-specific recipes
    
    On Cygwin, we can happily assume only POSIX-conforming shells exist.
    This commit is useless by itself, but is useful as a preparatory
    refactoring in view of a future change.
    
    * lib/am/depend2.am: In recipes for producing '.obj' objects, use
    the POSIX form $(...) for command substitution, rather than the
    classic Bourne one `...`.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 7518dbd94b9d5f5eacccd97efb4ae674753548da
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 21:31:57 2013 +0100

    depend: reduce code duplication
    
    Just a simplification; no semantic change is intended.
    
    * lib/am/depend2.am (am__set_depbase): New.  Use it in all the three
    flavours of recipes (.o, .obj, .lo), instead of duplicating its code.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 3da06e828c5885da37cb13c6c2a17eb3c263389c
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 20:47:57 2013 +0100

    depend: a preparatory refactoring
    
    This is just a preparatory change in view of a future refactoring.
    No semantic change is intended.
    
    * lib/am/depend2.am: Adjust; for example, using '$@' in all recipes
    to indicate the output file (rather than recipe-specific transforms
    like '%OBJ%' and '%LTOBJ%'), and not assuming to know the exact
    file extension of the output file (e.g., whether it's '.o' or '.lo').
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit da6d96317da01af0422ef1cab2026c6713f02fb4
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 18:04:33 2013 +0100

    depend: refactor and remove code duplication
    
    * lib/am/depend2.am: Here.  The obsolescent comments removed from this
    same file in commit 'v1.13.1-42-g8f06bfb' of 2012-01-09, "depend2.am: fix
    comments on verbosity of compilation rules", gave the rationale for why
    that code duplication was there in the first place (rationale that, like
    those comments, has been obsolete by the silent-rules introduction).
    * bin/automake.in: Given the refactoring in 'depend2.am', there is no
    longer need to add extra trailing whitespace to the entries of the
    '%sourceflags' hash (which are used for the '%SOURCEFLAG%' transform
    when 'depend2.am' is processed.
    * t/fort2.sh: Adjust to avoid spurious failures.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit e74715a53d5bacdbc5219dc17c8dc0353bda0380
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 19:54:13 2013 +0100

    Automake::Language: drop unused fields 'compile_flag' and 'output_flag'
    
    They are unused after the recent flurry of changes.  This is just a
    simplification; no semantic change is intended.
    
    * lib/Automake/Language.pm (Class::Struct): Remove unused fields here.
    * bin/automake.in: And here, in all the 'register_language()' invocations.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit a0ce675a84efa2f773ae4db12f58fbac5cad84fb
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 19:48:14 2013 +0100

    depend: assume '-c' compiler flag always means to produce object files
    
    Rather than fully-fledged executables.  This is the case for all the
    compilers of all languages supported by Automake.
    
    This is just a simplification; no semantic changes are intended.
    
    * bin/automake.in (handle_languages): Drop transform '%-c%'.
    * lib/am/depend2.am: Adjust to just assume the '%-c%' transform
    expands to "-c".
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 86fa61b566a9b39ca5757eb5081241a5b83937a1
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jan 10 19:38:58 2013 +0100

    depend: assume we can always pass '-o' to the C compiler
    
    This is the case after the change in commit v1.13.1-56-g34001a9 of
    2013-01-09 (compile: use 'compile' script when "-c -o" is used with
    losing compilers).
    
    This is just a simplification; no semantic changes are intended.
    
    * bin/automake.in (handle_languages): Drop transform '%-o%', and
    definitions of '$output_flag'.
    * lib/am/depend2.am: Adjust to just assume the '?-o?' transform is
    true, and the '%-o%' transform expands to "-o".
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit ab5491feec71db69950759a119e7349b770eb9ec
Author: Stefano Lattarini <address@hidden>
Date:   Tue Jan 8 14:04:00 2013 +0100

    cleanup: having subdir-objects mandatory allow us some simplifications
    
    Few minor cleanups made possible by earlier changes, plus other minor
    cleanups triggered in cascade.  No semantic change is intended.
    
    This is a follow-up on previous commit 'v1.13.1d-214-g3ad07d2', and
    an adjusted backport of Automake-NG commit 'v1.12.1-315-gc97d41b'
    of 2012-06-08 ([ng] cleanup: after enabling of subdir-objects
    unconditionally).
    
    * bin/automake.in (LANG_IGNORE, LANG_SUBDIR): Remove.
    (handle_languages): Drop the '%DEPBASE%' transform when processing
    the '$rule_file'.
    (register_language ('name' => 'vala', ...)): Add '.vapi' to the entry
    'extensions', and simplify the entry 'output_extensions' to point to
    a dummy subroutine (since it wasn't really used anyway).
    (handle_single_transform): No longer expect the 'lang_*_rewrite'
    subroutines to return a 'LANG_*' constant, but only a transformed
    extension, if required.  To decide whether further processing of the
    source file should be stopped, rely on a new set of 'lang_*_ignore'
    subroutines, defaulting to a subroutine that returns false.
    Accordingly, don't special case the handling of '.vapi' files anymore,
    instead rely on ...
    (lang_vala_ignore, lang_header_ignore): ... these new subroutines to
    avoid extra processing of C/C++ headers and Vala '.vapi' headers.
    (lang_java_rewrite): Remove.
    Remove an outdated comment.
    * lib/am/depend2.am: Partial rewrite to reduce code duplication and
    drop use of the '%DEPBASE%' transform.
    * t/compile_f_c_cxx.sh: Adjust.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit e96fd6b67425d8946088af674b4c286a714c7609
Author: Stefano Lattarini <address@hidden>
Date:   Wed Jun 6 10:27:46 2012 +0200

    subdir-objects: enable unconditionally
    
    See automake bug#13378.
    
    The fact that Automake-generated Makefiles places compiled object files
    in the current directory by default, also when the corresponding source
    file is in a subdirectory, is basically an historical accident, due to
    the fact that the 'subdir-objects' option had only been introduced in
    April 1999, starting with commit 'user-dep-gen-branchpoint-56-g88b5959',
    and never made the default, likely to avoid backwards-compatibility
    issues.
    
    Since we believe the behaviour enabled by the 'subdir-objects' is the
    only natural and most useful one, we make it the only only one available,
    simplifying the Automake implementation and APIs a little in the process.
    
    This change is basically an adjusted backport of Automake-NG commit
    'v1.12.1-313-g14fe163' of 2012-06-07, "[ng] subdir-objects: enable
    unconditionally".
    
    * NEWS: Update.
    * doc/automake.texi (Program and Library Variables): The output
    object files are no longer placed in the current directory by
    default, but rather in the same directory of the source file.
    (LIBOBJS): Now the $(LIBOBJS) and $(ALLOCA) variables can also
    be used outside of the directory where their sources lie.
    (List of Automake options): No longer document 'subdir-objects'
    option.
    Other related minor adjustments.
    * bin/automake.in (LANG_PROCESS): Remove, it's no longer needed.
    (handle_languages): Don't test whether option 'subdir-objects'
    is set (just assume it is), and do not use the '%SUBDIROBJ%'
    transform when processing '.am' fragments.
    (lang_sub_obj): Delete, it would just return 'LANG_SUBDIR'
    unconditionally now.
    (lang_lex_rewrite): Adjust.  Don't test whether the option
    'subdir-objects' is set (just assume it is).
    (lang_yacc_rewrite): Likewise.
    (handle_single_transform): Likewise.  Remove an obsolete
    comment.  Add a proper "FIXME" comments about a fragment
    of code that might have become dead code now.
    (handle_LIBOBJS_or_ALLOCA): Simplify assuming that the option
    'subdir-objects' is always set.  Accordingly, there's no need
    to warn anymore if '$(LIBOBJS)' or '$(ALLOCA)' are used outside
    the '$config_libobj_dir' directory (as specified by autoconf
    macro 'AC_CONFIG_LIBOBJ_DIR').
    * lib/am/depend2.am: Assume the '?SUBDIROBJ?' Automake time
    conditional is always true, and remove its uses accordingly.
    * t/compile_f_c_cxx.sh: Adjust.
    * t/cscope.tap: Likewise.
    * t/depcomp8a.sh: Likewise.
    * t/depcomp8b.sh: Likewise.
    * t/libtool3.sh: Likewise.
    * t/ltlibsrc.sh: Likewise.
    * t/pr401.sh: Likewise.
    * t/pr401b.sh: Likewise.
    * t/pr401c.sh: Likewise.
    * t/subobj.sh: Likewise.
    * t/lex-line.sh: Likewise.
    * t/yacc-line.sh: Likewise.
    * t/yacc5.sh: Likewise.
    * t/vala-libs.sh: Likewise.
    * t/fort4.sh: Likewise, and extend a bit.
    * t/fort5.sh: Likewise.
    * t/gcj.sh: Likewise.
    * t/subpkg.sh: Likewise.
    * t/subpkg-yacc.sh: Likewise.
    * t/xsource.sh: Likewise.
    * t/libobj20a.sh: Remove as obsolete.
    * t/libobj20b.sh: Adjust heading comments.
    * t/libobj20c.sh: Likewise.
    * t/subobj4.sh: Remove as obsolete.
    * t/sourcefile-in-subdir.sh: Likewise.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]