[Mesa-dev] [PATCH v2 2/8] Haiku: add src/hgl/Makefile.am to the build
Emil Velikov
emil.l.velikov at gmail.com
Thu Oct 26 13:05:54 UTC 2017
On 24 October 2017 at 17:11, Jerome Duval <jerome.duval at gmail.com> wrote:
> From: Jérôme Duval <jerome.duval at gmail.com>
>
> ---
> src/Makefile.am | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 5ef2d4f..7ef63f7 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -108,6 +108,10 @@ if HAVE_PLATFORM_WAYLAND
> SUBDIRS += egl/wayland/wayland-egl
> endif
>
> +if HAVE_HAIKU
> +SUBDIRS += hgl
> +endif
> +
This won't work, since you're using a conditional [variable] that does
not exist.
Apart from my earlier suggestion [1] one could use something different, say:
- basic haiku platform detection in configure
- build target A [src/hgl] - src/hgl/Makefile.* + this hunk +
src/hgl/{Makefile,gl.pc} lines in configure
- build target B
...
Anything other flow that you prefer is also fine.
Thanks
Emil
[1] https://lists.freedesktop.org/archives/mesa-dev/2017-October/174078.html
More information about the mesa-dev
mailing list