2014-03-12 00:11:39 +01:00
|
|
|
bin_PROGRAMS = Xwayland
|
|
|
|
|
|
|
|
Xwayland_CFLAGS = \
|
2014-06-16 20:34:55 +02:00
|
|
|
-I$(top_srcdir)/glamor \
|
2014-03-12 00:11:39 +01:00
|
|
|
-I$(top_srcdir)/dri3 \
|
|
|
|
-DHAVE_DIX_CONFIG_H \
|
|
|
|
$(XWAYLANDMODULES_CFLAGS) \
|
2014-06-16 20:34:55 +02:00
|
|
|
$(DIX_CFLAGS) \
|
|
|
|
$(GLAMOR_CFLAGS) \
|
|
|
|
$(GBM_CFLAGS)
|
2014-03-12 00:11:39 +01:00
|
|
|
|
|
|
|
Xwayland_SOURCES = \
|
|
|
|
xwayland.c \
|
|
|
|
xwayland-input.c \
|
|
|
|
xwayland-cursor.c \
|
|
|
|
xwayland-shm.c \
|
|
|
|
xwayland-output.c \
|
|
|
|
xwayland-cvt.c \
|
2016-02-10 09:35:39 +01:00
|
|
|
xwayland-vidmode.c \
|
2014-03-12 00:11:39 +01:00
|
|
|
xwayland.h \
|
|
|
|
$(top_srcdir)/Xi/stubs.c \
|
|
|
|
$(top_srcdir)/mi/miinitext.c
|
|
|
|
|
|
|
|
Xwayland_LDADD = \
|
2014-06-16 20:34:55 +02:00
|
|
|
$(glamor_lib) \
|
2014-03-12 00:11:39 +01:00
|
|
|
$(XWAYLAND_LIBS) \
|
2018-01-10 19:05:45 +01:00
|
|
|
$(top_builddir)/glx/libglxvnd.la \
|
2014-03-12 00:11:39 +01:00
|
|
|
$(XWAYLAND_SYS_LIBS) \
|
2016-02-10 09:35:39 +01:00
|
|
|
$(top_builddir)/Xext/libXvidmode.la \
|
2014-03-12 00:11:39 +01:00
|
|
|
$(XSERVER_SYS_LIBS)
|
|
|
|
Xwayland_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
Xwayland_built_sources =
|
2014-03-12 00:11:39 +01:00
|
|
|
|
2014-06-16 20:34:55 +02:00
|
|
|
if GLAMOR_EGL
|
2016-03-09 16:21:18 +01:00
|
|
|
Xwayland_SOURCES += \
|
|
|
|
xwayland-glamor.c
|
|
|
|
if XV
|
|
|
|
Xwayland_SOURCES += \
|
|
|
|
xwayland-glamor-xv.c
|
|
|
|
endif
|
2014-06-16 20:34:55 +02:00
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
glamor_built_sources = \
|
2014-06-16 20:34:55 +02:00
|
|
|
drm-client-protocol.h \
|
|
|
|
drm-protocol.c
|
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
Xwayland_built_sources += $(glamor_built_sources)
|
2014-06-16 20:34:55 +02:00
|
|
|
|
|
|
|
glamor_lib = $(top_builddir)/glamor/libglamor.la
|
|
|
|
|
|
|
|
Xwayland_LDADD += $(GLAMOR_LIBS) $(GBM_LIBS) -lEGL -lGL
|
2016-06-20 18:57:10 +02:00
|
|
|
Xwayland_DEPENDENCIES = $(glamor_lib) $(XWAYLAND_LIBS)
|
2014-06-16 20:34:55 +02:00
|
|
|
endif
|
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
Xwayland_built_sources += \
|
|
|
|
relative-pointer-unstable-v1-client-protocol.h \
|
2016-09-29 04:42:13 +02:00
|
|
|
relative-pointer-unstable-v1-protocol.c \
|
|
|
|
pointer-constraints-unstable-v1-client-protocol.h \
|
2016-10-13 19:39:46 +02:00
|
|
|
pointer-constraints-unstable-v1-protocol.c \
|
|
|
|
tablet-unstable-v2-client-protocol.h \
|
2017-07-12 11:51:08 +02:00
|
|
|
tablet-unstable-v2-protocol.c \
|
|
|
|
xwayland-keyboard-grab-unstable-v1-protocol.c \
|
2017-09-07 17:43:16 +02:00
|
|
|
xwayland-keyboard-grab-unstable-v1-client-protocol.h \
|
|
|
|
xdg-output-unstable-v1-protocol.c \
|
2018-02-28 02:19:43 +01:00
|
|
|
xdg-output-unstable-v1-client-protocol.h \
|
|
|
|
linux-dmabuf-unstable-v1-client-protocol.h \
|
|
|
|
linux-dmabuf-unstable-v1-protocol.c
|
2016-09-29 04:40:01 +02:00
|
|
|
|
|
|
|
nodist_Xwayland_SOURCES = $(Xwayland_built_sources)
|
|
|
|
CLEANFILES = $(Xwayland_built_sources)
|
|
|
|
|
2014-09-17 07:41:27 +02:00
|
|
|
EXTRA_DIST = drm.xml
|
|
|
|
|
2014-06-16 20:34:55 +02:00
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
$(Xwayland_SOURCES): $(Xwayland_built_sources)
|
|
|
|
|
2014-03-12 00:11:39 +01:00
|
|
|
relink:
|
|
|
|
$(AM_V_at)rm -f Xwayland$(EXEEXT) && $(MAKE) Xwayland$(EXEEXT)
|
2014-06-16 20:34:55 +02:00
|
|
|
|
2016-09-29 04:40:01 +02:00
|
|
|
relative-pointer-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
relative-pointer-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2016-09-29 04:42:13 +02:00
|
|
|
pointer-constraints-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
pointer-constraints-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2016-10-13 19:39:46 +02:00
|
|
|
tablet-unstable-v2-protocol.c: $(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
tablet-unstable-v2-client-protocol.h: $(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2017-07-12 11:51:08 +02:00
|
|
|
xwayland-keyboard-grab-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
xwayland-keyboard-grab-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
2017-09-07 17:43:16 +02:00
|
|
|
xdg-output-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
xdg-output-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
2017-07-12 11:51:08 +02:00
|
|
|
|
2018-02-28 02:19:43 +01:00
|
|
|
linux-dmabuf-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
linux-dmabuf-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
|
|
2014-06-16 20:34:55 +02:00
|
|
|
%-protocol.c : %.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
|
|
|
|
|
|
%-client-protocol.h : %.xml
|
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|