[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/suffix-simp
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/suffix-simplify, created. v1.12-287-gc733563 |
Date: |
Wed, 23 May 2012 21:41:29 +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=c733563de22e96a0c99b551a8552f61a9ccbe0e3
The branch, experimental/ng/suffix-simplify has been created
at c733563de22e96a0c99b551a8552f61a9ccbe0e3 (commit)
- Log -----------------------------------------------------------------
commit c733563de22e96a0c99b551a8552f61a9ccbe0e3
Author: Stefano Lattarini <address@hidden>
Date: Wed May 23 23:34:50 2012 +0200
coverage: mixing Fortran and C++
* t/cxx-fortran.sh: New, check that Automake can build and link a program
mixing C++ with Fortran 77 (the C++ 'main()' calling a Fortran function,
more precisely).
Signed-off-by: Stefano Lattarini <address@hidden>
commit 3c6e63a593d431ba00dbd17211556129d67279bc
Author: Stefano Lattarini <address@hidden>
Date: Wed May 23 23:12:47 2012 +0200
coverage: pure languages doesn't bring in C support
Automake, when dealing with a Makefile.am using a single "pure" language
(like C++ and Fortran), shouldn't output stuff related to C compilation.
Extend some tests checking this behaviour, since it is implemented by a
parts of the codebase we plan to touch soon.
* t/fnoc.sh, t/cxxnoc.sh: Removed, merged ...
* t/no-c.tap: ... in here. Checks for more languages (Java, modern
Fortran, Objective C and Objective C++).
* t/suffix3.sh: Enhance.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 9f5104216729bed405c4aa56af516b7f97a16d4b
Author: Stefano Lattarini <address@hidden>
Date: Wed May 23 13:31:15 2012 +0200
[ng] rule: get rid of $KNOWN_EXTENSIONS_PATTERN
With this change, we simplify the existing implementation a little, albeit
possibly losing some extra internal checks. The real reason of this change,
though, is that it is the early part of a greater simplification of the
support for suffix-based pattern rules (to be completed in future commits).
* automake.in (handle_single_transform): When breaking up the path of a
source file into (directory, base, extension) components, accept any
"dotted" extensions (e.g., '.c' and '.y', but also '.foo' and '._'), not
just the extensions once registered in $KNOWN_EXTENSIONS_PATTERN.
(register_language): Don't call '&accept_extensions' anymore on the
extensions of the language being processed (e.g., '.c' for the C language,
and '.cc', '.c++', '.cxx' and '.cpp' for the C++ language); that was done
only so that $KNOWN_EXTENSIONS_PATTERN could be properly updated, and that
variable is obsolete now.
* lib/Automake/Rule.pm (accept_extensions, $KNOWN_EXTENSIONS_PATTERN):
Delete these exported subroutine and variable, and their documentation.
(@EXPORT): Update not to export them anymore.
(@_known_extensions_list): Remove this internal variable.
(define): Don't call '&accept_extensions' anymore on the source suffix;
that was done only so that $KNOWN_EXTENSIONS_PATTERN could be properly
updated, and that variable is obsolete now.
Signed-off-by: Stefano Lattarini <address@hidden>
commit a83944ce9f1b602b924d532b01cd0ad3338bcee0
Author: Stefano Lattarini <address@hidden>
Date: Wed May 23 12:06:39 2012 +0200
[ng] coverage: custom pre-processes headers in prog_SOURCES
If we specify "foo.my-h" in a prog_SOURCES variable, and then define a
pattern rule to turn a '.my-h' file in a valid '.h' C header file, things
should work out smoothly and as expected (as long as we use BUILT_SOURCES
properly).
* t/suffix-hdr.sh: New test.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, experimental/ng/suffix-simplify, created. v1.12-287-gc733563,
Stefano Lattarini <=