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\" \
|
|
|
|
-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)
|
|
|
|
|
|
|
|
LDADDS = $(GDK_DEP_LIBS)
|
|
|
|
|
|
|
|
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 \
|
2015-11-18 03:46:50 +00:00
|
|
|
xdg-shell-unstable-v5-client-protocol.h \
|
|
|
|
xdg-shell-unstable-v5-protocol.c \
|
2016-02-23 19:20:42 +00:00
|
|
|
gtk-primary-selection-client-protocol.h \
|
|
|
|
gtk-primary-selection-protocol.c \
|
2015-01-19 00:32:24 +00:00
|
|
|
tablet-unstable-v1-client-protocol.h \
|
|
|
|
tablet-unstable-v1-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 \
|
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 \
|
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
|
|
|
|
$(shell echo $1 | sed 's/.*\(\<unstable\>\|\<stable\>\).*/\1/')
|
|
|
|
endef
|
|
|
|
|
|
|
|
define protoname
|
|
|
|
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
|
|
|
|
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 \
|
2013-11-11 23:02:19 +00:00
|
|
|
protocol/gtk-shell.xml
|
2013-08-30 11:55:37 +00:00
|
|
|
|
2010-12-18 20:38:49 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|