summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwanglim Lee <gl77.lee@samsung.com>2017-10-25 17:31:18 +0900
committerGwanglim Lee <gl77.lee@samsung.com>2018-03-19 05:43:18 +0000
commitb50a4213a9449ffbcb5cff87fd7ef3353549c677 (patch)
tree8dfc2bbb8db8841a9e62e6cde1fa9dcab58c0fd0
parentf57f484eb434ac13865161527f9324bc6428c115 (diff)
downloadwayland-extension-b50a4213a9449ffbcb5cff87fd7ef3353549c677.tar.gz
wayland-extension-b50a4213a9449ffbcb5cff87fd7ef3353549c677.tar.bz2
wayland-extension-b50a4213a9449ffbcb5cff87fd7ef3353549c677.zip
added xdg-shell unstable v6 library and header files to wayland-extension pkg
Change-Id: Ia161d77f2610890a8c6f9dbc00a1cb442a450d6b
-rw-r--r--Makefile.am37
1 files changed, 36 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 79ea9fc..9a6ac17 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/protocol/tizen \
+ -I$(top_builddir)/protocol/unstable \
+ -I$(top_builddir)/protocol/stable \
-I$(top_srcdir)/src \
$(NULL)
@@ -11,7 +13,7 @@ pkgconfig_DATA =
protocolinclude_HEADERS = src/wayland-extension-version.h
protocol_LTLIBRARIES =
-### protocol.[ch]
+### protocol/tizen/protocol.[ch]
protocol/tizen/%-protocol.c : $(top_srcdir)/protocol/tizen/%.xml
$(wayland_scanner) code < $< > $@
protocol/tizen/%-server-protocol.h : $(top_srcdir)/protocol/tizen/%.xml
@@ -19,6 +21,22 @@ protocol/tizen/%-server-protocol.h : $(top_srcdir)/protocol/tizen/%.xml
protocol/tizen/%-client-protocol.h : $(top_srcdir)/protocol/tizen/%.xml
$(wayland_scanner) client-header < $< > $@
+### protocol/unstable/protocol.[ch]
+protocol/unstable/%-protocol.c : $(top_srcdir)/protocol/unstable/*/%.xml
+ $(wayland_scanner) code < $< > $@
+protocol/unstable/%-server-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml
+ $(wayland_scanner) server-header < $< > $@
+protocol/unstable/%-client-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml
+ $(wayland_scanner) client-header < $< > $@
+
+### protocol/stable/protocol.[ch]
+protocol/stable/%-protocol.c : $(top_srcdir)/protocol/stable/*/%.xml
+ $(wayland_scanner) code < $< > $@
+protocol/stable/%-server-protocol.h : $(top_srcdir)/protocol/stable/*/%.xml
+ $(wayland_scanner) server-header < $< > $@
+protocol/stable/%-client-protocol.h : $(top_srcdir)/protocol/stable/*/%.xml
+ $(wayland_scanner) client-header < $< > $@
+
### protocol.pc
src/%-server.pc : $(top_srcdir)/src/template-server.pc
$(cp) $< $@ && $(perl) -pi -e 's|template|$*|g' $@
@@ -42,6 +60,23 @@ libxdg_shell_client_la_SOURCES = protocol/tizen/xdg-shell-protocol.c
libxdg_shell_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@
libxdg_shell_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@
+### xdg-shell (unstable v6)
+protocol_LTLIBRARIES += \
+ libxdg-shell-unstable-v6-server.la \
+ libxdg-shell-unstable-v6-client.la
+pkgconfig_DATA += \
+ src/xdg-shell-unstable-v6-server.pc \
+ src/xdg-shell-unstable-v6-client.pc
+protocolinclude_HEADERS += \
+ protocol/unstable/xdg-shell-unstable-v6-server-protocol.h \
+ protocol/unstable/xdg-shell-unstable-v6-client-protocol.h
+libxdg_shell_unstable_v6_server_la_SOURCES = protocol/unstable/xdg-shell-unstable-v6-protocol.c
+libxdg_shell_unstable_v6_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@
+libxdg_shell_unstable_v6_server_la_LIBADD = @WAYLAND_SERVER_LIBS@
+libxdg_shell_unstable_v6_client_la_SOURCES = protocol/unstable/xdg-shell-unstable-v6-protocol.c
+libxdg_shell_unstable_v6_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@
+libxdg_shell_unstable_v6_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@
+
### input-method
protocol_LTLIBRARIES += \
libinput-method-server.la \