This helper does not work properly when we specify a private directory
on the command-line, so we need to run it twice.
Change-Id: I67498cbd6d1db20c95ce7c1dbba989eea2d2c9c2
* Make all the C++ code build again. Due to the build system not
failing on compilation/link errors, parts of the code base has
suffered bit rot.
* Build the library as shared. Otherwise we are trying to link a
static library built as PIE into a shared library.
* Fix module exclusion logic. Several of the modules cannot be
compiled because they miss Makefiles, others require additional
dependencies or similar. So encode this in the build system so
that people building do not have to figure this out, even if
they pass an explicit list of modules to include or exclude.
* Revamp the build system.
- Make errors fatal, so that they do not get ignored anymore.
- Use sane make variables that a shell will accept as valid,
otherwise the exports do not work at all.
- Do not use system paths when we should use in-tree ones.
Change-Id: I795783e0f1bd655cdbb2de0329c389e2bb2e2f07
Addressing:
| E: ngcp-sems-libsems1-dev: unstripped-binary-or-object usr/include/sems/compat/getarch
| E: ngcp-sems-libsems1-dev: unstripped-binary-or-object usr/include/sems/compat/getos
dh_strip doesn't work as reliable as lintian (e.g.
see #35733 and #468333 in Debian's BTS), so instruct
debian/rules to explicitly strip those files.