build: factor out `pluginarchive` function to `src/Makefile.common.inc`
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 19 Feb 2024 20:18:35 +0000 (15:18 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 29 Feb 2024 23:46:23 +0000 (18:46 -0500)
commit0e8dbcd49059f8abbe79dc82de9bdef758a7eb47
treeb4f628b6ad4306b4f8220303041313f309548b28
parent98701909c49b8d6433d9991b2cbe48f7514d047e
build: factor out `pluginarchive` function to `src/Makefile.common.inc`

A subsequent patch will need to bundle a plugin in a test executable,
requiring the same command line used by the CLI to bundle plugins in the
`babeltrace2` executable, when `--enable-built-in-plugins` is used.
Move the `pluginarchive` "function" and `PLUGINS_PATH` definition to a
new file, `src/Makefile.common.inc`, and include that file from
`src/cli/Makefile.am`.

Change-Id: I36a8d6191deb82e5bceab3f5b038f69626ecdfe2
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11830
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/Makefile.common.inc [new file with mode: 0644]
src/cli/Makefile.am
This page took 0.02402 seconds and 4 git commands to generate.