src/Makefile.am


Log

Author Commit Date CI Message
David Seifert 04781b0a 2021-10-05T04:34:48 build: Avoid non-portable '$<' in non-inference rules OpenBSD's 'pmake' chokes on these. Signed-off-by: Guillem Jover <guillem@hadrons.org>
David Seifert 85f7006c 2021-10-05T04:20:30 build: Explicitly depend on sed Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner 0f573400 2020-12-22T18:47:47 build: Fix out of tree builds Adding local-link.h as private header file requires $(srcdir) on AM_CPPFLAGS to be found by generated sources when builddir != srcdir. Do not use libmd.sym from $(srcdir), as it is a generated file. [guillem@hadrons.org: - Remove unrelated line moves. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 52cb9cbe 2020-09-17T03:19:51 build: Only depend on libmd.sym when using it
Guillem Jover 42d691a5 2020-12-21T20:19:54 build: Move local-link.h from libmd_la_helper_sources to libmd_la_SOURCES This is not a generated file, so it needs to be listed in the library SOURCES variable. Fixes: commit 9cc938450392d64440de5c7db27903dff9922728
Guillem Jover 9cc93845 2019-08-28T11:19:37 Import local-link header from libbsd This provides several macros for versioned symbols and linking magic.
Rainer Müller bf04c411 2017-09-29T17:02:33 build: Invoke sed with portable regex The previous sed expression only worked with GNU sed, as the '\+' literal is an extension to basic regex. Use portable syntax instead that also works with other implementations of sed(1), for example on macOS. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 4c94d7fd 2017-05-31T06:55:35 build: Use an export symbols file if there is no version script support We generate the symbol list from the version script to avoid repeating ourselves and potentially getting the lists out-of-sync. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover 04d92f90 2017-05-31T06:58:23 build: Do not override the default DEPENDENCIES for libmd Extend it instead via EXTRA_*_DEPENDENCIES, to make sure that we preserve the builtin library dependencies generated from LIBADD.
Guillem Jover b6be272e 2017-05-31T06:45:25 build: Detect version script linker support at configure time This is not a widely supported feature, so only use if in case the linker does support it. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover c3c8d859 2017-06-01T02:43:22 build: Drop GCC specific compiler flag -include Instead, explicitly include <config.h> in library and test source files for increased portability. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Michael Haubenwallner 765a605e 2017-04-10T13:10:39 build: Add -no-undefined libtool flag We have no need for undefined symbols, so we can let the shared library build even on systems without support for undefined symbols. [guillem@hadrons.org: - Place the option on its own line. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 79b3a0b7 2011-05-29T04:48:16 build: Add build infrastructure