3a9b370d6d57c9633f13235021efb32603a48b0b
[platform/core/uifw/wayland-extension.git] / Makefile.am
1 SUBDIRS = unittests
2 AM_CPPFLAGS = \
3                         -I$(top_builddir)/protocol/tizen \
4                         -I$(top_builddir)/protocol/unstable \
5                         -I$(top_builddir)/protocol/stable \
6                         -I$(top_srcdir)/src \
7                         $(NULL)
8
9 pkgconfigdir = $(libdir)/pkgconfig
10 protocoldir = $(libdir)
11 protocolincludedir = $(includedir)/wayland-extension
12
13 pkgconfig_DATA =
14 protocolinclude_HEADERS = src/wayland-extension-version.h
15 protocol_LTLIBRARIES =
16
17 ### protocol/tizen/protocol.[ch]
18 protocol/tizen/%-protocol.c : $(top_srcdir)/protocol/tizen/%.xml
19         $(wayland_scanner) code < $< > $@
20 protocol/tizen/%-server-protocol.h : $(top_srcdir)/protocol/tizen/%.xml
21         $(wayland_scanner) server-header < $< > $@
22 protocol/tizen/%-client-protocol.h : $(top_srcdir)/protocol/tizen/%.xml
23         $(wayland_scanner) client-header < $< > $@
24
25 ### protocol/unstable/protocol.[ch]
26 protocol/unstable/%-protocol.c : $(top_srcdir)/protocol/unstable/*/%.xml
27         $(wayland_scanner) code < $< > $@
28 protocol/unstable/%-server-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml
29         $(wayland_scanner) server-header < $< > $@
30 protocol/unstable/%-client-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml
31         $(wayland_scanner) client-header < $< > $@
32
33 ### protocol/stable/protocol.[ch]
34 protocol/stable/%-protocol.c : $(top_srcdir)/protocol/stable/*/%.xml
35         $(wayland_scanner) code < $< > $@
36 protocol/stable/%-server-protocol.h : $(top_srcdir)/protocol/stable/*/%.xml
37         $(wayland_scanner) server-header < $< > $@
38 protocol/stable/%-client-protocol.h : $(top_srcdir)/protocol/stable/*/%.xml
39         $(wayland_scanner) client-header < $< > $@
40
41 ### protocol.pc
42 src/%-server.pc : $(top_srcdir)/src/template-server.pc
43         $(cp) $< $@ && $(perl) -pi -e 's|template|$*|g' $@
44 src/%-client.pc : $(top_srcdir)/src/template-client.pc
45         $(cp) $< $@ && $(perl) -pi -e 's|template|$*|g' $@
46
47 ### xdg-shell (unstable v5)
48 protocol_LTLIBRARIES += \
49         libxdg-shell-unstable-v5-server.la \
50         libxdg-shell-unstable-v5-client.la
51 pkgconfig_DATA += \
52         src/xdg-shell-unstable-v5-server.pc \
53         src/xdg-shell-unstable-v5-client.pc
54 protocolinclude_HEADERS += \
55         protocol/unstable/xdg-shell-unstable-v5-server-protocol.h \
56         protocol/unstable/xdg-shell-unstable-v5-client-protocol.h
57 libxdg_shell_unstable_v5_server_la_SOURCES = protocol/unstable/xdg-shell-unstable-v5-protocol.c
58 libxdg_shell_unstable_v5_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
59 libxdg_shell_unstable_v5_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
60 libxdg_shell_unstable_v5_client_la_SOURCES = protocol/unstable/xdg-shell-unstable-v5-protocol.c
61 libxdg_shell_unstable_v5_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
62 libxdg_shell_unstable_v5_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
63
64 ### xdg-shell (unstable v6)
65 protocol_LTLIBRARIES += \
66         libxdg-shell-unstable-v6-server.la \
67         libxdg-shell-unstable-v6-client.la
68 pkgconfig_DATA += \
69         src/xdg-shell-unstable-v6-server.pc \
70         src/xdg-shell-unstable-v6-client.pc
71 protocolinclude_HEADERS += \
72         protocol/unstable/xdg-shell-unstable-v6-server-protocol.h \
73         protocol/unstable/xdg-shell-unstable-v6-client-protocol.h
74 libxdg_shell_unstable_v6_server_la_SOURCES = protocol/unstable/xdg-shell-unstable-v6-protocol.c
75 libxdg_shell_unstable_v6_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
76 libxdg_shell_unstable_v6_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
77 libxdg_shell_unstable_v6_client_la_SOURCES = protocol/unstable/xdg-shell-unstable-v6-protocol.c
78 libxdg_shell_unstable_v6_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
79 libxdg_shell_unstable_v6_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
80
81 ### xdg-shell (stable v1)
82 protocol_LTLIBRARIES += \
83         libxdg-shell-server.la \
84         libxdg-shell-client.la
85 pkgconfig_DATA += \
86         src/xdg-shell-server.pc \
87         src/xdg-shell-client.pc
88 protocolinclude_HEADERS += \
89         protocol/stable/xdg-shell-server-protocol.h \
90         protocol/stable/xdg-shell-client-protocol.h
91 libxdg_shell_server_la_SOURCES = protocol/stable/xdg-shell-protocol.c
92 libxdg_shell_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
93 libxdg_shell_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
94 libxdg_shell_client_la_SOURCES = protocol/stable/xdg-shell-protocol.c
95 libxdg_shell_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
96 libxdg_shell_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
97
98 ### input-method
99 protocol_LTLIBRARIES += \
100         libinput-method-server.la \
101         libinput-method-client.la
102 pkgconfig_DATA += \
103         src/input-method-server.pc \
104         src/input-method-client.pc
105 protocolinclude_HEADERS += \
106         protocol/tizen/input-method-server-protocol.h \
107         protocol/tizen/input-method-client-protocol.h
108 libinput_method_server_la_SOURCES = protocol/tizen/input-method-protocol.c
109 libinput_method_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
110 libinput_method_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
111 libinput_method_client_la_SOURCES = protocol/tizen/input-method-protocol.c
112 libinput_method_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
113 libinput_method_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
114
115 ### fullscreen-shell
116 protocol_LTLIBRARIES += \
117         libfullscreen-shell-server.la \
118         libfullscreen-shell-client.la
119 pkgconfig_DATA += \
120         src/fullscreen-shell-server.pc \
121         src/fullscreen-shell-client.pc
122 protocolinclude_HEADERS += \
123         protocol/tizen/fullscreen-shell-server-protocol.h \
124         protocol/tizen/fullscreen-shell-client-protocol.h
125 libfullscreen_shell_server_la_SOURCES = protocol/tizen/fullscreen-shell-protocol.c
126 libfullscreen_shell_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
127 libfullscreen_shell_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
128 libfullscreen_shell_client_la_SOURCES = protocol/tizen/fullscreen-shell-protocol.c
129 libfullscreen_shell_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
130 libfullscreen_shell_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
131
132 ### scaler
133 protocol_LTLIBRARIES += \
134         libscaler-server.la \
135         libscaler-client.la
136 pkgconfig_DATA += \
137         src/scaler-server.pc \
138         src/scaler-client.pc
139 protocolinclude_HEADERS += \
140         protocol/tizen/scaler-server-protocol.h \
141         protocol/tizen/scaler-client-protocol.h
142 libscaler_server_la_SOURCES = protocol/tizen/scaler-protocol.c
143 libscaler_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
144 libscaler_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
145 libscaler_client_la_SOURCES = protocol/tizen/scaler-protocol.c
146 libscaler_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
147 libscaler_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
148
149 ### transformer
150 protocol_LTLIBRARIES += \
151         libtransform-server.la \
152         libtransform-client.la
153 pkgconfig_DATA += \
154         src/transform-server.pc \
155         src/transform-client.pc
156 protocolinclude_HEADERS += \
157         protocol/tizen/transform-server-protocol.h \
158         protocol/tizen/transform-client-protocol.h
159 libtransform_server_la_SOURCES = protocol/tizen/transform-protocol.c
160 libtransform_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
161 libtransform_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
162 libtransform_client_la_SOURCES = protocol/tizen/transform-protocol.c
163 libtransform_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
164 libtransform_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
165
166 ### screenshooter
167 protocol_LTLIBRARIES += \
168         libscreenshooter-server.la \
169         libscreenshooter-client.la
170 pkgconfig_DATA += \
171         src/screenshooter-server.pc \
172         src/screenshooter-client.pc
173 protocolinclude_HEADERS += \
174         protocol/tizen/screenshooter-server-protocol.h \
175         protocol/tizen/screenshooter-client-protocol.h
176 libscreenshooter_server_la_SOURCES = protocol/tizen/screenshooter-protocol.c
177 libscreenshooter_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
178 libscreenshooter_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
179 libscreenshooter_client_la_SOURCES = protocol/tizen/screenshooter-protocol.c
180 libscreenshooter_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
181 libscreenshooter_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
182
183 ### text-cursor-position
184 protocol_LTLIBRARIES += \
185         libtext-cursor-position-server.la \
186         libtext-cursor-position-client.la
187 pkgconfig_DATA += \
188         src/text-cursor-position-server.pc \
189         src/text-cursor-position-client.pc
190 protocolinclude_HEADERS += \
191         protocol/tizen/text-cursor-position-server-protocol.h \
192         protocol/tizen/text-cursor-position-client-protocol.h
193 libtext_cursor_position_server_la_SOURCES = protocol/tizen/text-cursor-position-protocol.c
194 libtext_cursor_position_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
195 libtext_cursor_position_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
196 libtext_cursor_position_client_la_SOURCES = protocol/tizen/text-cursor-position-protocol.c
197 libtext_cursor_position_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
198 libtext_cursor_position_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
199
200 ### text
201 protocol_LTLIBRARIES += \
202         libtext-server.la \
203         libtext-client.la
204 pkgconfig_DATA += \
205         src/text-server.pc \
206         src/text-client.pc
207 protocolinclude_HEADERS += \
208         protocol/tizen/text-server-protocol.h \
209         protocol/tizen/text-client-protocol.h
210 libtext_server_la_SOURCES = protocol/tizen/text-protocol.c
211 libtext_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
212 libtext_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
213 libtext_client_la_SOURCES = protocol/tizen/text-protocol.c
214 libtext_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
215 libtext_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
216
217 ### tizen-extension
218 protocol_LTLIBRARIES += \
219         libtizen-extension-server.la \
220         libtizen-extension-client.la
221 pkgconfig_DATA += \
222         src/tizen-extension-server.pc \
223         src/tizen-extension-client.pc
224 protocolinclude_HEADERS += \
225         protocol/tizen/tizen-extension-server-protocol.h \
226         protocol/tizen/tizen-extension-client-protocol.h
227 libtizen_extension_server_la_SOURCES = protocol/tizen/tizen-extension-protocol.c
228 libtizen_extension_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
229 libtizen_extension_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
230 libtizen_extension_client_la_SOURCES = protocol/tizen/tizen-extension-protocol.c
231 libtizen_extension_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
232 libtizen_extension_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
233
234 ### tizen-remote-surface
235 protocol_LTLIBRARIES += \
236         libtizen-remote-surface-server.la \
237         libtizen-remote-surface-client.la
238 pkgconfig_DATA += \
239         src/tizen-remote-surface-server.pc \
240         src/tizen-remote-surface-client.pc
241 protocolinclude_HEADERS += \
242         protocol/tizen/tizen-remote-surface-server-protocol.h \
243         protocol/tizen/tizen-remote-surface-client-protocol.h
244 libtizen_remote_surface_server_la_SOURCES = protocol/tizen/tizen-remote-surface-protocol.c
245 libtizen_remote_surface_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
246 libtizen_remote_surface_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
247 libtizen_remote_surface_client_la_SOURCES = protocol/tizen/tizen-remote-surface-protocol.c
248 libtizen_remote_surface_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
249 libtizen_remote_surface_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
250
251 ### tizen-launch
252 protocol_LTLIBRARIES += \
253         libtizen-launch-server.la \
254         libtizen-launch-client.la
255 pkgconfig_DATA += \
256         src/tizen-launch-server.pc \
257         src/tizen-launch-client.pc
258 protocolinclude_HEADERS += \
259         protocol/tizen/tizen-launch-server-protocol.h \
260         protocol/tizen/tizen-launch-client-protocol.h
261 libtizen_launch_server_la_SOURCES = protocol/tizen/tizen-launch-protocol.c
262 libtizen_launch_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
263 libtizen_launch_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
264 libtizen_launch_client_la_SOURCES = protocol/tizen/tizen-launch-protocol.c
265 libtizen_launch_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
266 libtizen_launch_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
267
268 ### tizen-surface
269 protocol_LTLIBRARIES += \
270         libtizen-surface-server.la \
271         libtizen-surface-client.la
272 pkgconfig_DATA += \
273         src/tizen-surface-server.pc \
274         src/tizen-surface-client.pc
275 protocolinclude_HEADERS += \
276         protocol/tizen/tizen-surface-server-protocol.h \
277         protocol/tizen/tizen-surface-client-protocol.h
278 libtizen_surface_server_la_SOURCES = protocol/tizen/tizen-surface-protocol.c
279 libtizen_surface_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
280 libtizen_surface_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
281 libtizen_surface_client_la_SOURCES = protocol/tizen/tizen-surface-protocol.c
282 libtizen_surface_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
283 libtizen_surface_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
284
285 ### tizen-dpms
286 protocol_LTLIBRARIES += \
287         libtizen-dpms-server.la \
288         libtizen-dpms-client.la
289 pkgconfig_DATA += \
290         src/tizen-dpms-server.pc \
291         src/tizen-dpms-client.pc
292 protocolinclude_HEADERS += \
293         protocol/tizen/tizen-dpms-server-protocol.h \
294         protocol/tizen/tizen-dpms-client-protocol.h
295 libtizen_dpms_server_la_SOURCES = protocol/tizen/tizen-dpms-protocol.c
296 libtizen_dpms_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
297 libtizen_dpms_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
298 libtizen_dpms_client_la_SOURCES = protocol/tizen/tizen-dpms-protocol.c
299 libtizen_dpms_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
300 libtizen_dpms_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
301
302 ### tizen-hwc
303 protocol_LTLIBRARIES += \
304         libtizen-hwc-server.la \
305         libtizen-hwc-client.la
306 pkgconfig_DATA += \
307         src/tizen-hwc-server.pc \
308         src/tizen-hwc-client.pc
309 protocolinclude_HEADERS += \
310         protocol/tizen/tizen-hwc-server-protocol.h \
311         protocol/tizen/tizen-hwc-client-protocol.h
312 libtizen_hwc_server_la_SOURCES = protocol/tizen/tizen-hwc-protocol.c
313 libtizen_hwc_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
314 libtizen_hwc_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
315 libtizen_hwc_client_la_SOURCES = protocol/tizen/tizen-hwc-protocol.c
316 libtizen_hwc_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
317 libtizen_hwc_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
318
319 ### presentation_time
320 protocol_LTLIBRARIES += \
321         libpresentation-time-server.la \
322         libpresentation-time-client.la
323 pkgconfig_DATA += \
324         src/presentation-time-server.pc \
325         src/presentation-time-client.pc
326 protocolinclude_HEADERS += \
327         protocol/stable/presentation-time-server-protocol.h \
328         protocol/stable/presentation-time-client-protocol.h
329 libpresentation_time_server_la_SOURCES = protocol/stable/presentation-time-protocol.c
330 libpresentation_time_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
331 libpresentation_time_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
332 libpresentation_time_client_la_SOURCES = protocol/stable/presentation-time-protocol.c
333 libpresentation_time_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
334 libpresentation_time_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
335
336 ### linux-explicit-synchronization (unstable v1)
337 protocol_LTLIBRARIES += \
338         liblinux-explicit-synchronization-unstable-v1-server.la \
339         liblinux-explicit-synchronization-unstable-v1-client.la
340 pkgconfig_DATA += \
341         src/linux-explicit-synchronization-unstable-v1-server.pc \
342         src/linux-explicit-synchronization-unstable-v1-client.pc
343 protocolinclude_HEADERS += \
344         protocol/unstable/linux-explicit-synchronization-unstable-v1-server-protocol.h \
345         protocol/unstable/linux-explicit-synchronization-unstable-v1-client-protocol.h
346 liblinux_explicit_synchronization_unstable_v1_server_la_SOURCES = protocol/unstable/linux-explicit-synchronization-unstable-v1-protocol.c
347 liblinux_explicit_synchronization_unstable_v1_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
348 liblinux_explicit_synchronization_unstable_v1_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
349 liblinux_explicit_synchronization_unstable_v1_client_la_SOURCES = protocol/unstable/linux-explicit-synchronization-unstable-v1-protocol.c
350 liblinux_explicit_synchronization_unstable_v1_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
351 liblinux_explicit_synchronization_unstable_v1_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
352
353 ### wayland-protocols
354 unstable_protocols = \
355         protocol/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \
356         protocol/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml \
357         protocol/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml \
358         protocol/unstable/text-input/text-input-unstable-v1.xml \
359         protocol/unstable/text-input/text-input-unstable-v3.xml \
360         protocol/unstable/input-method/input-method-unstable-v1.xml \
361         protocol/unstable/xdg-shell/xdg-shell-unstable-v5.xml \
362         protocol/unstable/xdg-shell/xdg-shell-unstable-v6.xml \
363         protocol/unstable/relative-pointer/relative-pointer-unstable-v1.xml \
364         protocol/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml \
365         protocol/unstable/tablet/tablet-unstable-v1.xml \
366         protocol/unstable/tablet/tablet-unstable-v2.xml \
367         protocol/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml \
368         protocol/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml \
369         protocol/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml \
370         protocol/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml \
371         protocol/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml \
372         protocol/unstable/xdg-output/xdg-output-unstable-v1.xml \
373         protocol/unstable/input-timestamps/input-timestamps-unstable-v1.xml \
374         protocol/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml \
375         protocol/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml \
376         protocol/unstable/primary-selection/primary-selection-unstable-v1.xml \
377         $(NULL)
378
379 stable_protocols = \
380         protocol/stable/presentation-time/presentation-time.xml \
381         protocol/stable/viewporter/viewporter.xml \
382         protocol/stable/xdg-shell/xdg-shell.xml \
383         $(NULL)
384
385 nobase_dist_pkgdata_DATA = \
386         $(unstable_protocols) \
387         $(stable_protocols) \
388         $(NULL)
389
390 dist_noinst_DATA = \
391         $(sort $(foreach p,$(unstable_protocols),$(dir $p)README)) \
392         $(sort $(foreach p,$(stable_protocols),$(dir $p)README)) \
393         $(NULL)
394
395 pkgconfig_DATA += src/wayland-protocols.pc
396
397 dist_check_SCRIPTS = tests/scan.sh
398
399 TESTS = $(unstable_protocols) $(stable_protocols)
400 TEST_EXTENSIONS = .xml
401 AM_TESTS_ENVIRONMENT = SCANNER='$(wayland_scanner)'; export SCANNER;
402 XML_LOG_COMPILER = $(srcdir)/tests/scan.sh
403
404
405 if BUILD_EXAMPLES
406 AM_CPPFLAGS += \
407    -I$(top_srcdir)/protocol/tizen \
408    @WL_TBM_CFLAGS@ \
409    @ECORE_WL2_CFLAGS@ \
410    @ELEMENTARY_CFLAGS@
411
412 bin_PROGRAMS = \
413    tzrs-provider \
414    tzrs-consumer
415
416 tzrs_provider_SOURCES = src/examples/tzrs-provider.c
417 tzrs_provider_CFLAGS = $(AM_CFALGS)
418 tzrs_provider_LDADD = \
419    $(top_builddir)/libtizen-extension-client.la \
420    $(top_builddir)/libtizen-remote-surface-client.la \
421    $(top_builddir)/libtizen-launch-client.la \
422    @ECORE_WL2_LIBS@ \
423    @ELEMENTARY_LIBS@
424
425 tzrs_consumer_SOURCES = src/examples/tzrs-consumer.c
426 tzrs_consumer_CFLAGS = $(AM_CFALGS)
427 tzrs_consumer_LDADD = \
428    $(top_builddir)/libtizen-extension-client.la \
429    $(top_builddir)/libtizen-remote-surface-client.la \
430    $(top_builddir)/libtizen-launch-client.la \
431    @WL_TBM_LIBS@ \
432    @ECORE_WL2_LIBS@ \
433    @ELEMENTARY_LIBS@
434 endif