building ivi-shell.so and libweston-layout.so. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> --- Makefile.am | 1 + configure.ac | 15 ++++++++++++++- ivi-shell/Makefile.am | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 ivi-shell/Makefile.am
diff --git a/Makefile.am b/Makefile.am index f22c542..1bc35e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,6 +11,7 @@ SUBDIRS = \ src \ $(xwayland_subdir) \ desktop-shell \ + ivi-shell \ clients \ data \ protocol \ diff --git a/configure.ac b/configure.ac index cce1850..4c0a90f 100644 --- a/configure.ac +++ b/configure.ac @@ -409,6 +409,16 @@ if test "x$enable_dbus" != "xno"; then fi AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") +# ivi-shell support +AC_ARG_ENABLE(ivi-shell, + AS_HELP_STRING([--disable-ivi-shell], + [do not build ivi-shell server plugin and client]),, + enable_ivi_shell=yes) +AM_CONDITIONAL(ENABLE_IVI_SHELL, test "x$enable_ivi_shell" = "xyes") +if test x$enable_ivi_shell = xyes; then + PKG_CHECK_MODULES(IVI_SHELL, [cairo]) +fi + AC_ARG_ENABLE(wcap-tools, [ --disable-wcap-tools],, enable_wcap_tools=yes) AM_CONDITIONAL(BUILD_WCAP_TOOLS, test x$enable_wcap_tools = xyes) if test x$enable_wcap_tools = xyes; then @@ -505,7 +515,8 @@ AC_CONFIG_FILES([Makefile data/Makefile protocol/Makefile man/Makefile - tests/Makefile]) + tests/Makefile + ivi-shell/Makefile]) AC_OUTPUT AC_MSG_RESULT([ @@ -519,6 +530,8 @@ AC_MSG_RESULT([ XWayland ${enable_xwayland} dbus ${enable_dbus} + ivi-shell ${enable_ivi_shell} + Build wcap utility ${enable_wcap_tools} weston-launch utility ${enable_weston_launch} diff --git a/ivi-shell/Makefile.am b/ivi-shell/Makefile.am new file mode 100644 index 0000000..d0c0d62 --- /dev/null +++ b/ivi-shell/Makefile.am @@ -0,0 +1,52 @@ +moduledir = $(libdir)/weston + +module_LTLIBRARIES = \ + $(libweston_layout) \ + $(ivi_shell) + +AM_CPPFLAGS = \ + -I$(top_srcdir)/shared \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src \ + -DDATADIR='"$(datadir)"' \ + -DMODULEDIR='"$(moduledir)"' \ + -DLIBEXECDIR='"$(libexecdir)"' \ + -DIN_WESTON + +westonincludedir = $(includedir)/weston +westoninclude_HEADERS = + +if ENABLE_IVI_SHELL +westoninclude_HEADERS += \ + ivi-application-client-protocol.h \ + weston-layout.h + +libweston_layout = libweston-layout.la +libweston_layout_la_LDFLAGS = -avoid-version +libweston_layout_la_LIBADD = $(IVI_SHELL_LIBS) ../shared/libshared.la +libweston_layout_la_CFLAGS = $(GCC_CFLAGS) $(IVI_SHELL_CFLAGS) +libweston_layout_la_SOURCES = \ + weston-layout.c \ + weston-layout.h + +ivi_shell = ivi-shell.la +ivi_shell_la_LDFLAGS = -module -avoid-version +ivi_shell_la_LIBADD = $(COMPOSITOR_LIBS) $(IVI_SHELL_LIBS) ./libweston-layout.la +ivi_shell_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(IVI_SHELL_CFLAGS) +ivi_shell_la_SOURCES = \ + ivi-shell.c \ + weston-layout.h \ + ivi-application-protocol.c \ + ivi-application-server-protocol.h + +endif + +BUILT_SOURCES = \ + ivi-application-protocol.c \ + ivi-application-server-protocol.h \ + ivi-application-client-protocol.h + +CLEANFILES = $(BUILT_SOURCES) + +wayland_protocoldir = $(top_srcdir)/protocol +include $(top_srcdir)/wayland-scanner.mk -- 1.8.3.1 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel