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)
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
$(clients_programs) \
|
|
|
|
$(poppler_programs) \
|
2012-10-16 18:27:20 +04:00
|
|
|
$(simple_clients_programs) \
|
|
|
|
$(simple_egl_clients_programs)
|
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 = \
|
|
|
|
simple-shm \
|
|
|
|
simple-touch
|
|
|
|
|
2012-06-06 17:59:43 +04:00
|
|
|
simple_shm_SOURCES = simple-shm.c \
|
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
2012-04-17 17:49:12 +04:00
|
|
|
simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
|
2011-07-21 17:35:40 +04:00
|
|
|
simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
|
2011-12-22 07:54:49 +04:00
|
|
|
|
2012-06-06 17:59:43 +04:00
|
|
|
simple_touch_SOURCES = simple-touch.c \
|
|
|
|
../shared/os-compatibility.c \
|
|
|
|
../shared/os-compatibility.h
|
2012-04-17 17:49:12 +04:00
|
|
|
simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
|
2011-12-22 07:54:49 +04:00
|
|
|
simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
|
2011-07-21 17:35:40 +04:00
|
|
|
endif
|
|
|
|
|
2012-10-16 18:27:20 +04:00
|
|
|
if BUILD_SIMPLE_EGL_CLIENTS
|
|
|
|
simple_egl_clients_programs = \
|
2012-11-30 19:34:26 +04:00
|
|
|
simple-egl
|
2012-10-16 18:27:20 +04:00
|
|
|
|
|
|
|
simple_egl_SOURCES = simple-egl.c
|
|
|
|
simple_egl_CPPFLAGS = $(SIMPLE_EGL_CLIENT_CFLAGS)
|
|
|
|
simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
|
|
|
|
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 = \
|
2011-01-11 21:48:03 +03:00
|
|
|
flower \
|
|
|
|
image \
|
2012-09-11 18:02:04 +04:00
|
|
|
cliptest \
|
2011-01-11 21:48:03 +03:00
|
|
|
dnd \
|
|
|
|
smoke \
|
2011-01-15 02:40:17 +03:00
|
|
|
resizor \
|
2012-01-18 23:50:58 +04:00
|
|
|
eventdemo \
|
2012-01-20 13:09:13 +04:00
|
|
|
clickdot \
|
2012-06-21 23:52:19 +04:00
|
|
|
editor \
|
2012-11-30 19:34:26 +04:00
|
|
|
transformed \
|
2012-12-03 23:44:15 +04:00
|
|
|
calibrator \
|
2012-01-18 23:50:58 +04:00
|
|
|
$(full_gl_client_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
|
|
|
|
|
|
|
flower_SOURCES = flower.c
|
2013-01-29 00:35:03 +04:00
|
|
|
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 \
|
|
|
|
screenshooter-client-protocol.h
|
2013-01-29 00:35:03 +04:00
|
|
|
weston_screenshooter_LDADD = libtoytoolkit.la
|
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
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
image_SOURCES = image.c
|
2013-01-29 00:35:03 +04:00
|
|
|
image_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2012-09-11 18:02:04 +04:00
|
|
|
cliptest_SOURCES = cliptest.c
|
|
|
|
cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS)
|
2013-01-29 01:03:51 +04:00
|
|
|
cliptest_LDADD = libtoytoolkit.la $(PIXMAN_LIBS)
|
2012-09-11 18:02:04 +04:00
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
dnd_SOURCES = dnd.c
|
2013-01-29 00:35:03 +04:00
|
|
|
dnd_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
|
|
|
smoke_SOURCES = smoke.c
|
2013-01-29 00:35:03 +04:00
|
|
|
smoke_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2010-12-16 21:35:23 +03:00
|
|
|
resizor_SOURCES = resizor.c
|
2013-01-29 00:35:03 +04:00
|
|
|
resizor_LDADD = libtoytoolkit.la
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2011-01-21 18:56:07 +03:00
|
|
|
eventdemo_SOURCES = eventdemo.c
|
2013-01-29 00:35:03 +04:00
|
|
|
eventdemo_LDADD = libtoytoolkit.la
|
2011-01-21 18:56:07 +03:00
|
|
|
|
2012-01-20 13:09:13 +04:00
|
|
|
clickdot_SOURCES = clickdot.c
|
2013-01-29 00:35:03 +04:00
|
|
|
clickdot_LDADD = libtoytoolkit.la
|
2012-01-20 13:09:13 +04:00
|
|
|
|
2012-11-30 19:34:26 +04:00
|
|
|
transformed_SOURCES = transformed.c
|
2013-01-29 00:35:03 +04:00
|
|
|
transformed_LDADD = libtoytoolkit.la
|
2012-11-30 19:34:26 +04:00
|
|
|
|
2012-12-08 00:00:32 +04:00
|
|
|
calibrator_SOURCES = calibrator.c ../shared/matrix.c ../shared/matrix.h
|
2013-01-29 00:35:03 +04:00
|
|
|
calibrator_LDADD = libtoytoolkit.la
|
2012-12-03 23:44:15 +04:00
|
|
|
|
2012-06-21 23:52:19 +04:00
|
|
|
editor_SOURCES = \
|
|
|
|
editor.c \
|
|
|
|
text-protocol.c \
|
|
|
|
text-client-protocol.h
|
2013-01-29 00:35:03 +04:00
|
|
|
editor_LDADD = libtoytoolkit.la
|
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
|
2012-06-25 22:06:45 +04:00
|
|
|
full_gl_client_programs = gears
|
2012-01-18 23:50:58 +04:00
|
|
|
|
|
|
|
gears_SOURCES = gears.c
|
2013-01-29 00:35:03 +04:00
|
|
|
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
|
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
@wayland_scanner_rules@
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-01-11 21:48:03 +03:00
|
|
|
if HAVE_POPPLER
|
|
|
|
poppler_programs = view
|
|
|
|
view_SOURCES = view.c
|
2013-01-29 00:35:03 +04:00
|
|
|
view_LDADD = libtoytoolkit.la $(POPPLER_LIBS)
|
2011-01-15 17:06:37 +03:00
|
|
|
view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)
|
2011-01-11 21:48:03 +03:00
|
|
|
endif
|