Signed-off-by: Nobuhiko Tanibata <[email protected]>
---
 src/Makefile.am |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 05b22d3..d3c6542 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -94,12 +94,18 @@ westoninclude_HEADERS =                             \
        ../shared/matrix.h                      \
        ../shared/config-parser.h
 
+if ENABLE_IVI_SHELL
+westoninclude_HEADERS += ivi-shell-client-protocol.h
+endif # ENABLE_IVI_SHELL
+
 moduledir = $(libdir)/weston
 module_LTLIBRARIES =                           \
        $(desktop_shell)                        \
        $(tablet_shell)                         \
        $(cms_static)                           \
        $(cms_colord)                           \
+       $(ivi_shell)                            \
+       $(libivi_shell_client)          \
        $(x11_backend)                          \
        $(drm_backend)                          \
        $(wayland_backend)                      \
@@ -291,11 +297,34 @@ spring_tool_SOURCES =                             \
        ../shared/matrix.h                      \
        compositor.h
 
+if ENABLE_IVI_SHELL
+ivi_shell = ivi-shell.la
+ivi_shell_la_LDFLAGS = -module -avoid-version
+ivi_shell_la_LIBADD = $(COMPOSITOR_LIBS) $(IVI_SHELL_LIBS)
+ivi_shell_la_CFLAGS = $(GCC_CFLAGS) \
+       $(COMPOSITOR_CFLAGS) $(IVI_SHELL_CFLAGS)
+ivi_shell_la_SOURCES =                 \
+       ivi-shell.c                             \
+       ivi-shell-protocol.c                    \
+       ivi-shell-server-protocol.h
+
+libivi_shell_client = libivi-shell-client.la
+libivi_shell_client_la_LDFLAGS = -avoid-version
+libivi_shell_client_la_LIBADD = $(IVI_SHELL_LIBS)
+libivi_shell_client_la_CFLAGS = $(GCC_CFLAGS) $(IVI_SHELL_CFLAGS)
+libivi_shell_client_la_SOURCES =                       \
+       ivi-shell-protocol.c                    \
+       ivi-shell-client-protocol.h
+endif
+
 BUILT_SOURCES =                                        \
        screenshooter-server-protocol.h         \
        screenshooter-protocol.c                \
        text-cursor-position-server-protocol.h  \
        text-cursor-position-protocol.c         \
+       ivi-shell-protocol.c                    \
+       ivi-shell-server-protocol.h             \
+       ivi-shell-client-protocol.h             \
        tablet-shell-protocol.c                 \
        tablet-shell-server-protocol.h          \
        desktop-shell-protocol.c                \
-- 
1.7.4.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to