aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Wayland.am
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-08-07 18:05:55 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-10-04 18:23:57 -0300
commitad27efcb397f3dc8da670180784991f876841e01 (patch)
treed30d1469ad0265c6815efb9e249f3bbcc5ae23bf /src/Makefile_Ecore_Wayland.am
parenteina: handle more compiler strangeness for bswap. (diff)
downloadefl-ad27efcb397f3dc8da670180784991f876841e01.tar.gz
adding wayland subsurfaces protocol file.
Diffstat (limited to 'src/Makefile_Ecore_Wayland.am')
-rw-r--r--src/Makefile_Ecore_Wayland.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makefile_Ecore_Wayland.am b/src/Makefile_Ecore_Wayland.am
index aaf08f50f0..0709d6b545 100644
--- a/src/Makefile_Ecore_Wayland.am
+++ b/src/Makefile_Ecore_Wayland.am
@@ -16,8 +16,25 @@ lib/ecore_wayland/ecore_wl_output.c \
lib/ecore_wayland/ecore_wl_window.c \
lib/ecore_wayland/ecore_wl_private.h
+lib_ecore_wayland_libecore_wayland_la_BUILT_SOURCES = \
+lib/ecore_wayland/subsurface-protocol.c \
+lib/ecore_wayland/subsurface-client-protocol.h
+
+CLEANFILES += $(lib_ecore_wayland_libecore_wayland_la_BUILT_SOURCES)
+
+lib_ecore_wayland_libecore_wayland_la_SOURCES += $(lib_ecore_wayland_libecore_wayland_la_BUILT_SOURCES)
+
+BUILT_SOURCES += $(lib_ecore_wayland_libecore_wayland_la_BUILT_SOURCES)
+
lib_ecore_wayland_libecore_wayland_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_WAYLAND_CFLAGS@
lib_ecore_wayland_libecore_wayland_la_LIBADD = @ECORE_WAYLAND_LIBS@
lib_ecore_wayland_libecore_wayland_la_DEPENDENCIES = @ECORE_WAYLAND_INTERNAL_LIBS@
lib_ecore_wayland_libecore_wayland_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+
+lib/ecore_wayland/subsurface-protocol.c: $(wayland_protocoldir)/subsurface.xml
+ $(AM_V_GEN)$(wayland_scanner) code < $< > $@
+
+lib/ecore_wayland/subsurface-client-protocol.h: $(wayland_protocoldir)/subsurface.xml
+ $(AM_V_GEN)$(wayland_scanner) client-header < $< > $@
+
endif