]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'ng/subdir-objects' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 8 Jun 2012 10:36:21 +0000 (12:36 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 8 Jun 2012 10:36:21 +0000 (12:36 +0200)
* ng/subdir-objects:
  [ng] cleanup: after enabling of subdir-objects unconditionally
  [ng] tests: remove explicit usages of the 'subdir-objects' option
  [ng] subdir-objects: enable unconditionally
  [ng] automake: don't define many identical 'lang_*_rewrite' subroutines

1  2 
NG-NEWS

diff --cc NG-NEWS
index 8b2ad53372e0800787a4f2f1d173a38ea037d57f,b7ecce21c7a56794f1701b6387978a2eef090110..4d5431d9fe497f93192b7812a66b9bfcef17dca3
+++ b/NG-NEWS
@@@ -68,21 -68,19 +68,33 @@@ Warnings and diagnosti
    Makefiles rather than in the automake script, so that the latter has
    access to less context and information.
  
 +* Diagnostic about possible typos in '_SOURCES', '_LIBADD, '_LDFLAGS',
 +  '_LDADD' and '_DEPENDENCIES' variables is now done at make runtime
 +  rather than at automake runtime.  In case some (or all) such diagnostic
 +  is undesired, it can be silenced by adding the affected variables to
 +  the 'AM_VARTYPOS_WHITELIST' variable, as in:
 +
 +        bin_PROGRAMS = cp mv
 +        copy_LDADD = -lselinux -lrt -acl
 +        cp_LDADD = $(copy_LDADD)
 +        mv_LDADD = $(copy_LDADD)
 +        # Without this, the generated Makefile would complain that
 +        # no program or library has 'copy' as canonical name.
 +        AM_VARTYPOS_WHITELIST = copy_LDADD
 +
  
+ Compilation and Object Files
+ =============================
+ * If a source file is placed in a subdirectory, the corresponding compiled
+   object will always be put into the subdirectory named after the source
+   file, rather than in the current directory.  For instance, 'src/file.c'
+   and 'src/file.f90' will be compiled to 'src/file.o', and 'sub/dir/mu.cc'
+   will be compiled to 'sub/dir/mu.o'.
+   That is, Automake-NG will unconditionally behave as Automake would do if
+   its 'subdir-objects' option were active.
  Serial testsuite harness (obsolescent)
  ======================================