[OpenIndiana-discuss] oi-userland: create a package using only compilation with gcc
Till Wegmüller
toasterson at gmail.com
Mon Nov 17 17:12:58 UTC 2025
Hi Vincent
Lovely to see you working on the package.
The BUILD_STYLE macro picks the pre made targets from
[make-rules](https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/make-rules)
BUILD_STYLE = meson would pick
[make-rules/meson.mk](https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/meson.mk)
which runs roughly what you want plus predefined common options. It's a
bit hard to parse in code but when you run the recipe, it will give you
the exact invocation it will run. Mesa demos uses mson for example
https://github.com/OpenIndiana/oi-userland/blob/c5206146c95aefde02a403621d83ee7ae21f54b8/components/x11/mesa-demos/Makefile#L18
a more complex one is Pulseaudio
https://github.com/OpenIndiana/oi-userland/blob/c5206146c95aefde02a403621d83ee7ae21f54b8/components/desktop/pulseaudio/Makefile#L19
Hope this helps.
Till
On 11/16/25 20:12, Vincent Torri wrote:
> Hello
>
> I would like to add the 'muon' project, which is a C99 port of meson
> (quite faster than meson itself), which also integrates a C99 port of
> ninja. I could use meson to build it, but it can also be built without
> it. The commands can be found there :
>
> https://github.com/muon-build/muon?tab=readme-ov-file#install
>
> In the Makefile file, what should I use for BUILD_STYLE so that these
> commands are launched ?
>
> Thank you
>
> Vincent Torri
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list