forked from AuroraMiddleware/gtk
7cc0850a5a
Only the management of tablets and tools is added so far. No tablet events are yet interpreted. As it's been the tradition in GTK+, erasers are split into their own device, whereas the rest of the tools are meant to be routed through the GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master pointer device, separate to wl_pointer's. This is so each tablet can maintain its own cursor/positioning accounting. Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
100 lines
2.7 KiB
Makefile
100 lines
2.7 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
|
libgdkwaylandincludedir = $(includedir)/gtk-3.0/gdk/wayland
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
|
-DGDK_COMPILATION \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GDK_DEP_CFLAGS)
|
|
|
|
LDADDS = $(GDK_DEP_LIBS)
|
|
|
|
noinst_LTLIBRARIES = \
|
|
libgdk-wayland.la
|
|
|
|
BUILT_SOURCES = \
|
|
pointer-gestures-unstable-v1-client-protocol.h \
|
|
pointer-gestures-unstable-v1-protocol.c \
|
|
xdg-shell-unstable-v5-client-protocol.h \
|
|
xdg-shell-unstable-v5-protocol.c \
|
|
gtk-primary-selection-client-protocol.h \
|
|
gtk-primary-selection-protocol.c \
|
|
tablet-unstable-v1-client-protocol.h \
|
|
tablet-unstable-v1-protocol.c \
|
|
gtk-shell-client-protocol.h \
|
|
gtk-shell-protocol.c
|
|
|
|
nodist_libgdk_wayland_la_SOURCES = \
|
|
$(BUILT_SOURCES)
|
|
|
|
DISTCLEANFILES = \
|
|
$(BUILT_SOURCES)
|
|
|
|
libgdk_wayland_la_SOURCES = \
|
|
gdkapplaunchcontext-wayland.c \
|
|
gdkcursor-wayland.c \
|
|
gdkdevice-wayland.c \
|
|
gdkdisplay-wayland.c \
|
|
gdkdisplay-wayland.h \
|
|
gdkdnd-wayland.c \
|
|
gdkeventsource.c \
|
|
gdkkeys-wayland.c \
|
|
gdkglcontext-wayland.c \
|
|
gdkglcontext-wayland.h \
|
|
gdkscreen-wayland.c \
|
|
gdkseat-wayland.h \
|
|
gdkselection-wayland.c \
|
|
gdkwindow-wayland.c \
|
|
gdkwayland.h \
|
|
gdkprivate-wayland.h \
|
|
wm-button-layout-translation.c \
|
|
wm-button-layout-translation.h
|
|
|
|
libgdkinclude_HEADERS = \
|
|
gdkwayland.h
|
|
|
|
libgdkwaylandinclude_HEADERS = \
|
|
gdkwaylanddevice.h \
|
|
gdkwaylanddisplay.h \
|
|
gdkwaylandglcontext.h \
|
|
gdkwaylandselection.h \
|
|
gdkwaylandwindow.h
|
|
|
|
.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 < $< > $@
|
|
|
|
%-protocol.c : $(srcdir)/protocol/%.xml
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
$(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
|
|
|
|
%-server-protocol.h : $(srcdir)/protocol/%.xml
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
|
%-client-protocol.h : $(srcdir)/protocol/%.xml
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
EXTRA_DIST += \
|
|
protocol/gtk-primary-selection.xml \
|
|
protocol/gtk-shell.xml
|
|
|
|
-include $(top_srcdir)/git.mk
|