1 lib_LTLIBRARIES = libico-uxf-weston-plugin.la
4 desktop-shell-client-protocol.h \
5 xdg-shell-client-protocol.h \
6 input-method-client-protocol.h \
7 workspaces-client-protocol.h \
8 ico_window_mgr-client-protocol.h \
9 ico_input_mgr-client-protocol.h \
13 libico_uxf_weston_plugin_la_LIBADD = -ldrm_intel -lrt -lm
14 libico_uxf_weston_plugin_la_LDFLAGS = -version-info 0:9:0
15 libico_uxf_weston_plugin_la_SOURCES = \
16 desktop-shell-protocol.c \
17 xdg-shell-protocol.c \
18 input-method-protocol.c \
19 workspaces-protocol.c \
20 ico_window_mgr-protocol.c \
21 ico_input_mgr-protocol.c
24 -DDATADIR='"$(datadir)"' \
25 -DMODULEDIR='"$(moduledir)"' \
26 -DLIBEXECDIR='"$(libexecdir)"'
30 git-version.h : .FORCE
31 $(AM_V_GEN)(echo "#define BUILD_ID \"$(shell git --work-tree=$(top_srcdir) describe --always --dirty) $(shell git --work-tree=$(top_srcdir) log -1 --format='%s (%ci)')\"" > $@-new; \
32 cmp -s $@ $@-new || cp $@-new $@; \
37 moduledir = @libdir@/weston
38 module_LTLIBRARIES = \
39 $(ico_plugin_loader) \
42 $(ico_window_animation) \
45 # Weston Plugin Loader
46 ico_plugin_loader = ico_plugin_loader.la
47 ico_plugin_loader_la_LDFLAGS = -module -avoid-version
48 ico_plugin_loader_la_LIBADD = $(PLUGIN_LIBS)
49 ico_plugin_loader_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
50 ico_plugin_loader_la_SOURCES = \
52 ico_ivi_common_private.h \
56 ico_ivi_shell = ico_ivi_shell.la
57 ico_ivi_shell_la_LDFLAGS = -module -avoid-version
58 ico_ivi_shell_la_LIBADD = $(PLUGIN_LIBS)
59 ico_ivi_shell_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
60 ico_ivi_shell_la_SOURCES = \
65 ico_ivi_shell_private.h \
66 ico_ivi_common_private.h \
67 desktop-shell-protocol.c \
68 desktop-shell-server-protocol.h \
69 xdg-shell-protocol.c \
70 xdg-shell-server-protocol.h
72 # Multi Window Manager
73 ico_window_mgr = ico_window_mgr.la
74 ico_window_mgr_la_LDFLAGS = -module -avoid-version
75 ico_window_mgr_la_LIBADD = -lEGL -lGLESv2 -ldrm_intel $(PLUGIN_LIBS) $(AUL_LIBS)
76 ico_window_mgr_la_CFLAGS = -I/usr/include/libdrm $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
77 ico_window_mgr_la_SOURCES = \
79 ico_window_mgr_private.h \
81 ico_ivi_common_private.h \
82 ico_ivi_shell_private.h \
83 ico_window_mgr-protocol.c \
84 ico_window_mgr-server-protocol.h
87 ico_window_animation = ico_window_animation.la
88 ico_window_animation_la_LDFLAGS = -module -avoid-version
89 ico_window_animation_la_LIBADD = $(PLUGIN_LIBS) $(AUL_LIBS)
90 ico_window_animation_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
91 ico_window_animation_la_SOURCES = \
92 ico_window_animation.c \
93 ico_window_mgr_private.h \
94 ico_ivi_common._privateh
97 ico_input_mgr = ico_input_mgr.la
98 ico_input_mgr_la_LDFLAGS = -module -avoid-version
99 ico_input_mgr_la_LIBADD = $(PLUGIN_LIBS)
100 ico_input_mgr_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
101 ico_input_mgr_la_SOURCES = \
104 ico_window_mgr_private.h \
105 ico_ivi_common._privateh \
106 ico_input_mgr-protocol.c \
107 ico_input_mgr-server-protocol.h
109 # Wayland protocol(Build by wayland-scanner)
111 desktop-shell-protocol.c \
112 desktop-shell-server-protocol.h \
113 desktop-shell-client-protocol.h \
114 xdg-shell-protocol.c \
115 xdg-shell-server-protocol.h \
116 xdg-shell-client-protocol.h \
117 input-method-protocol.c \
118 input-method-server-protocol.h \
119 input-method-client-protocol.h \
120 workspaces-protocol.c \
121 workspaces-server-protocol.h \
122 workspaces-client-protocol.h \
123 ico_window_mgr-protocol.c \
124 ico_window_mgr-server-protocol.h \
125 ico_window_mgr-client-protocol.h \
126 ico_input_mgr-protocol.c \
127 ico_input_mgr-server-protocol.h \
128 ico_input_mgr-client-protocol.h
130 CLEANFILES = $(BUILT_SOURCES)
132 @wayland_scanner_rules@