From: Uwe Hermann Date: Wed, 19 Mar 2014 22:04:55 +0000 (+0100) Subject: Switch to a non-recursive automake setup. X-Git-Tag: libsigrok-0.3.0~120 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=67bd805523f52030a6459786388ce3385be00501;hp=67bd805523f52030a6459786388ce3385be00501;p=libsigrok.git Switch to a non-recursive automake setup. Instead of >= 44 Makefile.am's we now only have one top-level Makefile.am, and use the 'subdir-objects' automake option to handle the build via non-recursive (auto)make. This has the advantage of fewer (boilerplate or other) files and less clutter in general, as well as performance advantages since the new setup can build many files in parallel (with 'make -j'), not only 2 or 3 files within the same (e.g. hardware/xxxx/* subdirectory) and also since we no longer need to build intermediate libtool helper libs per subdirectory. A quick, non-scientific test build on a quad-core laptop with 'make -j 4' yields a build time reduction from 35s to 19s. All autotools features that worked before are still intact without any regressions, including the Make targets 'install', 'uninstall', 'check', 'dist', 'clean', 'distclean' and so on, as well as all the usual portability handling (build works on any OS, with any Make implementation such as GNU Make or BSD Make, with any shell such as sh/ksh/zsh/bash/dash, etc. etc.) and features such as out-of-tree build support, cross-compile support, testsuite support (also with colored output), "silent make rules", etc. etc. ---