2012-01-25 23:02:05 +04:00
|
|
|
bin_PROGRAMS = \
|
2012-08-15 20:12:33 +04:00
|
|
|
weston-info \
|
2012-01-25 23:02:05 +04:00
|
|
|
$(terminal)
|
|
|
|
|
2013-09-13 05:58:59 +04:00
|
|
|
demo_clients = \
|
2013-07-14 19:26:23 +04:00
|
|
|
$(clients_programs) \
|
|
|
|
$(pango_programs) \
|
|
|
|
$(poppler_programs) \
|
|
|
|
$(simple_clients_programs) \
|
|
|
|
$(simple_egl_clients_programs)
|
2013-09-13 05:58:59 +04:00
|
|
|
|
|
|
|
if ENABLE_DEMO_CLIENTS
|
|
|
|
bin_PROGRAMS += $(demo_clients)
|
2013-07-14 19:26:23 +04:00
|
|
|
else
|
2013-09-13 05:58:59 +04:00
|
|
|
noinst_PROGRAMS = $(demo_clients)
|
2013-07-14 19:26:23 +04:00
|
|
|
endif
|
2011-07-21 17:35:40 +04:00
|
|
|
|
2012-01-25 23:02:05 +04:00
|
|
|
libexec_PROGRAMS = \
|
|
|
|
$(desktop_shell) \
|
2012-03-24 02:42:04 +04:00
|
|
|
$(tablet_shell) \
|
2012-06-25 22:06:45 +04:00
|
|
|
$(screenshooter) \
|
2012-11-05 06:26:43 +04:00
|
|
|
$(screensaver) \
|
2012-11-18 22:06:50 +04:00
|
|
|
$(keyboard) \
|
|
|
|
weston-simple-im
|
2011-11-14 23:57:17 +04:00
|
|
|
|
2012-04-17 17:49:12 +04:00
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
|
|
|
-DBINDIR='"$(bindir)"' \
|
|
|
|
$(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS)
|
|
|
|
|
2011-07-21 17:35:40 +04:00
|
|
|
if BUILD_SIMPLE_CLIENTS
|
2012-01-25 23:02:05 +04:00
|
|
|
simple_clients_programs = \
|
2013-07-14 19:26:22 +04:00
|
|
|
weston-simple-shm \
|
2013-09-19 20:32:01 +04:00
|
|
|
weston-simple-touch \
|
|
|
|
weston-multi-resource
|
2012-01-25 23:02:05 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_simple_shm_SOURCES = simple-shm.c \
|
2012-06-06 17:59:43 +04:00
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
|
|
|
|
weston_simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
|
2011-12-22 07:54:49 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_simple_touch_SOURCES = simple-touch.c \
|
2012-06-06 17:59:43 +04:00
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
|
|
|
|
weston_simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
|
2013-09-19 20:32:01 +04:00
|
|
|
|
|
|
|
weston_multi_resource_SOURCES = multi-resource.c \
|
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
|
|
|
weston_multi_resource_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
|
2013-09-23 14:25:29 +04:00
|
|
|
weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
|
2011-07-21 17:35:40 +04:00
|
|
|
endif
|
|
|
|
|
2012-10-16 18:27:20 +04:00
|
|
|
if BUILD_SIMPLE_EGL_CLIENTS
|
2013-07-30 13:47:03 +04:00
|
|
|
simple_egl_clients_programs = \
|
|
|
|
weston-simple-egl
|
2012-10-16 18:27:20 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_simple_egl_SOURCES = simple-egl.c
|
|
|
|
weston_simple_egl_CPPFLAGS = $(SIMPLE_EGL_CLIENT_CFLAGS)
|
|
|
|
weston_simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
|
2012-10-16 18:27:20 +04:00
|
|
|
endif
|
|
|
|
|
2011-07-21 17:35:40 +04:00
|
|
|
if BUILD_CLIENTS
|
2012-01-25 23:02:05 +04:00
|
|
|
terminal = weston-terminal
|
|
|
|
|
2011-09-07 02:02:34 +04:00
|
|
|
clients_programs = \
|
2013-07-14 19:26:22 +04:00
|
|
|
weston-flower \
|
|
|
|
weston-image \
|
|
|
|
weston-cliptest \
|
|
|
|
weston-dnd \
|
|
|
|
weston-smoke \
|
|
|
|
weston-resizor \
|
|
|
|
weston-eventdemo \
|
|
|
|
weston-clickdot \
|
|
|
|
weston-transformed \
|
|
|
|
weston-fullscreen \
|
|
|
|
weston-calibrator \
|
clients: add subsurfaces demo
Add a demo program with:
- a main surface (green)
- a Cairo-image sub-surface (red)
- a raw GLESv2 widget (triangle)
Sub-surface input region is set empty to avoid problems in toytoolkit.
If Cairo links to libGL, then we will end up with also libGLESv2 linked
to subsurfaces program, and both libs getting really used, which leads
to disaster.
Do not build subsurfaces demo, if Cairo links to libGL and cairo-egl is
usable.
The GL rendering loop is not tied to the toytoolkit or the widget, but
runs directly from its own frame callback. Therefore it runs
independent of the rest of the application. This also relies on one of
two things:
- eglSwapInterval(0) is implemented, and therefore eglSwapBuffers never
blocks indefinitely, or
- toytoolkit has a workaround, that guarantees that eglSwapBuffers will
return soon, when we force a repaint on resize.
Otherwise the demo will deadlock.
The code is separated into three sections:
1. The library component, using only EGL, GLESv2, and libwayland-client
APIs, and not aware of any toolkit details of the parent application.
This runs independently until the parent application tells otherwise.
2. The glue code: a toytoolkit application widget, who has its own
rendering machinery.
3. The application written in toytoolkit.
This patch also adds new toytoolkit interfaces:
- widget_get_wl_surface()
- widget_get_last_time()
- widget_input_region_add()
Toytoolkit applications have not had a possibility to change the input
region. The frame widget (decorations) set the input region on its own
when used, otherwise the default input region of everything has been
used. If a window does not have a frame widget, it can now use
widget_input_region_add() to set a custom input region.
These are not window methods, because a widget may lie on a different
wl_surface (sub-surface) than the window.
Changes in v3:
- replace set_commit_mode with set_sync and set_desync
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-04-25 14:57:50 +04:00
|
|
|
$(subsurfaces) \
|
2013-06-04 15:05:22 +04:00
|
|
|
$(full_gl_client_programs) \
|
|
|
|
$(cairo_glesv2_programs)
|
2011-11-14 23:57:17 +04:00
|
|
|
|
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.
2012-01-03 19:29:47 +04:00
|
|
|
desktop_shell = weston-desktop-shell
|
2012-10-16 18:27:22 +04:00
|
|
|
|
|
|
|
if ENABLE_TABLET_SHELL
|
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.
2012-01-03 19:29:47 +04:00
|
|
|
tablet_shell = weston-tablet-shell
|
2012-10-16 18:27:22 +04:00
|
|
|
endif
|
|
|
|
|
2012-03-24 02:42:04 +04:00
|
|
|
screenshooter = weston-screenshooter
|
2011-01-11 21:48:03 +03:00
|
|
|
|
2013-01-29 00:35:03 +04:00
|
|
|
noinst_LTLIBRARIES = libtoytoolkit.la
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2013-01-29 00:35:03 +04:00
|
|
|
libtoytoolkit_la_SOURCES = \
|
2010-10-13 01:24:20 +04:00
|
|
|
window.c \
|
2012-05-28 00:25:02 +04:00
|
|
|
window.h \
|
|
|
|
text-cursor-position-protocol.c \
|
2012-08-30 00:13:02 +04:00
|
|
|
text-cursor-position-client-protocol.h \
|
|
|
|
workspaces-protocol.c \
|
|
|
|
workspaces-client-protocol.h
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2013-01-29 00:35:03 +04:00
|
|
|
libtoytoolkit_la_LIBADD = \
|
|
|
|
$(CLIENT_LIBS) \
|
|
|
|
$(CAIRO_EGL_LIBS) \
|
|
|
|
../shared/libshared-cairo.la -lrt -lm
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_flower_SOURCES = flower.c
|
|
|
|
weston_flower_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2012-12-14 19:18:39 +04:00
|
|
|
weston_screenshooter_SOURCES = \
|
|
|
|
screenshot.c \
|
|
|
|
screenshooter-protocol.c \
|
2013-08-13 08:45:19 +04:00
|
|
|
screenshooter-client-protocol.h \
|
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
|
|
|
weston_screenshooter_LDADD = $(CLIENT_LIBS)
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2012-01-25 23:02:05 +04:00
|
|
|
weston_terminal_SOURCES = terminal.c
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_terminal_LDADD = libtoytoolkit.la -lutil
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_image_SOURCES = image.c
|
|
|
|
weston_image_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_cliptest_SOURCES = cliptest.c
|
|
|
|
weston_cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS)
|
|
|
|
weston_cliptest_LDADD = libtoytoolkit.la $(PIXMAN_LIBS)
|
2012-09-11 18:02:04 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_dnd_SOURCES = dnd.c
|
|
|
|
weston_dnd_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_smoke_SOURCES = smoke.c
|
|
|
|
weston_smoke_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_resizor_SOURCES = resizor.c
|
|
|
|
weston_resizor_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2013-06-04 15:05:22 +04:00
|
|
|
if HAVE_CAIRO_GLESV2
|
2013-07-14 19:26:22 +04:00
|
|
|
cairo_glesv2_programs = weston-nested weston-nested-client
|
2013-06-04 15:05:22 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_nested_SOURCES = nested.c
|
|
|
|
weston_nested_LDADD = libtoytoolkit.la $(SERVER_LIBS)
|
2013-04-12 05:47:41 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_nested_client_SOURCES = nested-client.c
|
|
|
|
weston_nested_client_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
|
2013-06-04 15:05:22 +04:00
|
|
|
endif
|
2013-04-12 05:47:41 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_eventdemo_SOURCES = eventdemo.c
|
|
|
|
weston_eventdemo_LDADD = libtoytoolkit.la
|
2011-01-21 18:56:07 +03:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_clickdot_SOURCES = clickdot.c
|
|
|
|
weston_clickdot_LDADD = libtoytoolkit.la
|
2012-01-20 13:09:13 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_transformed_SOURCES = transformed.c
|
|
|
|
weston_transformed_LDADD = libtoytoolkit.la
|
2012-11-30 19:34:26 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_fullscreen_SOURCES = fullscreen.c
|
|
|
|
weston_fullscreen_LDADD = libtoytoolkit.la
|
2013-05-28 18:23:34 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_calibrator_SOURCES = calibrator.c \
|
|
|
|
../shared/matrix.c \
|
|
|
|
../shared/matrix.h
|
|
|
|
weston_calibrator_LDADD = libtoytoolkit.la
|
2012-12-03 23:44:15 +04:00
|
|
|
|
clients: add subsurfaces demo
Add a demo program with:
- a main surface (green)
- a Cairo-image sub-surface (red)
- a raw GLESv2 widget (triangle)
Sub-surface input region is set empty to avoid problems in toytoolkit.
If Cairo links to libGL, then we will end up with also libGLESv2 linked
to subsurfaces program, and both libs getting really used, which leads
to disaster.
Do not build subsurfaces demo, if Cairo links to libGL and cairo-egl is
usable.
The GL rendering loop is not tied to the toytoolkit or the widget, but
runs directly from its own frame callback. Therefore it runs
independent of the rest of the application. This also relies on one of
two things:
- eglSwapInterval(0) is implemented, and therefore eglSwapBuffers never
blocks indefinitely, or
- toytoolkit has a workaround, that guarantees that eglSwapBuffers will
return soon, when we force a repaint on resize.
Otherwise the demo will deadlock.
The code is separated into three sections:
1. The library component, using only EGL, GLESv2, and libwayland-client
APIs, and not aware of any toolkit details of the parent application.
This runs independently until the parent application tells otherwise.
2. The glue code: a toytoolkit application widget, who has its own
rendering machinery.
3. The application written in toytoolkit.
This patch also adds new toytoolkit interfaces:
- widget_get_wl_surface()
- widget_get_last_time()
- widget_input_region_add()
Toytoolkit applications have not had a possibility to change the input
region. The frame widget (decorations) set the input region on its own
when used, otherwise the default input region of everything has been
used. If a window does not have a frame widget, it can now use
widget_input_region_add() to set a custom input region.
These are not window methods, because a widget may lie on a different
wl_surface (sub-surface) than the window.
Changes in v3:
- replace set_commit_mode with set_sync and set_desync
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-04-25 14:57:50 +04:00
|
|
|
if BUILD_SUBSURFACES_CLIENT
|
2013-07-14 19:26:22 +04:00
|
|
|
subsurfaces = weston-subsurfaces
|
|
|
|
weston_subsurfaces_SOURCES = subsurfaces.c
|
|
|
|
weston_subsurfaces_CPPFLAGS = $(AM_CPPFLAGS) $(SIMPLE_EGL_CLIENT_CFLAGS)
|
|
|
|
weston_subsurfaces_LDADD = libtoytoolkit.la $(SIMPLE_EGL_CLIENT_LIBS) -lm
|
clients: add subsurfaces demo
Add a demo program with:
- a main surface (green)
- a Cairo-image sub-surface (red)
- a raw GLESv2 widget (triangle)
Sub-surface input region is set empty to avoid problems in toytoolkit.
If Cairo links to libGL, then we will end up with also libGLESv2 linked
to subsurfaces program, and both libs getting really used, which leads
to disaster.
Do not build subsurfaces demo, if Cairo links to libGL and cairo-egl is
usable.
The GL rendering loop is not tied to the toytoolkit or the widget, but
runs directly from its own frame callback. Therefore it runs
independent of the rest of the application. This also relies on one of
two things:
- eglSwapInterval(0) is implemented, and therefore eglSwapBuffers never
blocks indefinitely, or
- toytoolkit has a workaround, that guarantees that eglSwapBuffers will
return soon, when we force a repaint on resize.
Otherwise the demo will deadlock.
The code is separated into three sections:
1. The library component, using only EGL, GLESv2, and libwayland-client
APIs, and not aware of any toolkit details of the parent application.
This runs independently until the parent application tells otherwise.
2. The glue code: a toytoolkit application widget, who has its own
rendering machinery.
3. The application written in toytoolkit.
This patch also adds new toytoolkit interfaces:
- widget_get_wl_surface()
- widget_get_last_time()
- widget_input_region_add()
Toytoolkit applications have not had a possibility to change the input
region. The frame widget (decorations) set the input region on its own
when used, otherwise the default input region of everything has been
used. If a window does not have a frame widget, it can now use
widget_input_region_add() to set a custom input region.
These are not window methods, because a widget may lie on a different
wl_surface (sub-surface) than the window.
Changes in v3:
- replace set_commit_mode with set_sync and set_desync
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-04-25 14:57:50 +04:00
|
|
|
endif
|
|
|
|
|
2013-01-17 00:26:42 +04:00
|
|
|
if HAVE_PANGO
|
2013-07-14 19:26:22 +04:00
|
|
|
pango_programs = weston-editor
|
|
|
|
weston_editor_SOURCES = \
|
2012-06-21 23:52:19 +04:00
|
|
|
editor.c \
|
|
|
|
text-protocol.c \
|
|
|
|
text-client-protocol.h
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_editor_LDADD = libtoytoolkit.la $(PANGO_LIBS)
|
|
|
|
weston_editor_CPPFLAGS = $(AM_CPPFLAGS) $(PANGO_CFLAGS)
|
2013-01-17 00:26:42 +04:00
|
|
|
endif
|
2012-06-21 23:52:19 +04:00
|
|
|
|
2012-11-05 06:26:43 +04:00
|
|
|
keyboard = weston-keyboard
|
|
|
|
weston_keyboard_SOURCES = \
|
2012-06-21 23:52:19 +04:00
|
|
|
keyboard.c \
|
|
|
|
desktop-shell-client-protocol.h \
|
|
|
|
desktop-shell-protocol.c \
|
2012-09-10 01:08:41 +04:00
|
|
|
input-method-protocol.c \
|
|
|
|
input-method-client-protocol.h
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_keyboard_LDADD = libtoytoolkit.la
|
2012-06-21 23:52:19 +04:00
|
|
|
|
2012-11-18 22:06:50 +04:00
|
|
|
weston_simple_im_SOURCES = \
|
|
|
|
weston-simple-im.c \
|
|
|
|
input-method-protocol.c \
|
|
|
|
input-method-client-protocol.h
|
2012-11-27 23:07:22 +04:00
|
|
|
weston_simple_im_LDADD = $(CLIENT_LIBS)
|
2012-11-18 22:06:50 +04:00
|
|
|
|
2012-08-15 19:12:00 +04:00
|
|
|
weston_info_SOURCES = \
|
|
|
|
weston-info.c \
|
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
|
|
|
weston_info_LDADD = $(WESTON_INFO_LIBS)
|
|
|
|
|
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.
2012-01-03 19:29:47 +04:00
|
|
|
weston_desktop_shell_SOURCES = \
|
2011-09-07 02:02:34 +04:00
|
|
|
desktop-shell.c \
|
|
|
|
desktop-shell-client-protocol.h \
|
|
|
|
desktop-shell-protocol.c
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_desktop_shell_LDADD = libtoytoolkit.la
|
2011-09-07 02:02:34 +04:00
|
|
|
|
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.
2012-01-03 19:29:47 +04:00
|
|
|
weston_tablet_shell_SOURCES = \
|
2011-11-27 02:36:23 +04:00
|
|
|
tablet-shell.c \
|
|
|
|
tablet-shell-client-protocol.h \
|
|
|
|
tablet-shell-protocol.c
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_tablet_shell_LDADD = libtoytoolkit.la
|
2011-11-27 02:36:23 +04:00
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
screenshooter-client-protocol.h \
|
2011-09-07 02:02:34 +04:00
|
|
|
screenshooter-protocol.c \
|
2012-05-28 00:25:02 +04:00
|
|
|
text-cursor-position-client-protocol.h \
|
|
|
|
text-cursor-position-protocol.c \
|
2012-06-21 23:52:19 +04:00
|
|
|
text-protocol.c \
|
|
|
|
text-client-protocol.h \
|
2012-09-10 01:08:41 +04:00
|
|
|
input-method-protocol.c \
|
|
|
|
input-method-client-protocol.h \
|
2011-09-07 02:02:34 +04:00
|
|
|
desktop-shell-client-protocol.h \
|
2011-11-27 02:36:23 +04:00
|
|
|
desktop-shell-protocol.c \
|
|
|
|
tablet-shell-client-protocol.h \
|
2012-08-30 00:13:02 +04:00
|
|
|
tablet-shell-protocol.c \
|
|
|
|
workspaces-client-protocol.h \
|
|
|
|
workspaces-protocol.c
|
2010-10-13 01:24:20 +04:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2011-07-21 17:35:40 +04:00
|
|
|
endif
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2012-01-18 23:50:58 +04:00
|
|
|
if BUILD_FULL_GL_CLIENTS
|
2013-07-14 19:26:22 +04:00
|
|
|
full_gl_client_programs = weston-gears
|
2012-01-18 23:50:58 +04:00
|
|
|
|
2013-07-14 19:26:22 +04:00
|
|
|
weston_gears_SOURCES = gears.c
|
|
|
|
weston_gears_LDADD = libtoytoolkit.la
|
2012-01-18 23:50:58 +04:00
|
|
|
|
2012-10-29 21:06:02 +04:00
|
|
|
if HAVE_GLU
|
2012-06-25 22:06:45 +04:00
|
|
|
screensaver = weston-screensaver
|
|
|
|
weston_screensaver_SOURCES = \
|
2012-01-18 23:50:58 +04:00
|
|
|
wscreensaver.c \
|
|
|
|
wscreensaver.h \
|
|
|
|
desktop-shell-client-protocol.h \
|
|
|
|
desktop-shell-protocol.c \
|
|
|
|
wscreensaver-glue.c \
|
|
|
|
wscreensaver-glue.h \
|
|
|
|
glmatrix.c \
|
|
|
|
matrix3.xpm
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_screensaver_LDADD = libtoytoolkit.la $(GLU_LIBS)
|
2012-10-30 01:15:54 +04:00
|
|
|
weston_screensaver_CFLAGS = $(GLU_CFLAGS)
|
2012-10-29 21:06:02 +04:00
|
|
|
endif
|
|
|
|
|
2012-01-18 23:50:58 +04:00
|
|
|
endif
|
|
|
|
|
2013-08-20 11:56:52 +04:00
|
|
|
wayland_protocoldir = $(top_srcdir)/protocol
|
|
|
|
include $(top_srcdir)/wayland-scanner.mk
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-01-11 21:48:03 +03:00
|
|
|
if HAVE_POPPLER
|
2013-07-14 19:26:22 +04:00
|
|
|
poppler_programs = weston-view
|
|
|
|
weston_view_SOURCES = view.c
|
|
|
|
weston_view_LDADD = libtoytoolkit.la $(POPPLER_LIBS)
|
|
|
|
weston_view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)
|
2011-01-11 21:48:03 +03:00
|
|
|
endif
|