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/ng/subdir-obje


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/ng/subdir-objects, created. v1.12.1-315-g4faefe3
Date: Thu, 07 Jun 2012 16:32:13 +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=4faefe366ceb81cdd50ad2e472da9e69cc866804

The branch, experimental/ng/subdir-objects has been created
        at  4faefe366ceb81cdd50ad2e472da9e69cc866804 (commit)

- Log -----------------------------------------------------------------
commit 4faefe366ceb81cdd50ad2e472da9e69cc866804
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jun 7 17:04:26 2012 +0200

    [ng] cleanup: after enabling of subdir-objects unconditionally
    
    Few minor cleanups made possible by earlier changes, plus other minor
    cleanups triggered in cascade.  No semantic change is intended.
    
    (LANG_IGNORE, LANG_SUBDIR): Remove.
    (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): Don't expect the 'lang_*_rewrite' subroutines
    to return a 'LANG_*' constant anymore, 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 relying on ...
    (lang_vala_ignore, lang_header_ignore): ... these new subroutines to avoid
    extra processing of C/C++ headers and Vala '.vapi' headers.
    (lang_c_rewrite): Adjust to explicitly return an undefined value.
    (lang_java_rewrite): Remove.
    Remove an outdated comment.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit df3b0944630a84a79c11654664ac666f1750302e
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jun 7 10:38:29 2012 +0200

    [ng] tests: remove explicit usages of the 'subdir-objects' option
    
    It is enabled unconditionally since the previous change.
    
    * Several tests: Adjust, extend, rework and simplify, as needed.
    * t/ax/depcomp-shuffle.sh, t/ax/depcomp.sh: Likewise.
    * t/subobj2.sh: Rename ...
    * t/subobj-cxx-grep.sh: ... to this, and adjust.
    * t/subobj.sh: Rename ...
    * t/subobj-c.sh: ... to this, and adjust.
    * t/subobj-cxx.sh: New test.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

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

    [ng] subdir-objects: enable unconditionally
    
    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.
    
    * NG-NEWS: Update.
    * doc/automake-ng.texi (Program and Library Variables): The output
    object files are not anymore 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
    be used outside of the directory where their sources lie.
    (List of Automake options): Don't document the 'subdir-objects'
    option anymore.
    Other related minor adjustments.
    * automake.in (LANG_PROCESS): Remove, it's not needed anymore.
    (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_c_rewrite): Adjust.  Don't test whether the option
    'subdir-objects' is set (just assume it is).
    (lang_yacc_rewrite): Likewise.
    (lang_lex_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 use accordingly.
    lib/am/depend2.am
    * t/ax/depcomp.sh: Adjust to the fact that 'subdir-objects' is
    always in effect.
    * t/ccnoco2.sh: Likewise.
    * t/cscope.tap: Likewise.
    * t/depcomp8a.sh: Likewise.
    * t/depcomp8b.sh: Likewise.
    * t/libtool3.sh: Likewise.
    * t/pr401.sh: Likewise.
    * t/pr401b.sh: Likewise.
    * t/pr401c.sh: Likewise.
    * t/lex-line.sh: Likewise.
    * t/yacc-line.sh: Likewise.
    * t/yacc5.sh: Likewise.
    * t/parallel-tests-suffix-prog.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/subdir3.sh: Remove as obsolete.
    * t/subobj4.sh: Likewise.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 63aa4a9f788b17558b9700729acc75c5ab11b435
Author: Stefano Lattarini <address@hidden>
Date:   Wed Jun 6 09:52:22 2012 +0200

    [ng] automake: don't define many identical 'lang_*_rewrite' subroutines
    
    This is just a refactoring prompted by future planned changes.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

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


hooks/post-receive
-- 
GNU Automake



reply via email to

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