10 $(simple_clients_programs) \
11 $(simple_egl_clients_programs)
17 $(simple_clients_programs) \
18 $(simple_egl_clients_programs)
29 AM_CFLAGS = $(GCC_CFLAGS)
31 -DDATADIR='"$(datadir)"' \
32 -DBINDIR='"$(bindir)"' \
33 $(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS)
35 if BUILD_SIMPLE_CLIENTS
36 simple_clients_programs = \
40 weston_simple_shm_SOURCES = simple-shm.c \
41 ../shared/os-compatibility.c \
42 ../shared/os-compatibility.h
43 weston_simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
44 weston_simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
46 weston_simple_touch_SOURCES = simple-touch.c \
47 ../shared/os-compatibility.c \
48 ../shared/os-compatibility.h
49 weston_simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
50 weston_simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
53 if BUILD_SIMPLE_EGL_CLIENTS
54 weston_simple_egl_clients_programs = \
57 weston_simple_egl_SOURCES = simple-egl.c
58 weston_simple_egl_CPPFLAGS = $(SIMPLE_EGL_CLIENT_CFLAGS)
59 weston_simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
63 terminal = weston-terminal
78 $(full_gl_client_programs) \
79 $(cairo_glesv2_programs)
81 desktop_shell = weston-desktop-shell
83 if ENABLE_TABLET_SHELL
84 tablet_shell = weston-tablet-shell
87 screenshooter = weston-screenshooter
89 noinst_LTLIBRARIES = libtoytoolkit.la
91 libtoytoolkit_la_SOURCES = \
94 text-cursor-position-protocol.c \
95 text-cursor-position-client-protocol.h \
96 subsurface-protocol.c \
97 subsurface-client-protocol.h \
98 workspaces-protocol.c \
99 workspaces-client-protocol.h
101 libtoytoolkit_la_LIBADD = \
104 ../shared/libshared-cairo.la -lrt -lm
106 weston_flower_SOURCES = flower.c
107 weston_flower_LDADD = libtoytoolkit.la
109 weston_screenshooter_SOURCES = \
111 screenshooter-protocol.c \
112 screenshooter-client-protocol.h
113 weston_screenshooter_LDADD = libtoytoolkit.la
115 weston_terminal_SOURCES = terminal.c
116 weston_terminal_LDADD = libtoytoolkit.la -lutil
118 weston_image_SOURCES = image.c
119 weston_image_LDADD = libtoytoolkit.la
121 weston_cliptest_SOURCES = cliptest.c
122 weston_cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS)
123 weston_cliptest_LDADD = libtoytoolkit.la $(PIXMAN_LIBS)
125 weston_dnd_SOURCES = dnd.c
126 weston_dnd_LDADD = libtoytoolkit.la
128 weston_smoke_SOURCES = smoke.c
129 weston_smoke_LDADD = libtoytoolkit.la
131 weston_resizor_SOURCES = resizor.c
132 weston_resizor_LDADD = libtoytoolkit.la
135 cairo_glesv2_programs = weston-nested weston-nested-client
137 weston_nested_SOURCES = nested.c
138 weston_nested_LDADD = libtoytoolkit.la $(SERVER_LIBS)
140 weston_nested_client_SOURCES = nested-client.c
141 weston_nested_client_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
144 weston_eventdemo_SOURCES = eventdemo.c
145 weston_eventdemo_LDADD = libtoytoolkit.la
147 weston_clickdot_SOURCES = clickdot.c
148 weston_clickdot_LDADD = libtoytoolkit.la
150 weston_transformed_SOURCES = transformed.c
151 weston_transformed_LDADD = libtoytoolkit.la
153 weston_fullscreen_SOURCES = fullscreen.c
154 weston_fullscreen_LDADD = libtoytoolkit.la
156 weston_calibrator_SOURCES = calibrator.c \
159 weston_calibrator_LDADD = libtoytoolkit.la
161 if BUILD_SUBSURFACES_CLIENT
162 subsurfaces = weston-subsurfaces
163 weston_subsurfaces_SOURCES = subsurfaces.c
164 weston_subsurfaces_CPPFLAGS = $(AM_CPPFLAGS) $(SIMPLE_EGL_CLIENT_CFLAGS)
165 weston_subsurfaces_LDADD = libtoytoolkit.la $(SIMPLE_EGL_CLIENT_LIBS) -lm
169 pango_programs = weston-editor
170 weston_editor_SOURCES = \
173 text-client-protocol.h
174 weston_editor_LDADD = libtoytoolkit.la $(PANGO_LIBS)
175 weston_editor_CPPFLAGS = $(AM_CPPFLAGS) $(PANGO_CFLAGS)
178 keyboard = weston-keyboard
179 weston_keyboard_SOURCES = \
181 desktop-shell-client-protocol.h \
182 desktop-shell-protocol.c \
183 input-method-protocol.c \
184 input-method-client-protocol.h
185 weston_keyboard_LDADD = libtoytoolkit.la
187 weston_simple_im_SOURCES = \
189 input-method-protocol.c \
190 input-method-client-protocol.h
191 weston_simple_im_LDADD = $(CLIENT_LIBS)
193 weston_info_SOURCES = \
195 ../shared/os-compatibility.c \
196 ../shared/os-compatibility.h
197 weston_info_LDADD = $(WESTON_INFO_LIBS)
199 weston_desktop_shell_SOURCES = \
201 desktop-shell-client-protocol.h \
202 desktop-shell-protocol.c
203 weston_desktop_shell_LDADD = libtoytoolkit.la
205 weston_tablet_shell_SOURCES = \
207 tablet-shell-client-protocol.h \
208 tablet-shell-protocol.c
209 weston_tablet_shell_LDADD = libtoytoolkit.la
212 screenshooter-client-protocol.h \
213 screenshooter-protocol.c \
214 text-cursor-position-client-protocol.h \
215 text-cursor-position-protocol.c \
217 text-client-protocol.h \
218 input-method-protocol.c \
219 input-method-client-protocol.h \
220 desktop-shell-client-protocol.h \
221 desktop-shell-protocol.c \
222 tablet-shell-client-protocol.h \
223 tablet-shell-protocol.c \
224 subsurface-client-protocol.h \
225 subsurface-protocol.c \
226 workspaces-client-protocol.h \
227 workspaces-protocol.c
229 CLEANFILES = $(BUILT_SOURCES)
232 if BUILD_FULL_GL_CLIENTS
233 full_gl_client_programs = weston-gears
235 weston_gears_SOURCES = gears.c
236 weston_gears_LDADD = libtoytoolkit.la
239 screensaver = weston-screensaver
240 weston_screensaver_SOURCES = \
243 desktop-shell-client-protocol.h \
244 desktop-shell-protocol.c \
245 wscreensaver-glue.c \
246 wscreensaver-glue.h \
249 weston_screensaver_LDADD = libtoytoolkit.la $(GLU_LIBS)
250 weston_screensaver_CFLAGS = $(GLU_CFLAGS)
255 @wayland_scanner_rules@
258 poppler_programs = weston-view
259 weston_view_SOURCES = view.c
260 weston_view_LDADD = libtoytoolkit.la $(POPPLER_LIBS)
261 weston_view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)