2011-05-03 06:09:20 +04:00
|
|
|
bin_PROGRAMS = wayland-compositor
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-01-24 19:27:27 +03:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
2011-05-03 06:09:20 +04:00
|
|
|
-DMODULEDIR='"$(moduledir)"' \
|
|
|
|
$(COMPOSITOR_CFLAGS)
|
2010-10-31 21:24:39 +03:00
|
|
|
|
2011-05-03 06:09:20 +04:00
|
|
|
wayland_compositor_LDFLAGS = -export-dynamic
|
|
|
|
wayland_compositor_LDADD = $(COMPOSITOR_LIBS) $(DLOPEN_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
wayland_compositor_CFLAGS = $(GCC_CFLAGS)
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-05-03 06:09:20 +04:00
|
|
|
wayland_compositor_SOURCES = \
|
|
|
|
compositor.c \
|
|
|
|
compositor.h \
|
|
|
|
image-loader.c \
|
|
|
|
screenshooter.c \
|
|
|
|
screenshooter-protocol.c \
|
2011-06-22 01:32:25 +04:00
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
x11-integration.c
|
2011-05-03 06:09:20 +04:00
|
|
|
|
|
|
|
udevrulesddir = $(sysconfdir)/udev/rules.d
|
|
|
|
|
|
|
|
dist_udevrulesd_DATA = \
|
|
|
|
70-wayland.rules
|
|
|
|
|
|
|
|
moduledir = @libdir@/wayland
|
|
|
|
module_LTLIBRARIES = \
|
|
|
|
$(desktop_shell) \
|
|
|
|
$(meego_tablet_shell) \
|
|
|
|
$(x11_backend) \
|
|
|
|
$(drm_backend) \
|
|
|
|
$(wayland_backend) \
|
|
|
|
$(openwfd_backend)
|
2011-01-15 01:22:35 +03:00
|
|
|
|
|
|
|
if ENABLE_X11_COMPOSITOR
|
2011-05-03 06:09:20 +04:00
|
|
|
x11_backend = x11-backend.la
|
|
|
|
x11_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
x11_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(X11_COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
x11_backend_la_CFLAGS = $(X11_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
2011-05-03 06:09:20 +04:00
|
|
|
x11_backend_la_SOURCES = compositor-x11.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_DRM_COMPOSITOR
|
|
|
|
drm_backend = drm-backend.la
|
|
|
|
drm_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
drm_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(DRM_COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
drm_backend_la_CFLAGS = $(DRM_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
2011-05-03 06:09:20 +04:00
|
|
|
drm_backend_la_SOURCES = compositor-drm.c tty.c evdev.c
|
2011-01-15 01:22:35 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WAYLAND_COMPOSITOR
|
2011-05-03 06:09:20 +04:00
|
|
|
wayland_backend = wayland-backend.la
|
|
|
|
wayland_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
wayland_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(WAYLAND_COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
wayland_backend_la_CFLAGS = $(WAYLAND_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
2011-05-03 06:09:20 +04:00
|
|
|
wayland_backend_la_SOURCES = compositor-wayland.c
|
2011-01-15 01:22:35 +03:00
|
|
|
endif
|
|
|
|
|
2011-04-04 02:30:25 +04:00
|
|
|
if ENABLE_OPENWFD_COMPOSITOR
|
2011-05-03 06:09:20 +04:00
|
|
|
openwfd_backend = openwfd-backend.la
|
|
|
|
openwfd_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
openwfd_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(OPENWFD_COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
openwfd_backend_la_CFLAGS = $(OPENWFD_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
2011-05-04 23:19:43 +04:00
|
|
|
openwfd_backend_la_SOURCES = compositor-openwfd.c tty.c evdev.c
|
2011-04-04 02:30:25 +04:00
|
|
|
endif
|
|
|
|
|
2011-05-03 06:09:20 +04:00
|
|
|
if ENABLE_DESKTOP_SHELL
|
|
|
|
desktop_shell = desktop-shell.la
|
|
|
|
desktop_shell_la_LDFLAGS = -module -avoid-version
|
|
|
|
desktop_shell_la_LIBADD = $(COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
desktop_shell_la_CFLAGS = $(GCC_CFLAGS)
|
2011-05-03 06:09:20 +04:00
|
|
|
desktop_shell_la_SOURCES = \
|
2011-01-18 15:53:49 +03:00
|
|
|
shell.c \
|
2011-05-03 06:09:20 +04:00
|
|
|
switcher.c
|
|
|
|
endif
|
2010-11-08 16:54:35 +03:00
|
|
|
|
2011-05-03 06:09:20 +04:00
|
|
|
if ENABLE_MEEGO_TABLET_SHELL
|
|
|
|
meego_tablet_shell = meego-tablet-shell.la
|
2011-04-23 21:17:43 +04:00
|
|
|
meego_tablet_shell_la_LDFLAGS = -module -avoid-version
|
|
|
|
meego_tablet_shell_la_LIBADD = $(COMPOSITOR_LIBS)
|
2011-05-06 22:49:06 +04:00
|
|
|
meego_tablet_shell_la_CFLAGS = $(GCC_CFLAGS)
|
2011-04-23 21:17:43 +04:00
|
|
|
meego_tablet_shell_la_SOURCES = \
|
|
|
|
meego-tablet-shell.c \
|
|
|
|
meego-tablet-shell.h \
|
|
|
|
meego-tablet-protocol.c \
|
|
|
|
meego-tablet-server-protocol.h
|
2011-05-03 06:09:20 +04:00
|
|
|
endif
|
2011-04-23 21:17:43 +04:00
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
screenshooter-server-protocol.h \
|
2011-04-23 21:17:43 +04:00
|
|
|
screenshooter-protocol.c \
|
|
|
|
meego-tablet-protocol.c \
|
|
|
|
meego-tablet-server-protocol.h
|
2010-10-13 01:24:20 +04:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
@wayland_scanner_rules@
|