From: Stefano Lattarini Date: Fri, 8 Jun 2012 10:36:21 +0000 (+0200) Subject: Merge branch 'ng/subdir-objects' into ng/master X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd417d2be3b26eb6cd99e828bb4bff0b8572087a;p=thirdparty%2Fautomake.git Merge branch 'ng/subdir-objects' into ng/master * 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 --- fd417d2be3b26eb6cd99e828bb4bff0b8572087a diff --cc NG-NEWS index 8b2ad5337,b7ecce21c..4d5431d9f --- a/NG-NEWS +++ 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) ======================================