2010-10-13 01:24:20 +04:00
|
|
|
noinst_PROGRAMS = compositor
|
|
|
|
|
2011-01-24 19:27:27 +03:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
2010-10-31 21:24:39 +03:00
|
|
|
-I$(top_builddir)/wayland \
|
2011-01-24 19:01:26 +03:00
|
|
|
-I$(top_srcdir)/wayland \
|
2010-10-31 21:24:39 +03:00
|
|
|
$(COMPOSITOR_CFLAGS)
|
|
|
|
|
2010-12-01 17:46:10 +03:00
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
compositor_LDADD = \
|
2010-10-13 01:24:20 +04:00
|
|
|
$(COMPOSITOR_LIBS)
|
|
|
|
|
2011-01-15 01:22:35 +03:00
|
|
|
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
|
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
compositor_SOURCES = \
|
|
|
|
compositor.c \
|
|
|
|
compositor.h \
|
2011-01-18 15:53:49 +03:00
|
|
|
shell.c \
|
2010-10-13 01:24:20 +04:00
|
|
|
screenshooter.c \
|
|
|
|
screenshooter-protocol.c \
|
|
|
|
screenshooter-server-protocol.h \
|
2011-01-15 01:22:35 +03:00
|
|
|
shm.c \
|
|
|
|
$(drm_compositor_sources) \
|
|
|
|
$(x11_compositor_sources) \
|
|
|
|
$(wayland_compositor_sources) \
|
|
|
|
$(drm_sources)
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2010-11-24 22:29:59 +03:00
|
|
|
udevrulesddir = $(sysconfdir)/udev/rules.d
|
2010-11-08 16:54:35 +03:00
|
|
|
|
2010-11-24 22:29:59 +03:00
|
|
|
dist_udevrulesd_DATA = \
|
2010-11-08 16:54:35 +03:00
|
|
|
70-wayland.rules
|
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
screenshooter-protocol.c
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
@wayland_scanner_rules@
|