From a3b3d15a3d3acc3df39615ead685dafcb9371650 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 14 Feb 2014 12:13:57 +0100 Subject: shell-helper: implement interface in weston module --- shell/Makefile.am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'shell/Makefile.am') diff --git a/shell/Makefile.am b/shell/Makefile.am index dfbf2eb..ca52883 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -27,12 +27,16 @@ weston_gtk_shell_SOURCES = \ weston-gtk-shell-resources.h \ desktop-shell-client-protocol.h \ desktop-shell-protocol.c \ + shell-helper-client-protocol.h \ + shell-helper-protocol.c \ $(external_sources) weston_gtk_shell_LDADD = $(GTK_LIBS) BUILT_SOURCES = \ desktop-shell-client-protocol.h \ desktop-shell-protocol.c \ + shell-helper-client-protocol.h \ + shell-helper-protocol.c \ weston-gtk-shell-resources.c \ weston-gtk-shell-resources.h @@ -45,6 +49,24 @@ weston-gtk-shell-resources.h: weston-gtk-shell.gresource.xml $(resource_files) EXTRA_DIST = style.css +# shell-helper weston module +moduledir = $(libdir)/weston +module_LTLIBRARIES = shell-helper.la + +# otherwise shell-helper-protocol.c is generated twice- once with +# libtool and once without +mod-%-protocol.c : $(wayland_protocoldir)/%.xml + $(AM_V_GEN)$(wayland_scanner) code < $< > $@ + +shell_helper_la_LDFLAGS = -module -avoid-version +shell_helper_la_LIBADD = $(GTK_LIBS) +shell_helper_la_SOURCES = \ + shell-helper.c +nodist_shell_helper_la_SOURCES = \ + mod-shell-helper-protocol.c \ + shell-helper-server-protocol.h + +BUILT_SOURCES += $(nodist_shell_helper_la_SOURCES) CLEANFILES = $(BUILT_SOURCES) @wayland_scanner_rules@ -- cgit v1.3.1