2010-12-18 20:38:49 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
2013-01-19 22:43:27 +00:00
|
|
|
libgdkwaylandincludedir = $(includedir)/gtk-3.0/gdk/wayland
|
2010-12-18 20:38:49 +00:00
|
|
|
|
2011-05-16 11:47:17 +00:00
|
|
|
AM_CPPFLAGS = \
|
2010-12-18 20:38:49 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
2016-07-23 03:11:44 +00:00
|
|
|
-DG_LOG_USE_STRUCTURED=1 \
|
2010-12-18 20:38:49 +00:00
|
|
|
-DGDK_COMPILATION \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
2013-03-15 10:35:30 +00:00
|
|
|
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
2010-12-18 20:38:49 +00:00
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GDK_DEP_CFLAGS)
|
|
|
|
|
2016-08-07 20:11:55 +00:00
|
|
|
LDADDS = $(GDK_DEP_LIBS) $(SHM_LIBS)
|
2010-12-18 20:38:49 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
libgdk-wayland.la
|
|
|
|
|
2013-08-30 11:55:37 +00:00
|
|
|
BUILT_SOURCES = \
|
2015-11-18 03:38:28 +00:00
|
|
|
pointer-gestures-unstable-v1-client-protocol.h \
|
|
|
|
pointer-gestures-unstable-v1-protocol.c \
|
2017-12-18 12:00:36 +00:00
|
|
|
xdg-shell-client-protocol.h \
|
|
|
|
xdg-shell-protocol.c \
|
2016-07-01 09:03:36 +00:00
|
|
|
xdg-shell-unstable-v6-client-protocol.h \
|
|
|
|
xdg-shell-unstable-v6-protocol.c \
|
2016-07-12 03:49:39 +00:00
|
|
|
xdg-foreign-unstable-v1-client-protocol.h \
|
|
|
|
xdg-foreign-unstable-v1-protocol.c \
|
2016-02-23 19:20:42 +00:00
|
|
|
gtk-primary-selection-client-protocol.h \
|
|
|
|
gtk-primary-selection-protocol.c \
|
2016-05-13 13:19:04 +00:00
|
|
|
tablet-unstable-v2-client-protocol.h \
|
|
|
|
tablet-unstable-v2-protocol.c \
|
2019-05-22 10:26:37 +00:00
|
|
|
xdg-output-unstable-v1-protocol.c \
|
|
|
|
xdg-output-unstable-v1-client-protocol.h \
|
2017-03-22 09:21:02 +00:00
|
|
|
keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h \
|
|
|
|
keyboard-shortcuts-inhibit-unstable-v1-protocol.c \
|
2017-04-29 00:35:51 +00:00
|
|
|
server-decoration-client-protocol.h \
|
|
|
|
server-decoration-protocol.c \
|
2013-08-30 11:55:37 +00:00
|
|
|
gtk-shell-client-protocol.h \
|
|
|
|
gtk-shell-protocol.c
|
|
|
|
|
2013-12-05 14:07:19 +00:00
|
|
|
nodist_libgdk_wayland_la_SOURCES = \
|
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
2013-12-17 11:42:58 +00:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
2010-12-18 20:38:49 +00:00
|
|
|
libgdk_wayland_la_SOURCES = \
|
|
|
|
gdkapplaunchcontext-wayland.c \
|
|
|
|
gdkcursor-wayland.c \
|
|
|
|
gdkdevice-wayland.c \
|
|
|
|
gdkdisplay-wayland.c \
|
|
|
|
gdkdisplay-wayland.h \
|
|
|
|
gdkdnd-wayland.c \
|
|
|
|
gdkeventsource.c \
|
2014-10-09 09:06:48 +00:00
|
|
|
gdkkeys-wayland.c \
|
|
|
|
gdkglcontext-wayland.c \
|
|
|
|
gdkglcontext-wayland.h \
|
2016-04-02 14:18:56 +00:00
|
|
|
gdkmonitor-wayland.c \
|
|
|
|
gdkmonitor-wayland.h \
|
2010-12-18 20:38:49 +00:00
|
|
|
gdkscreen-wayland.c \
|
2015-11-26 18:40:56 +00:00
|
|
|
gdkseat-wayland.h \
|
2010-12-18 20:38:49 +00:00
|
|
|
gdkselection-wayland.c \
|
|
|
|
gdkwindow-wayland.c \
|
|
|
|
gdkwayland.h \
|
2014-06-05 13:30:16 +00:00
|
|
|
gdkprivate-wayland.h \
|
|
|
|
wm-button-layout-translation.c \
|
|
|
|
wm-button-layout-translation.h
|
2010-12-18 20:38:49 +00:00
|
|
|
|
|
|
|
libgdkinclude_HEADERS = \
|
|
|
|
gdkwayland.h
|
|
|
|
|
2013-01-19 22:43:27 +00:00
|
|
|
libgdkwaylandinclude_HEADERS = \
|
2013-01-27 13:28:43 +00:00
|
|
|
gdkwaylanddevice.h \
|
2013-01-27 15:32:44 +00:00
|
|
|
gdkwaylanddisplay.h \
|
2014-10-09 09:06:48 +00:00
|
|
|
gdkwaylandglcontext.h \
|
2016-04-02 14:18:56 +00:00
|
|
|
gdkwaylandmonitor.h \
|
2013-04-09 02:28:43 +00:00
|
|
|
gdkwaylandselection.h \
|
2013-01-27 15:32:44 +00:00
|
|
|
gdkwaylandwindow.h
|
2013-01-19 22:43:27 +00:00
|
|
|
|
2015-11-18 03:38:28 +00:00
|
|
|
.SECONDEXPANSION:
|
|
|
|
|
|
|
|
define protostability
|
2017-12-18 12:00:36 +00:00
|
|
|
$(if $(findstring unstable,$1),unstable,stable)
|
2015-11-18 03:38:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define protoname
|
2018-01-06 18:57:38 +00:00
|
|
|
$(shell echo $1 | sed 's/\([a-z\-]\{1,\}\)-[a-z]\{1,\}-v[0-9]\{1,\}/\1/')
|
2015-11-18 03:38:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
$(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
|
|
|
|
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2013-09-11 15:20:55 +00:00
|
|
|
%-protocol.c : $(srcdir)/protocol/%.xml
|
2013-08-30 11:55:37 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
2013-10-15 23:41:26 +00:00
|
|
|
$(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
|
|
|
|
|
2013-09-11 15:20:55 +00:00
|
|
|
%-server-protocol.h : $(srcdir)/protocol/%.xml
|
2013-08-30 11:55:37 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
2013-09-11 15:20:55 +00:00
|
|
|
%-client-protocol.h : $(srcdir)/protocol/%.xml
|
2013-08-30 11:55:37 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2013-11-11 23:02:19 +00:00
|
|
|
EXTRA_DIST += \
|
2016-02-23 19:20:42 +00:00
|
|
|
protocol/gtk-primary-selection.xml \
|
2017-10-29 17:50:13 +00:00
|
|
|
protocol/gtk-shell.xml \
|
2019-03-30 19:06:25 +00:00
|
|
|
protocol/server-decoration.xml \
|
|
|
|
meson.build
|
2013-08-30 11:55:37 +00:00
|
|
|
|
2010-12-18 20:38:49 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|