Using libweston with GTK/GDK

adlo adloconwy at gmail.com
Sun May 5 18:49:06 UTC 2019


On Fri, 2019-05-03 at 11:02 +0100, adlo wrote:
> > On 3 May 2019, at 10:20, Pekka Paalanen <ppaalanen at gmail.com>
> > wrote:
> > 
> > your Makefile.am needs the rules to generate the headers and .c
> > files.
> > 
> 
> I tried copying an edited Makefile.am from the wayland-protocols git
> repository, but it complained about GNU-isms. Is there anything else
> I need to do other than just specifying the location of the .xml
> files?

It's OK, I've managed to do it, like this:

protocol/xyz-client-protocol.h : $(top_srcdir)/protocol/xyz.xml
	$(AM_V_GEN) $(wayland_scanner) client-header
$(top_srcdir)/protocol/xyz.xml $(top_srcdir)/protocol/xyz-client-
protocol.h

Regards

adlo




More information about the wayland-devel mailing list