|
|
|
noinst_PROGRAMS = compositor
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir)/wayland \
|
|
|
|
-I$(top_builddir)/wayland \
|
|
|
|
$(COMPOSITOR_CFLAGS)
|
|
|
|
|
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
|
|
|
|
|
|
|
|
compositor_LDADD = \
|
|
|
|
$(top_builddir)/wayland/libwayland-server.la \
|
|
|
|
$(top_builddir)/wayland/libwayland-client.la \
|
|
|
|
$(COMPOSITOR_LIBS)
|
|
|
|
|
|
|
|
if ENABLE_DRM_COMPOSITOR
|
|
|
|
drm_compositor_sources = compositor-drm.c tty.c evdev.c
|
|
|
|
drm_sources = drm.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_X11_COMPOSITOR
|
|
|
|
x11_compositor_sources = compositor-x11.c
|
|
|
|
drm_sources = drm.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WAYLAND_COMPOSITOR
|
|
|
|
wayland_compositor_sources = compositor-wayland.c
|
|
|
|
drm_sources = drm.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
compositor_SOURCES = \
|
|
|
|
compositor.c \
|
|
|
|
compositor.h \
|
|
|
|
screenshooter.c \
|
|
|
|
screenshooter-protocol.c \
|
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
shm.c \
|
|
|
|
$(drm_compositor_sources) \
|
|
|
|
$(x11_compositor_sources) \
|
|
|
|
$(wayland_compositor_sources) \
|
|
|
|
$(drm_sources)
|
|
|
|
|
|
|
|
udevrulesddir = $(sysconfdir)/udev/rules.d
|
|
|
|
|
|
|
|
dist_udevrulesd_DATA = \
|
|
|
|
70-wayland.rules
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
screenshooter-protocol.c
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
include $(top_srcdir)/wayland/scanner.mk
|