Rename wayland-compositor to weston
This rename addresses a few problems around the split between core
Wayland and the wayland-demos repository.
1) Initially, we had one big repository with protocol code, sample
compositor and sample clients. We split that repository to make it
possible to implement the protocol without pulling in the sample/demo
code. At this point, the compositor is more than just a "demo" and
wayland-demos doesn't send the right message. The sample compositor
is a useful, self-contained project in it's own right, and we want to
move away from the "demos" label.
2) Another problem is that the wayland-demos compositor is often
called "the wayland compsitor", but it's really just one possible
compositor. Existing X11 compositors are expected to add Wayland
support and then gradually phase out/modularize the X11 support, for
example. Conversely, it's hard to talk about the wayland-demos
compositor specifically as opposed to, eg, the wayland protocol or a
wayland compositor in general.
We are also renaming the repo to weston, and the compositor
subdirectory to src/, to emphasize that the main "output" is the
compositor.
13 years ago
|
|
|
bin_PROGRAMS = weston
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
|
|
|
-DMODULEDIR='"$(moduledir)"' \
|
|
|
|
-DLIBEXECDIR='"$(libexecdir)"' \
|
|
|
|
-DXSERVER_PATH='"@XSERVER_PATH@"' \
|
|
|
|
$(COMPOSITOR_CFLAGS)
|
|
|
|
|
Rename wayland-compositor to weston
This rename addresses a few problems around the split between core
Wayland and the wayland-demos repository.
1) Initially, we had one big repository with protocol code, sample
compositor and sample clients. We split that repository to make it
possible to implement the protocol without pulling in the sample/demo
code. At this point, the compositor is more than just a "demo" and
wayland-demos doesn't send the right message. The sample compositor
is a useful, self-contained project in it's own right, and we want to
move away from the "demos" label.
2) Another problem is that the wayland-demos compositor is often
called "the wayland compsitor", but it's really just one possible
compositor. Existing X11 compositors are expected to add Wayland
support and then gradually phase out/modularize the X11 support, for
example. Conversely, it's hard to talk about the wayland-demos
compositor specifically as opposed to, eg, the wayland protocol or a
wayland compositor in general.
We are also renaming the repo to weston, and the compositor
subdirectory to src/, to emphasize that the main "output" is the
compositor.
13 years ago
|
|
|
weston_LDFLAGS = -export-dynamic
|
|
|
|
weston_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
weston_LDADD = \
|
|
|
|
$(COMPOSITOR_LIBS) $(DLOPEN_LIBS) $(XSERVER_LAUNCHER_LIBS) -lm \
|
|
|
|
../shared/libconfig-parser.la
|
|
|
|
|
Rename wayland-compositor to weston
This rename addresses a few problems around the split between core
Wayland and the wayland-demos repository.
1) Initially, we had one big repository with protocol code, sample
compositor and sample clients. We split that repository to make it
possible to implement the protocol without pulling in the sample/demo
code. At this point, the compositor is more than just a "demo" and
wayland-demos doesn't send the right message. The sample compositor
is a useful, self-contained project in it's own right, and we want to
move away from the "demos" label.
2) Another problem is that the wayland-demos compositor is often
called "the wayland compsitor", but it's really just one possible
compositor. Existing X11 compositors are expected to add Wayland
support and then gradually phase out/modularize the X11 support, for
example. Conversely, it's hard to talk about the wayland-demos
compositor specifically as opposed to, eg, the wayland protocol or a
wayland compositor in general.
We are also renaming the repo to weston, and the compositor
subdirectory to src/, to emphasize that the main "output" is the
compositor.
13 years ago
|
|
|
weston_SOURCES = \
|
|
|
|
compositor.c \
|
|
|
|
compositor.h \
|
|
|
|
screenshooter.c \
|
|
|
|
screenshooter-protocol.c \
|
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
util.c \
|
|
|
|
matrix.c \
|
|
|
|
matrix.h \
|
|
|
|
$(xserver_launcher_sources)
|
|
|
|
|
|
|
|
if ENABLE_SETUID_INSTALL
|
|
|
|
install-exec-hook:
|
|
|
|
chown root $(DESTDIR)$(bindir)/weston
|
|
|
|
chmod u+s $(DESTDIR)$(bindir)/weston
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_XSERVER_LAUNCHER
|
|
|
|
xserver_launcher_sources = \
|
|
|
|
xserver-launcher.c \
|
|
|
|
xserver-protocol.c \
|
|
|
|
xserver-server-protocol.h \
|
|
|
|
hash.c \
|
|
|
|
hash.h
|
|
|
|
endif
|
|
|
|
|
Rename wayland-compositor to weston
This rename addresses a few problems around the split between core
Wayland and the wayland-demos repository.
1) Initially, we had one big repository with protocol code, sample
compositor and sample clients. We split that repository to make it
possible to implement the protocol without pulling in the sample/demo
code. At this point, the compositor is more than just a "demo" and
wayland-demos doesn't send the right message. The sample compositor
is a useful, self-contained project in it's own right, and we want to
move away from the "demos" label.
2) Another problem is that the wayland-demos compositor is often
called "the wayland compsitor", but it's really just one possible
compositor. Existing X11 compositors are expected to add Wayland
support and then gradually phase out/modularize the X11 support, for
example. Conversely, it's hard to talk about the wayland-demos
compositor specifically as opposed to, eg, the wayland protocol or a
wayland compositor in general.
We are also renaming the repo to weston, and the compositor
subdirectory to src/, to emphasize that the main "output" is the
compositor.
13 years ago
|
|
|
moduledir = @libdir@/weston
|
|
|
|
module_LTLIBRARIES = \
|
|
|
|
$(desktop_shell) \
|
|
|
|
$(tablet_shell) \
|
|
|
|
$(x11_backend) \
|
|
|
|
$(drm_backend) \
|
|
|
|
$(wayland_backend) \
|
|
|
|
$(openwfd_backend)
|
|
|
|
|
|
|
|
if ENABLE_X11_COMPOSITOR
|
|
|
|
x11_backend = x11-backend.la
|
|
|
|
x11_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
x11_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(X11_COMPOSITOR_LIBS) \
|
|
|
|
../shared/libconfig-parser.la
|
|
|
|
x11_backend_la_CFLAGS = $(X11_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
|
|
|
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)
|
|
|
|
drm_backend_la_CFLAGS = $(DRM_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
|
|
|
drm_backend_la_SOURCES = \
|
|
|
|
compositor-drm.c \
|
|
|
|
tty.c \
|
|
|
|
evdev.c \
|
|
|
|
evdev.h \
|
|
|
|
libbacklight.c \
|
|
|
|
libbacklight.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WAYLAND_COMPOSITOR
|
|
|
|
wayland_backend = wayland-backend.la
|
|
|
|
wayland_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
wayland_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(WAYLAND_COMPOSITOR_LIBS) \
|
|
|
|
../shared/libconfig-parser.la
|
|
|
|
wayland_backend_la_CFLAGS = $(WAYLAND_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
|
|
|
wayland_backend_la_SOURCES = compositor-wayland.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_OPENWFD_COMPOSITOR
|
|
|
|
openwfd_backend = openwfd-backend.la
|
|
|
|
openwfd_backend_la_LDFLAGS = -module -avoid-version
|
|
|
|
openwfd_backend_la_LIBADD = $(COMPOSITOR_LIBS) $(OPENWFD_COMPOSITOR_LIBS)
|
|
|
|
openwfd_backend_la_CFLAGS = $(OPENWFD_COMPOSITOR_CFLAGS) $(GCC_CFLAGS)
|
|
|
|
openwfd_backend_la_SOURCES = compositor-openwfd.c tty.c evdev.c evdev.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_DESKTOP_SHELL
|
|
|
|
desktop_shell = desktop-shell.la
|
|
|
|
desktop_shell_la_LDFLAGS = -module -avoid-version
|
|
|
|
desktop_shell_la_LIBADD = $(COMPOSITOR_LIBS) \
|
|
|
|
../shared/libconfig-parser.la
|
|
|
|
desktop_shell_la_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
desktop_shell_la_SOURCES = \
|
|
|
|
shell.c \
|
|
|
|
desktop-shell-protocol.c \
|
|
|
|
desktop-shell-server-protocol.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_TABLET_SHELL
|
|
|
|
tablet_shell = tablet-shell.la
|
|
|
|
tablet_shell_la_LDFLAGS = -module -avoid-version
|
|
|
|
tablet_shell_la_LIBADD = $(COMPOSITOR_LIBS)
|
|
|
|
tablet_shell_la_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
tablet_shell_la_SOURCES = \
|
|
|
|
tablet-shell.c \
|
|
|
|
tablet-shell-protocol.c \
|
|
|
|
tablet-shell-server-protocol.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
screenshooter-server-protocol.h \
|
|
|
|
screenshooter-protocol.c \
|
|
|
|
tablet-shell-protocol.c \
|
|
|
|
tablet-shell-server-protocol.h \
|
|
|
|
xserver-protocol.c \
|
|
|
|
xserver-server-protocol.h \
|
|
|
|
desktop-shell-protocol.c \
|
|
|
|
desktop-shell-server-protocol.h
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
@wayland_scanner_rules@
|