[PATCH weston-ivi-shell 11/15] Modify ivi-shell/Makefile

Nobuhiko Tanibata NOBUHIKO_TANIBATA at xddp.denso.co.jp
Thu Mar 6 02:03:53 PST 2014


to build references;ivi-hmi-controller protocol, hmi-controller,
and hmi-controller-homescreen.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
---
 ivi-shell/.gitignore  |  7 +++++++
 ivi-shell/Makefile.am | 21 +++++++++++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 ivi-shell/.gitignore

diff --git a/ivi-shell/.gitignore b/ivi-shell/.gitignore
new file mode 100644
index 0000000..9f31bfd
--- /dev/null
+++ b/ivi-shell/.gitignore
@@ -0,0 +1,7 @@
+ivi-application-client-protocol.h
+ivi-application-protocol.c
+ivi-application-server-protocol.h
+ivi-hmi-controller-client-protocol.h
+ivi-hmi-controller-protocol.c
+ivi-hmi-controller-server-protocol.h
+weston.ini
diff --git a/ivi-shell/Makefile.am b/ivi-shell/Makefile.am
index d0c0d62..afaa5e3 100644
--- a/ivi-shell/Makefile.am
+++ b/ivi-shell/Makefile.am
@@ -2,7 +2,8 @@ moduledir = $(libdir)/weston
 
 module_LTLIBRARIES = 				\
 	$(libweston_layout)			\
-	$(ivi_shell)
+	$(ivi_shell)				\
+	$(hmi_controller)
 
 AM_CPPFLAGS =					\
 	-I$(top_srcdir)/shared			\
@@ -39,12 +40,28 @@ ivi_shell_la_SOURCES =				\
 	ivi-application-protocol.c		\
 	ivi-application-server-protocol.h
 
+hmi_controller = hmi-controller.la
+hmi_controller_la_LDFLAGS = -module -avoid-version
+hmi_controller_la_LIBADD = $(CLIENT_LIBS) $(IVI_SHELL_LIBS) ./libweston-layout.la ../shared/libshared-cairo.la
+hmi_controller_la_CFLAGS = $(GCC_CFLAGS) $(IVI_SHELL_CFLAGS)
+hmi_controller_la_SOURCES =			\
+	hmi-controller.c			\
+	hmi-controller-homescreen.h			\
+	hmi-controller-homescreen.c		\
+	ivi-application-protocol.c		\
+	ivi-application-client-protocol.h	\
+	ivi-hmi-controller-protocol.c		\
+	ivi-hmi-controller-client-protocol.h	\
+	ivi-hmi-controller-server-protocol.h
 endif
 
 BUILT_SOURCES =					\
 	ivi-application-protocol.c		\
 	ivi-application-server-protocol.h	\
-	ivi-application-client-protocol.h
+	ivi-application-client-protocol.h	\
+	ivi-hmi-controller-protocol.c		\
+	ivi-hmi-controller-client-protocol.h	\
+	ivi-hmi-controller-server-protocol.h
 
 CLEANFILES = $(BUILT_SOURCES)
 
-- 
1.8.3.1



More information about the wayland-devel mailing list