1 lib_LTLIBRARIES = libico-uxf-weston-plugin.la
4 ico_ivi_shell-client-protocol.h \
5 ico_window_mgr-client-protocol.h \
6 ico_input_mgr-client-protocol.h
8 libico_uxf_weston_plugin_la_LIBADD = -lrt -lm
9 libico_uxf_weston_plugin_la_LDFLAGS = -version-info 0:5:0
10 libico_uxf_weston_plugin_la_SOURCES = \
11 ico_ivi_shell-protocol.c \
12 ico_window_mgr-protocol.c \
13 ico_input_mgr-protocol.c
16 -DDATADIR='"$(datadir)"' \
17 -DMODULEDIR='"$(moduledir)"' \
18 -DLIBEXECDIR='"$(libexecdir)"'
22 git-version.h : .FORCE
23 $(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; \
24 cmp -s $@ $@-new || cp $@-new $@; \
29 moduledir = @libdir@/weston
30 module_LTLIBRARIES = \
31 $(ico_plugin_loader) \
35 $(ico_window_animation) \
38 # Weston Plugin Loader
39 ico_plugin_loader = ico_plugin_loader.la
40 ico_plugin_loader_la_LDFLAGS = -module -avoid-version
41 ico_plugin_loader_la_LIBADD = $(PLUGIN_LIBS)
42 ico_plugin_loader_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
43 ico_plugin_loader_la_SOURCES = \
45 config-parser.c # Remove once Weston SDK exports config functions.
47 # IVI Common Functions
48 ico_ivi_common = ico_ivi_common.la
49 ico_ivi_common_la_LDFLAGS = -module -avoid-version
50 ico_ivi_common_la_LIBADD = $(PLUGIN_LIBS)
51 ico_ivi_common_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
52 ico_ivi_common_la_SOURCES = \
54 config-parser.c # Remove once Weston SDK exports config functions.
57 ico_ivi_shell = ico_ivi_shell.la
58 ico_ivi_shell_la_LDFLAGS = -module -avoid-version
59 ico_ivi_shell_la_LIBADD = $(PLUGIN_LIBS)
60 ico_ivi_shell_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
61 ico_ivi_shell_la_SOURCES = \
63 ico_ivi_shell-protocol.c \
64 ico_ivi_shell-server-protocol.h \
65 config-parser.c # Remove once Weston SDK exports config functions.
67 # Multi Window Manager
68 ico_window_mgr = ico_window_mgr.la
69 ico_window_mgr_la_LDFLAGS = -module -avoid-version
70 ico_window_mgr_la_LIBADD = $(PLUGIN_LIBS) $(AUL_LIBS)
71 ico_window_mgr_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
72 ico_window_mgr_la_SOURCES = \
74 ico_window_mgr-protocol.c \
75 ico_window_mgr-server-protocol.h
78 ico_window_animation = ico_window_animation.la
79 ico_window_animation_la_LDFLAGS = -module -avoid-version
80 ico_window_animation_la_LIBADD = $(PLUGIN_LIBS) $(AUL_LIBS)
81 ico_window_animation_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
82 ico_window_animation_la_SOURCES = \
83 ico_window_animation.c
86 ico_input_mgr = ico_input_mgr.la
87 ico_input_mgr_la_LDFLAGS = -module -avoid-version
88 ico_input_mgr_la_LIBADD = $(PLUGIN_LIBS)
89 ico_input_mgr_la_CFLAGS = $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
90 ico_input_mgr_la_SOURCES = \
92 ico_input_mgr-protocol.c \
93 ico_input_mgr-server-protocol.h
95 # Wayland protocol(Build by wayland-scanner)
97 ico_ivi_shell-protocol.c \
98 ico_ivi_shell-server-protocol.h \
99 ico_ivi_shell-client-protocol.h \
100 ico_window_mgr-protocol.c \
101 ico_window_mgr-server-protocol.h \
102 ico_window_mgr-client-protocol.h \
103 ico_input_mgr-protocol.c \
104 ico_input_mgr-server-protocol.h \
105 ico_input_mgr-client-protocol.h \
108 CLEANFILES = $(BUILT_SOURCES)
110 @wayland_scanner_rules@