-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
2447 lines (2089 loc) · 78.7 KB
/
Makefile.am
File metadata and controls
2447 lines (2089 loc) · 78.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ACLOCAL_AMFLAGS = -I m4
bin_PROGRAMS =
noinst_PROGRAMS =
libexec_PROGRAMS =
moduledir = $(libdir)/ias
module_LTLIBRARIES =
libweston_moduledir = $(libdir)/libias-$(LIBWESTON_MAJOR)
libweston_module_LTLIBRARIES =
noinst_LTLIBRARIES =
plugindir = $(libdir)/ias
plugin_LTLIBRARIES =
BUILT_SOURCES = plugins
exampledir = $(bindir)/../share/ias/examples
example_PROGRAMS =
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install --enable-autotools
EXTRA_DIST = weston.ini.in ivi-shell/weston.ini.in
weston.ini : $(srcdir)/weston.ini.in
$(AM_V_GEN)$(SED) \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
-e 's|@libexecdir[@]|$(libexecdir)|g' \
$< > $@
ivi-shell/weston.ini : $(srcdir)/ivi-shell/weston.ini.in
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@libexecdir[@]|$(libexecdir)|g' \
-e 's|@westondatadir[@]|$(westondatadir)|g' \
$< > $@
all-local : weston.ini ivi-shell/weston.ini
AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = \
-I$(top_builddir)/libweston \
-I$(top_srcdir)/libweston \
-I$(top_builddir)/clients \
-I$(top_builddir)/tests \
-I$(top_srcdir)/shared \
-I$(top_builddir)/protocol \
-DLIBWESTON_MODULEDIR='"$(libweston_moduledir)"' \
-DLIBEXECDIR='"$(libexecdir)"' \
-DBINDIR='"$(bindir)"'
CLEANFILES = weston.ini \
ivi-shell/weston.ini \
internal-screenshot-00.png \
$(BUILT_SOURCES)
# Libtool race fix
# libweston-desktop depends on libweston, and desktop-shell depends on both.
# This leads to a libtool race at installation, because libtool re-links
# everything.
# If you add more fixes, you may need a workaround to keep automake generated
# targets. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
install-libweston_moduleLTLIBRARIES install-moduleLTLIBRARIES: install-libLTLIBRARIES
lib_LTLIBRARIES = libias-@LIBWESTON_MAJOR@.la
libias_@LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS)
libias_@LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) \
$(COMPOSITOR_CFLAGS) $(EGL_CFLAGS) $(LIBDRM_CFLAGS)
libias_@LIBWESTON_MAJOR@_la_LIBADD = $(COMPOSITOR_LIBS) \
$(DL_LIBS) -lm $(CLOCK_GETTIME_LIBS) \
$(LIBINPUT_BACKEND_LIBS) libshared.la
libias_@LIBWESTON_MAJOR@_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
libias_@LIBWESTON_MAJOR@_la_SOURCES = \
libweston/git-version.h \
libweston/log.c \
libweston/compositor.c \
libweston/compositor.h \
libweston/compositor-drm.h \
libweston/compositor-fbdev.h \
libweston/compositor-headless.h \
libweston/compositor-rdp.h \
libweston/compositor-wayland.h \
libweston/compositor-x11.h \
libweston/input.c \
libweston/data-device.c \
libweston/screenshooter.c \
libweston/touch-calibration.c \
libweston/clipboard.c \
libweston/zoom.c \
libweston/bindings.c \
libweston/animation.c \
libweston/noop-renderer.c \
libweston/pixman-renderer.c \
libweston/pixman-renderer.h \
libweston/plugin-registry.c \
libweston/plugin-registry.h \
libweston/timeline.c \
libweston/timeline.h \
libweston/timeline-object.h \
libweston/linux-dmabuf.c \
libweston/linux-dmabuf.h \
libweston/linux-explicit-synchronization.c \
libweston/linux-explicit-synchronization.h \
libweston/linux-sync-file.c \
libweston/linux-sync-file.h \
libweston/pixel-formats.c \
libweston/pixel-formats.h \
libweston/weston-debug.c \
libweston/weston-debug.h \
shared/fd-util.h \
shared/helpers.h \
shared/matrix.c \
shared/matrix.h \
shared/timespec-util.h \
shared/zalloc.h \
shared/platform.h \
shared/weston-egl-ext.h
libias_@LIBWESTON_MAJOR@_datadir = $(datadir)/weston/protocols
dist_libias_@LIBWESTON_MAJOR@_data_DATA = \
protocol/weston-debug.xml
lib_LTLIBRARIES += libias-desktop-@LIBWESTON_MAJOR@.la
libias_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS)
libias_desktop_@LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS)
libias_desktop_@LIBWESTON_MAJOR@_la_LIBADD = \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS)
libias_desktop_@LIBWESTON_MAJOR@_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
libias_desktop_@LIBWESTON_MAJOR@_la_SOURCES = \
libweston-desktop/client.c \
libweston-desktop/internal.h \
libweston-desktop/libweston-desktop.c \
libweston-desktop/libweston-desktop.h \
libweston-desktop/seat.c \
libweston-desktop/surface.c \
libweston-desktop/wl-shell.c \
libweston-desktop/xdg-shell-v6.c \
libweston-desktop/xdg-shell.c \
libweston-desktop/xwayland.c
nodist_libias_desktop_@LIBWESTON_MAJOR@_la_SOURCES = \
protocol/xdg-shell-unstable-v6-protocol.c \
protocol/xdg-shell-unstable-v6-server-protocol.h \
protocol/xdg-shell-protocol.c \
protocol/xdg-shell-server-protocol.h
BUILT_SOURCES += $(nodist_libias_desktop_@LIBWESTON_MAJOR@_la_SOURCES)
libias-desktop-@LIBWESTON_MAJOR@.la libweston-desktop/libias_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo: protocol/xdg-shell-unstable-v6-server-protocol.h
libias-desktop-@LIBWESTON_MAJOR@.la libweston-desktop/libias_desktop_@LIBWESTON_MAJOR@_la-xdg-wm-shell.lo: protocol/xdg-shell-server-protocol.h
if SYSTEMD_NOTIFY_SUPPORT
module_LTLIBRARIES += systemd-notify.la
systemd_notify_la_LDFLAGS = -module -avoid-version
systemd_notify_la_LIBADD = libias-@LIBWESTON_MAJOR@.la $(SYSTEMD_DAEMON_LIBS)
systemd_notify_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(SYSTEMD_DAEMON_CFLAGS) \
$(PIXMAN_CFLAGS) \
$(AM_CFLAGS)
systemd_notify_la_SOURCES = \
compositor/systemd-notify.c \
shared/helpers.h \
shared/zalloc.h \
libweston/compositor.h
endif
nodist_libias_@LIBWESTON_MAJOR@_la_SOURCES = \
protocol/weston-screenshooter-protocol.c \
protocol/weston-screenshooter-server-protocol.h \
protocol/weston-debug-protocol.c \
protocol/weston-debug-server-protocol.h \
protocol/text-cursor-position-protocol.c \
protocol/text-cursor-position-server-protocol.h \
protocol/text-input-unstable-v1-protocol.c \
protocol/text-input-unstable-v1-server-protocol.h \
protocol/input-method-unstable-v1-protocol.c \
protocol/input-method-unstable-v1-server-protocol.h \
protocol/presentation-time-protocol.c \
protocol/presentation-time-server-protocol.h \
protocol/viewporter-protocol.c \
protocol/viewporter-server-protocol.h \
protocol/linux-dmabuf-unstable-v1-protocol.c \
protocol/linux-dmabuf-unstable-v1-server-protocol.h \
protocol/relative-pointer-unstable-v1-protocol.c \
protocol/relative-pointer-unstable-v1-server-protocol.h \
protocol/pointer-constraints-unstable-v1-protocol.c \
protocol/pointer-constraints-unstable-v1-server-protocol.h \
protocol/input-timestamps-unstable-v1-protocol.c \
protocol/input-timestamps-unstable-v1-server-protocol.h \
protocol/weston-touch-calibration-protocol.c \
protocol/weston-touch-calibration-server-protocol.h \
protocol/linux-explicit-synchronization-unstable-v1-protocol.c \
protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h
BUILT_SOURCES += $(nodist_libias_@LIBWESTON_MAJOR@_la_SOURCES)
bin_PROGRAMS += ias-weston
ias_weston_LDFLAGS = -export-dynamic -pie
ias_weston_CPPFLAGS = $(AM_CPPFLAGS) -DMODULEDIR='"$(moduledir)"' \
-DXSERVER_PATH='"@XSERVER_PATH@"'
ias_weston_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBINPUT_BACKEND_CFLAGS) \
$(PTHREAD_CFLAGS) $(LIBEVDEV_CFLAGS) -fPIE
ias_weston_LDADD = libshared.la libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS) \
$(DL_LIBS) $(LIBINPUT_BACKEND_LIBS) \
$(CLOCK_GETRES_LIBS) \
$(PTHREAD_LIBS) \
$(LIBEVDEV_LIBS) \
-lm
ias_weston_SOURCES = \
compositor/main.c \
compositor/weston-screenshooter.c \
compositor/text-backend.c
if ENABLE_XWAYLAND
ias_weston_SOURCES += \
compositor/xwayland.c
endif
# Track this dependency explicitly instead of using BUILT_SOURCES. We
# add BUILT_SOURCES to CLEANFILES, but we want to keep git-version.h
# in case we're building from tarballs.
compositor/main.c : $(top_builddir)/libweston/git-version.h
libweston/compositor.c : $(top_builddir)/libweston/git-version.h
noinst_LTLIBRARIES += \
libsession-helper.la
libsession_helper_la_SOURCES = \
libweston/launcher-util.c \
libweston/launcher-util.h \
libweston/launcher-impl.h \
libweston/weston-launch.h \
libweston/launcher-weston-launch.c \
libweston/launcher-direct.c
libsession_helper_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS) $(PIXMAN_CFLAGS) $(COMPOSITOR_CFLAGS)
libsession_helper_la_LIBADD = libias-@LIBWESTON_MAJOR@.la
if ENABLE_DRM_COMPOSITOR
libsession_helper_la_LIBADD += $(LIBDRM_LIBS)
endif
if ENABLE_DBUS
if HAVE_SYSTEMD_LOGIN
libsession_helper_la_SOURCES += \
libweston/dbus.h \
libweston/dbus.c \
libweston/launcher-logind.c
libsession_helper_la_CFLAGS += $(SYSTEMD_LOGIN_CFLAGS) $(DBUS_CFLAGS)
libsession_helper_la_LIBADD += $(SYSTEMD_LOGIN_LIBS) $(DBUS_LIBS)
endif
endif
if HAVE_GIT_REPO
libweston/git-version.h : $(top_srcdir)/.git/logs/HEAD
$(AM_V_GEN)echo "#define BUILD_ID \"$(shell git --git-dir=$(top_srcdir)/.git describe --always --dirty) $(shell git --git-dir=$(top_srcdir)/.git log -1 --format='%s (%ci)')\"" > $@
else
libweston/git-version.h :
$(AM_V_GEN)echo "#define BUILD_ID \"unknown (not built from git or tarball)\"" > $@
endif
.FORCE :
if BUILD_WESTON_LAUNCH
bin_PROGRAMS += ias-weston-launch
ias_weston_launch_SOURCES = libweston/weston-launch.c libweston/weston-launch.h
ias_weston_launch_CPPFLAGS = -DBINDIR='"$(bindir)"'
ias_weston_launch_CFLAGS= \
$(AM_CFLAGS) \
$(PAM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(LIBDRM_CFLAGS) \
-fPIE
ias_weston_launch_LDADD = $(PAM_LIBS) $(SYSTEMD_LOGIN_LIBS)
ias_weston_launch_LDFLAGS = -pie
if ENABLE_DRM_COMPOSITOR
ias_weston_launch_LDADD += $(LIBDRM_LIBS)
endif
if ENABLE_SETUID_INSTALL
install-exec-hook:
can_suid_files=no; \
chown root $(DESTDIR)$(bindir)/weston-launch \
&& chmod u+s $(DESTDIR)$(bindir)/weston-launch \
&& can_suid_files=yes;\
if test $$can_suid_files = no; then \
echo 'Error: unable to unable to change ownership/setuid on weston-launch.'; \
echo 'To skip this step, re-run ./configure using --disable-setuid-install'; \
false; \
fi
endif
endif # BUILD_WESTON_LAUNCH
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
libweston/libweston-${LIBWESTON_MAJOR}.pc \
libweston-desktop/libweston-desktop-${LIBWESTON_MAJOR}.pc \
compositor/weston.pc
noarch_pkgconfigdir = $(datadir)/pkgconfig
noarch_pkgconfig_DATA = \
libweston/libweston-${LIBWESTON_MAJOR}-protocols.pc
wayland_sessiondir = $(datadir)/wayland-sessions
dist_wayland_session_DATA = compositor/ias-weston.desktop
libwestonincludedir = $(includedir)/libias-${LIBWESTON_MAJOR}
libwestoninclude_HEADERS = \
libweston/version.h \
libweston/compositor.h \
libweston/ias-plugin-framework-definitions.h \
libweston/ias-spug.h \
libweston/ias-common.h \
libweston/compositor-ias.h \
libweston/compositor-drm.h \
libweston/compositor-fbdev.h \
libweston/compositor-headless.h \
libweston/compositor-rdp.h \
libweston/compositor-wayland.h \
libweston/compositor-x11.h \
libweston/windowed-output-api.h \
libweston/plugin-registry.h \
libweston/timeline-object.h \
shared/platform.h \
shared/weston-egl-ext.h \
shared/matrix.h \
shared/config-parser.h \
shared/zalloc.h
libwestoninclude_HEADERS += \
libweston-desktop/libweston-desktop.h
westonincludedir = $(includedir)/weston
westoninclude_HEADERS = compositor/weston.h
if ENABLE_IVI_SHELL
westoninclude_HEADERS += \
ivi-shell/ivi-layout-export.h
endif
if ENABLE_EGL
libweston_module_LTLIBRARIES += gl-renderer.la
gl_renderer_la_LDFLAGS = -module -avoid-version
gl_renderer_la_LIBADD = \
libias-@LIBWESTON_MAJOR@.la \
$(EGL_LIBS) \
$(COMPOSITOR_LIBS)
gl_renderer_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(LIBDRM_CFLAGS) \
$(AM_CFLAGS)
gl_renderer_la_SOURCES = \
libweston/gl-renderer.h \
libweston/gl-renderer.c \
libweston/vertex-clipping.c \
libweston/vertex-clipping.h \
libweston/linux-sync-file.c \
libweston/linux-sync-file.h \
libweston/linux-sync-file-uapi.h
if ENABLE_HYPER_DMABUF
gl_renderer_la_SOURCES += \
libweston/vm-shared.h \
libweston/vm.h \
libweston/vm.c
if ENABLE_XEN_COMM_CHANNEL
module_LTLIBRARIES += vm-comm-xen.la
vm_comm_xen_la_LDFLAGS = -module -avoid-version
vm_comm_xen_la_LIBADD = -lxenvchan -lxenstore -lxenctrl
vm_comm_xen_la_SOURCES = libweston/vm_xen.c
endif
module_LTLIBRARIES += vm-comm-network.la
vm_comm_network_la_LDFLAGS = -module -avoid-version -pthread
vm_comm_network_la_SOURCES = libweston/vm_network.c
endif
endif
if ENABLE_X11_COMPOSITOR
libweston_module_LTLIBRARIES += x11-backend.la
x11_backend_la_LDFLAGS = -module -avoid-version
x11_backend_la_LIBADD = \
libshared-cairo.la \
libias-@LIBWESTON_MAJOR@.la \
$(X11_COMPOSITOR_LIBS) \
$(COMPOSITOR_LIBS)
x11_backend_la_CFLAGS = \
$(AM_CFLAGS) \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(PIXMAN_CFLAGS) \
$(CAIRO_CFLAGS) \
$(X11_COMPOSITOR_CFLAGS)
x11_backend_la_SOURCES = \
libweston/compositor-x11.c \
libweston/compositor-x11.h \
shared/helpers.h
endif
INPUT_BACKEND_CFLAGS = $(LIBINPUT_BACKEND_CFLAGS)
INPUT_BACKEND_LIBS = $(LIBINPUT_BACKEND_LIBS)
INPUT_BACKEND_SOURCES = \
libweston/libinput-seat.c \
libweston/libinput-seat.h \
libweston/libinput-device.c \
libweston/libinput-device.h \
shared/helpers.h
if ENABLE_DRM_COMPOSITOR
libweston_module_LTLIBRARIES += drm-backend.la
drm_backend_la_LDFLAGS = -module -avoid-version
drm_backend_la_LIBADD = \
libsession-helper.la \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS) \
$(DRM_COMPOSITOR_LIBS) \
$(INPUT_BACKEND_LIBS) \
libshared.la \
$(CLOCK_GETTIME_LIBS)
drm_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(DRM_COMPOSITOR_CFLAGS) \
$(INPUT_BACKEND_CFLAGS) \
$(AM_CFLAGS)
drm_backend_la_SOURCES = \
libweston/compositor-drm.c \
libweston/compositor-drm.h \
$(INPUT_BACKEND_SOURCES) \
shared/helpers.h \
shared/timespec-util.h \
libweston/libbacklight.c \
libweston/libbacklight.h
if ENABLE_VAAPI_RECORDER
drm_backend_la_SOURCES += libweston/vaapi-recorder.c libweston/vaapi-recorder.h
drm_backend_la_LIBADD += $(LIBVA_LIBS)
drm_backend_la_LDFLAGS += -pthread
drm_backend_la_CFLAGS += $(LIBVA_CFLAGS)
endif
# remoting
if ENABLE_REMOTING
libweston_module_LTLIBRARIES += remoting-plugin.la
remoting_plugin_la_LDFLAGS = -module -avoid-version
remoting_plugin_la_LIBADD = \
$(COMPOSITOR_LIBS) \
$(REMOTING_GST_LIBS)
remoting_plugin_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(REMOTING_GST_CFLAGS) \
$(AM_CFLAGS)
remoting_plugin_la_SOURCES = \
remoting/remoting-plugin.c \
remoting/remoting-plugin.h
endif
endif
if ENABLE_IAS_COMPOSITOR
libweston_module_LTLIBRARIES += ias-backend.la
ias_backend_la_LDFLAGS = -module -avoid-version
ias_backend_la_LIBADD = \
$(COMPOSITOR_LIBS) \
$(IAS_COMPOSITOR_LIBS) \
$(INPUT_BACKEND_LIBS) \
libshared.la $(CLOCK_GETTIME_LIBS) \
libsession-helper.la \
-lexpat
ias_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(IAS_COMPOSITOR_CFLAGS) \
$(GCC_CFLAGS)
ias_backend_la_SOURCES = \
libweston/compositor-ias.c \
libweston/compositor-ias.h \
$(INPUT_BACKEND_SOURCES) \
protocol/ias-backend-protocol.c \
protocol/ias-backend-server-protocol.h \
libweston/ias-config.c \
libweston/ias-common.c \
libweston/ias-common.h \
libweston/ias-sprite.c \
libweston/ias-sprite.h \
libweston/ias-backend.h \
libweston/backend-classic.c \
libweston/backend-flexible.c
if ENABLE_REMOTE_DISPLAY
ias_backend_la_SOURCES += \
libweston/capture-proxy.c \
libweston/capture-proxy.h \
protocol/ias-shell-protocol.c \
protocol/ias-shell-server-protocol.h
ias_backend_la_LIBADD += $(LIBVA_LIBS)
ias_backend_la_CFLAGS += $(LIBVA_CFLAGS)
endif
endif
if ENABLE_WAYLAND_COMPOSITOR
libweston_module_LTLIBRARIES += wayland-backend.la
wayland_backend_la_LDFLAGS = -module -avoid-version
wayland_backend_la_LIBADD = \
libshared-cairo.la \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS) \
$(WAYLAND_COMPOSITOR_EGL_LIBS) \
$(WAYLAND_COMPOSITOR_LIBS)
wayland_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(PIXMAN_CFLAGS) \
$(CAIRO_CFLAGS) \
$(WAYLAND_COMPOSITOR_CFLAGS) \
$(AM_CFLAGS)
wayland_backend_la_SOURCES = \
libweston/compositor-wayland.c \
libweston/compositor-wayland.h \
shared/helpers.h
nodist_wayland_backend_la_SOURCES = \
protocol/fullscreen-shell-unstable-v1-protocol.c \
protocol/fullscreen-shell-unstable-v1-client-protocol.h \
protocol/xdg-shell-protocol.c \
protocol/xdg-shell-client-protocol.h
endif
if ENABLE_HEADLESS_COMPOSITOR
libweston_module_LTLIBRARIES += headless-backend.la
headless_backend_la_LDFLAGS = -module -avoid-version
headless_backend_la_LIBADD = \
libshared.la \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS)
headless_backend_la_CFLAGS = $(COMPOSITOR_CFLAGS) $(AM_CFLAGS)
headless_backend_la_SOURCES = \
libweston/compositor-headless.c \
libweston/compositor-headless.h \
shared/helpers.h
endif
if ENABLE_FBDEV_COMPOSITOR
libweston_module_LTLIBRARIES += fbdev-backend.la
fbdev_backend_la_LDFLAGS = -module -avoid-version
fbdev_backend_la_LIBADD = \
libshared.la \
libsession-helper.la \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS) \
$(FBDEV_COMPOSITOR_LIBS) \
$(INPUT_BACKEND_LIBS)
fbdev_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(EGL_CFLAGS) \
$(FBDEV_COMPOSITOR_CFLAGS) \
$(PIXMAN_CFLAGS) \
$(INPUT_BACKEND_CFLAGS) \
$(AM_CFLAGS)
fbdev_backend_la_SOURCES = \
libweston/compositor-fbdev.c \
libweston/compositor-fbdev.h \
shared/helpers.h \
$(INPUT_BACKEND_SOURCES)
endif
if ENABLE_RDP_COMPOSITOR
libweston_module_LTLIBRARIES += rdp-backend.la
rdp_backend_la_LDFLAGS = -module -avoid-version
rdp_backend_la_LIBADD = \
libshared.la \
libias-@LIBWESTON_MAJOR@.la \
$(COMPOSITOR_LIBS) \
$(RDP_COMPOSITOR_LIBS)
rdp_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(RDP_COMPOSITOR_CFLAGS) \
$(AM_CFLAGS)
rdp_backend_la_SOURCES = \
libweston/compositor-rdp.c \
libweston/compositor-rdp.h \
shared/helpers.h
endif
if HAVE_LCMS
module_LTLIBRARIES += cms-static.la
cms_static_la_LDFLAGS = -module -avoid-version
cms_static_la_LIBADD = \
libshared.la \
libias-@LIBWESTON_MAJOR@.la \
$(LCMS_LIBS) \
$(COMPOSITOR_LIBS)
cms_static_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LCMS_CFLAGS)
cms_static_la_SOURCES = \
compositor/cms-static.c \
compositor/cms-helper.c \
compositor/cms-helper.h \
shared/helpers.h
if ENABLE_COLORD
module_LTLIBRARIES += cms-colord.la
cms_colord_la_LDFLAGS = -module -avoid-version
cms_colord_la_LIBADD = \
libshared.la \
libias-@LIBWESTON_MAJOR@.la \
$(COLORD_LIBS) \
$(LCMS_LIBS) \
$(COMPOSITOR_LIBS)
cms_colord_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(COLORD_CFLAGS)
cms_colord_la_SOURCES = \
compositor/cms-colord.c \
compositor/cms-helper.c \
compositor/cms-helper.h \
shared/helpers.h
endif
endif
if ENABLE_IAS_SHELL
module_LTLIBRARIES += ias-shell.la
ias_shell_la_LDFLAGS = -module -avoid-version
ias_shell_la_LIBADD = $(COMPOSITOR_LIBS) -lexpat libshared.la
ias_shell_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS)
ias_shell_la_SOURCES = \
libweston/ias-shell.c \
libweston/ias-relay-input.h \
libweston/ias-relay-input.c \
libweston/ias-hmi.c \
libweston/ias-shell-config.c \
libweston/ias-shell.h \
libweston/ias-hmi.h \
libweston/ias-common.h \
libweston/ias-common.c \
libweston/ias-config.c
nodist_ias_shell_la_SOURCES = \
protocol/ias-shell-server-protocol.h \
protocol/ias-shell-protocol.c
BUILT_SOURCES += $(nodist_ias_shell_la_SOURCES)
endif
if ENABLE_IAS_PLUGIN_MANAGER
module_LTLIBRARIES += ias_plugin_framework.la
ias_plugin_framework_la_LDFLAGS = -module -avoid-version
ias_plugin_framework_la_LIBADD = $(COMPOSITOR_LIBS) \
$(EGL_LIBS) \
$(GLIB_LIBS) \
-lexpat \
libshared.la
ias_plugin_framework_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS) $(GLIB_CFLAGS)
ias_plugin_framework_la_SOURCES = libweston/ias-plugin-framework.c \
libweston/ias-plugin-framework.h \
libweston/ias-spug.c \
libweston/ias-config.c
nodist_ias_plugin_framework_la_SOURCES = protocol/ias-layout-manager-protocol.c \
protocol/ias-layout-manager-server-protocol.h\
protocol/ias-input-manager-protocol.c \
protocol/ias-input-manager-server-protocol.h
# Stick the IAS protocol XMLs under {datadir}/doc/ias
protocol_doc_DATA = protocol/ias-shell.xml \
protocol/ias-backend.xml \
protocol/ias-layout-manager.xml \
protocol/ivi-application.xml \
protocol/ivi-controller.xml \
protocol/ivi-hmi-controller.xml \
protocol/ivi-input.xml
protocol_docdir = ${datarootdir}/doc/ias
BUILT_SOURCES += $(nodist_ias_plugin_framework_la_SOURCES)
endif
if ENABLE_IVI_PLUGIN_MANAGER
module_LTLIBRARIES += ivi_plugin_framework.la
ivi_plugin_framework_la_LDFLAGS = -module -avoid-version
ivi_plugin_framework_la_LIBADD = $(COMPOSITOR_LIBS) \
$(EGL_LIBS) \
$(GLIB_LIBS) \
-lexpat \
libshared.la
ivi_plugin_framework_la_CFLAGS = $(GCC_CFLAGS) \
$(COMPOSITOR_CFLAGS) \
$(LIBDRM_CFLAGS) \
$(GLIB_CFLAGS) \
-Iivi-shell
ivi_plugin_framework_la_SOURCES = libweston/ivi-plugin-framework.c \
libweston/ias-plugin-framework.h \
libweston/ias-spug.c \
libweston/ias-config.c
nodist_ivi_plugin_framework_la_SOURCES = protocol/ias-layout-manager-protocol.c \
protocol/ias-layout-manager-server-protocol.h\
protocol/ias-input-manager-protocol.c \
protocol/ias-input-manager-server-protocol.h
BUILT_SOURCES += $(nodist_ivi_plugin_framework_la_SOURCES)
endif
if ENABLE_TRACE_REPORTER
module_LTLIBRARIES += trace-reporter.la
trace_reporter_la_LDFLAGS = -module -avoid-version
trace_reporter_la_LIBADD = $(COMPOSITOR_LIBS)
trace_reporter_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
trace_reporter_la_SOURCES = libweston/trace-reporter.c
nodist_trace_reporter_la_SOURCES = \
protocol/trace-reporter-protocol.c \
protocol/trace-reporter-server-protocol.h
BUILT_SOURCES += $(nodist_trace_reporter_la_SOURCES)
endif
if ENABLE_REMOTE_DISPLAY
module_LTLIBRARIES += transport_plugin_stub.la
transport_plugin_stub_la_LDFLAGS = -module -avoid-version
transport_plugin_stub_la_LIBADD =
transport_plugin_stub_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS)
transport_plugin_stub_la_SOURCES = clients/RemoteDisplay/transport_plugin_stub.c
module_LTLIBRARIES += transport_plugin_file.la
transport_plugin_file_la_LDFLAGS = -module -avoid-version
transport_plugin_file_la_LIBADD = $(LIBDRM_LIBS) $(SIMPLE_CLIENT_LIBS) libshared.la -lm -ldrm_intel
transport_plugin_file_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS)
transport_plugin_file_la_SOURCES = clients/RemoteDisplay/transport_plugin_file.c
module_LTLIBRARIES += transport_plugin_avb.la
transport_plugin_avb_la_LDFLAGS = -module -avoid-version
transport_plugin_avb_la_LIBADD = $(LIBDRM_LIBS) $(SIMPLE_CLIENT_LIBS) libshared.la -lm -ldrm_intel \
-lgstreamer-1.0 -lgstbase-1.0 -lgstapp-1.0
transport_plugin_avb_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS) -I/usr/include/glib-2.0 \
-I/usr/include/gstreamer-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib64/glib-2.0/include
transport_plugin_avb_la_SOURCES = clients/RemoteDisplay/transport_plugin_avb.c
module_LTLIBRARIES += transport_plugin_tcp.la
transport_plugin_tcp_la_LDFLAGS = -module -avoid-version
transport_plugin_tcp_la_LIBADD = $(LIBDRM_LIBS) $(SIMPLE_CLIENT_LIBS) libshared.la -lm -ldrm_intel
transport_plugin_tcp_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS)
transport_plugin_tcp_la_SOURCES = clients/RemoteDisplay/transport_plugin_tcp.c
module_LTLIBRARIES += transport_plugin_udp.la
transport_plugin_udp_la_LDFLAGS = -module -avoid-version
transport_plugin_udp_la_LIBADD = $(LIBDRM_LIBS) $(SIMPLE_CLIENT_LIBS) libshared.la -lm -ldrm_intel -lgstreamer-1.0 -lgstbase-1.0 -lgstapp-1.0
transport_plugin_udp_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS) -I/usr/include/glib-2.0 -I/usr/include/gstreamer-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib64/glib-2.0/include
transport_plugin_udp_la_SOURCES = clients/RemoteDisplay/transport_plugin_udp.c
endif
if ENABLE_HYPER_DMABUF
noinst_LTLIBRARIES += libvmdisplay.la
libvmdisplay_la_LIBADD = $(COMPOSITOR_LIBS) \
$(EGL_LIBS) \
$(GLIB_LIBS) \
$(LIBDRM_LIBS) \
libshared.la -lm -ldrm_intel
libvmdisplay_la_CFLAGS = $(GCC_CFLAGS) \
$(COMPOSITOR_CFLAGS) \
$(LIBDRM_CFLAGS) \
$(GLIB_CFLAGS) \
$(AM_CFLAGS)
libvmdisplay_la_SOURCES = clients/vmdisplay/vmdisplay-parser.c \
clients/vmdisplay/vmdisplay.c \
clients/vmdisplay/wayland-drm-protocol.c
bin_PROGRAMS += vmdisplay-wayland
vmdisplay_wayland_SOURCES = clients/vmdisplay/vmdisplay-wayland.c
nodist_vmdisplay_wayland_SOURCES = \
protocol/ias-shell-server-protocol.h \
protocol/ias-shell-protocol.c
vmdisplay_wayland_CFLAGS = $(AM_CFLAGS) $(GCC_CFLAGS) $(LIBDRM_CFLAGS) $(COMPOSITOR_CFLAGS) $(SIMPLE_CLIENT_CFLAGS)
vmdisplay_wayland_LDADD = $(COMPOSITOR_LIBS) $(GLIB_LIBS) $(EGL_LIBS) $(SIMPLE_CLIENT_LIBS) $(LIBDRM_LIBS) \
libshared.la libvmdisplay.la -lm -ldrm_intel \
$(WAYLAND_COMPOSITOR_EGL_LIBS) \
$(WAYLAND_COMPOSITOR_LIBS) \
$(SIMPLE_EGL_CLIENT_LIBS) \
libias-@LIBWESTON_MAJOR@.la
bin_PROGRAMS += vmdisplay-server
vmdisplay_server_SOURCES = clients/vmdisplay/vmdisplay-server.cpp \
clients/vmdisplay/vmdisplay-server-network.cpp \
clients/vmdisplay/vmdisplay-server-hyperdmabuf.cpp
vmdisplay_server_CFLAGS = $(AM_CFLAGS) $(GCC_CFLAGS)
vmdisplay_server_LDADD = $(GLIB_LIBS) \
libshared.la libvmdisplay.la -lm -lpthread
bin_PROGRAMS += vmdisplay-input
vmdisplay_input_SOURCES = clients/vmdisplay/vmdisplay-input.cpp
nodist_vmdisplay_input_SOURCES = clients/vmdisplay/vmdisplay-server-network.cpp
vmdisplay_input_CFLAGS = $(AM_CFLAGS) $(GCC_CFLAGS)
vmdisplay_input_LDADD = $(GLIB_LIBS) \
libshared.la libvmdisplay.la -lm -lpthread
endif
# Stick a copy of compositor.h and the public plugin framework headers under
# {datadir}/doc/ias
ias_doc_DATA = libweston/ias-plugin-framework.h libweston/compositor.h
ias_docdir = ${datarootdir}/doc/ias
noinst_PROGRAMS += spring-tool
spring_tool_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS)
spring_tool_LDADD = $(COMPOSITOR_LIBS) -lm
spring_tool_SOURCES = \
libweston/spring-tool.c \
libweston/animation.c \
shared/matrix.c \
shared/matrix.h \
libweston/compositor.h
plugin_LTLIBRARIES += ias-shell-protocol.la
ias_shell_protocol_la_LDFLAGS = -module -avoid-version -shared
ias_shell_protocol_la_LIBADD = $(COMPOSITOR_LIBS) -lexpat libshared.la
ias_shell_protocol_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBDRM_CFLAGS)
ias_shell_protocol_la_SOURCES = protocol/ias-shell-protocol.c
include_HEADERS = protocol/ias-shell-client-protocol.h
plugin_LTLIBRARIES += grid_layout.la
grid_layout_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
grid_layout_la_SOURCES = plugins/grid_layout.c plugins/cursor_image.h
grid_layout_la_LDFLAGS = -module
# Stick a copy of the grid plugin source under {datadir}/doc/ias
grid_layout_doc_DATA = plugins/grid_layout.c
grid_layout_docdir = ${datarootdir}/doc/ias
plugin_LTLIBRARIES += cpp_example.la
cpp_example_la_CXXFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
cpp_example_la_SOURCES = plugins/cpp_example/cursor_image.h plugins/cpp_example/grid_layout.cc
cpp_example_la_LDFLAGS = -module
# Stick a copy of the grid plugin source under {datadir}/doc/ias/plugin_samples/cpp_example
cpp_example_doc_DATA = plugins/cpp_example/grid_layout.cc
cpp_example_docdir = ${datarootdir}/doc/ias/plugin_samples/cpp_example
BUILT_SOURCES += plugins/cpp_example/cursor_image.h \
plugins/cpp_example/grid_layout.cc
EXTRA_DIST += cpp_example.diff
# Explicitly pass the name of file to be patched to avoid race condition when
# building weston with multiple worker threads
plugins/cpp_example/grid_layout.cc: plugins/grid_layout.c
cp plugins/grid_layout.c grid_layout_cpp_example.c
patch -p0 grid_layout_cpp_example.c plugins/cpp_example/cpp_example.diff
mv grid_layout_cpp_example.c plugins/cpp_example/grid_layout.cc
rm -f grid_layout_cpp_example.c.orig
plugins/cpp_example/cursor_image.h: plugins/cursor_image.h
cp plugins/cursor_image.h plugins/cpp_example/
plugin_LTLIBRARIES += extension_sample.la
extension_sample_la_SOURCES = plugins/extension_sample/cursor_image.h \
plugins/extension_sample/extension_sample.c \
plugins/extension_sample/new-extension-protocol.c \
plugins/extension_sample/new-extension-server-protocol.h
example_PROGRAMS += extension_test_client
extension_test_client_SOURCES = plugins/extension_sample/extension_test_client.c \
plugins/extension_sample/new-extension-protocol.c \
plugins/extension_sample/new-extension-client-protocol.h
extension_test_client_CFLAGS = $(CLIENT_CFLAGS) -fPIE
extension_test_client_LDADD = $(SIMPLE_CLIENT_LIBS)
extension_test_client_LDFLAGS = -pie
BUILT_SOURCES += plugins/extension_sample/new-extension-server-protocol.h \
plugins/extension_sample/new-extension-client-protocol.h \
plugins/extension_sample/new-extension-protocol.c \
plugins/extension_sample/cursor_image.h \
plugins/extension_sample/extension_sample.c
EXTRA_DIST += plugins/extension_sample/new-extension.xml plugins/extension_sample/extension_sample.diff
extension_sample_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
extension_sample_la_LDFLAGS = -module
# Stick a copy of the plugin source and client source under
# {datadir}/doc/ias/plugin_samples/extension_sample
extension_sample_doc_DATA = plugins/extension_sample/extension_sample.c \
plugins/extension_sample/extension_test_client.c \
plugins/extension_sample/new-extension.xml
extension_sample_docdir = ${datarootdir}/doc/ias/plugin_samples/extension_sample
plugins/extension_sample/new-extension-server-protocol.h: plugins/extension_sample/new-extension.xml
@wayland_scanner@ server-header < $< > $@
plugins/extension_sample/new-extension-client-protocol.h: plugins/extension_sample/new-extension.xml
@wayland_scanner@ client-header < $< > $@
plugins/extension_sample/new-extension-protocol.c: plugins/extension_sample/new-extension.xml
@wayland_scanner@ code < $< > $@
# Explicitly pass the name of file to be patched to avoid race condition when
# building weston with multiple worker threads
plugins/extension_sample/extension_sample.c: plugins/grid_layout.c
cp plugins/grid_layout.c grid_layout_extension_sample.c
patch -p0 grid_layout_extension_sample.c plugins/extension_sample/extension_sample.diff
mv grid_layout_extension_sample.c plugins/extension_sample/extension_sample.c
rm -f grid_layout_extension_sample.c.orig
plugins/extension_sample/cursor_image.h: plugins/cursor_image.h
cp plugins/cursor_image.h plugins/extension_sample/
plugin_LTLIBRARIES += surface_gbc_control.la
surface_gbc_control_la_SOURCES = plugins/gamma_example/surface_gbc_control.c
surface_gbc_control_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
surface_gbc_control_la_LDFLAGS = -module -L$(WLD)/lib
# Stick a copy of the surface_gbc_control plugin source under {datadir}/doc/ias/plugin_samples/gamma_example
surface_gbc_control_doc_DATA = plugins/gamma_example/surface_gbc_control.c
surface_gbc_control_docdir = ${datarootdir}/doc/ias/plugin_samples/gamma_example
plugin_LTLIBRARIES += input.la
input_la_SOURCES = plugins/input/input.c
input_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
input_la_LDFLAGS = -module -L$(WLD)/lib
# Stick a copy of the input plugin source under {datadir}/doc/ias/plugin_samples/input
input_doc_DATA = plugins/input/input.c
input_docdir = ${datarootdir}/doc/ias/plugin_samples/input
plugin_LTLIBRARIES += sprite_example.la
sprite_example_la_SOURCES = plugins/sprite_example/sprite_example.c
sprite_example_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
sprite_example_la_LDFLAGS = -module
# Stick a copy of the grid plugin source under {datadir}/doc/ias/plugin_samples/sprite_example
sprite_example_doc_DATA = plugins/sprite_example/sprite_example.c
sprite_example_docdir = ${datarootdir}/doc/ias/plugin_samples/sprite_example
plugin_LTLIBRARIES += thumbnail_layout.la
thumbnail_layout_la_SOURCES = plugins/thumbnail/thumbnail_layout.c
thumbnail_layout_la_CFLAGS = $(COMPOSITOR_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/shared
thumbnail_layout_la_LDFLAGS = -module -L$(WLD)/lib
if BUILD_CLIENTS
example_PROGRAMS += weston-terminal weston-info weston-debug weston-screenshooter
libexec_PROGRAMS += \
weston-desktop-shell \
weston-keyboard \
weston-simple-im \
ias-test-hmi
if ENABLE_IVI_SHELL
libexec_PROGRAMS += \
weston-ivi-shell-user-interface
endif
if ENABLE_HYPER_DMABUF
libexec_PROGRAMS += vmdisplay-wayland \
vmdisplay-server \
vmdisplay-input
endif
demo_clients = \
weston-flower \
weston-image \
weston-cliptest \
weston-dnd \
weston-smoke \
weston-resizor \
weston-eventdemo \
weston-clickdot \
weston-confine \
weston-transformed \
weston-fullscreen \
weston-stacking \
weston-calibrator \
weston-touch-calibrator \
weston-scaler \
weston-simple-clock
if INSTALL_DEMO_CLIENTS
example_PROGRAMS += $(demo_clients)
else
noinst_PROGRAMS += $(demo_clients)
endif