You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
noinst_PROGRAMS = compositor
|
|
|
|
AM_CPPFLAGS = \
|
|
-DDATADIR='"$(datadir)"' \
|
|
-I$(top_builddir)/wayland \
|
|
-I$(top_srcdir)/wayland \
|
|
$(COMPOSITOR_CFLAGS)
|
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
compositor_LDFLAGS = -export-dynamic
|
|
compositor_LDADD = \
|
|
$(COMPOSITOR_LIBS) \
|
|
$(DLOPEN_LIBS)
|
|
|
|
if ENABLE_DRM_COMPOSITOR
|
|
drm_compositor_sources = compositor-drm.c tty.c evdev.c
|
|
endif
|
|
|
|
if ENABLE_X11_COMPOSITOR
|
|
x11_compositor_sources = compositor-x11.c
|
|
endif
|
|
|
|
if ENABLE_WAYLAND_COMPOSITOR
|
|
wayland_compositor_sources = compositor-wayland.c
|
|
endif
|
|
|
|
if ENABLE_OPENWFD_COMPOSITOR
|
|
openwfd_compositor_sources = compositor-openwfd.c
|
|
AM_CPPFLAGS += $(OPENWFD_CFLAGS)
|
|
compositor_LDADD += $(OPENWFD_LIBS)
|
|
endif
|
|
|
|
compositor_SOURCES = \
|
|
compositor.c \
|
|
compositor.h \
|
|
shell.c \
|
|
switcher.c \
|
|
screenshooter.c \
|
|
screenshooter-protocol.c \
|
|
screenshooter-server-protocol.h \
|
|
$(drm_compositor_sources) \
|
|
$(openwfd_compositor_sources) \
|
|
$(x11_compositor_sources) \
|
|
$(wayland_compositor_sources)
|
|
|
|
udevrulesddir = $(sysconfdir)/udev/rules.d
|
|
|
|
dist_udevrulesd_DATA = \
|
|
70-wayland.rules
|
|
|
|
BUILT_SOURCES = \
|
|
screenshooter-server-protocol.h \
|
|
screenshooter-protocol.c
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
@wayland_scanner_rules@
|
|
|