[PATCH wayland 1/4] build: depend on generated protocol headers

Kristian Høgsberg hoegsberg at gmail.com
Mon Mar 10 13:16:31 PDT 2014


On Mon, Mar 10, 2014 at 02:03:57PM +0200, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Fixes the build failure where the protocol headers were not generated at
> all before compiling src/.libs/libwayland_server_la-wayland-server.o.
> 
> The failure was reproducable by starting fresh with 'git clean -dxf' and
> not having any wayland headers installed system-wide.

Thanks Pekka, all four patches pushed.

Kristian

> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
>  Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 8dabcf0..cb7a186 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -44,6 +44,7 @@ libwayland_server_la_SOURCES =			\
>  	src/event-loop.c
>  
>  nodist_libwayland_server_la_SOURCES =		\
> +	protocol/wayland-server-protocol.h	\
>  	protocol/wayland-protocol.c
>  
>  libwayland_client_la_CFLAGS = $(FFI_CFLAGS) $(GCC_CFLAGS) -pthread
> @@ -53,6 +54,7 @@ libwayland_client_la_SOURCES =			\
>  	src/wayland-client.c
>  
>  nodist_libwayland_client_la_SOURCES =		\
> +	protocol/wayland-client-protocol.h	\
>  	protocol/wayland-protocol.c
>  
>  pkgconfig_DATA += src/wayland-client.pc src/wayland-server.pc
> -- 
> 1.8.3.2
> 


More information about the wayland-devel mailing list