Addition of the window animation interface.
[profile/ivi/ico-uxf-weston-plugin.git] / src / Makefile.am
1 lib_LTLIBRARIES = libico-uxf-weston-plugin.la
2
3 pkginclude_HEADERS =               \
4         ico_ivi_shell-client-protocol.h         \
5         ico_window_mgr-client-protocol.h        \
6         ico_input_mgr-client-protocol.h
7
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
14
15 AM_CPPFLAGS =                                   \
16         -DDATADIR='"$(datadir)"'                \
17         -DMODULEDIR='"$(moduledir)"'            \
18         -DLIBEXECDIR='"$(libexecdir)"'
19
20 EXT_CFLAGS =
21
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 $@; \
25         rm $@-new)
26
27 .FORCE :
28
29 moduledir = @libdir@/weston
30 module_LTLIBRARIES =            \
31         $(ico_plugin_loader)    \
32         $(ico_ivi_common)               \
33         $(ico_ivi_shell)                \
34         $(ico_window_mgr)               \
35         $(ico_window_animation) \
36         $(ico_input_mgr)
37
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 =          \
44         ico_plugin_loader.c             \
45         config-parser.c  # Remove once Weston SDK exports config functions.
46
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 =          \
53         ico_ivi_common.c        \
54         config-parser.c  # Remove once Weston SDK exports config functions.
55
56 # IVI-Shell
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 =                      \
62         ico_ivi_shell.c                         \
63         ico_ivi_shell-protocol.c                \
64         ico_ivi_shell-server-protocol.h         \
65         config-parser.c  # Remove once Weston SDK exports config functions.
66
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 =                     \
73         ico_window_mgr.c                        \
74         ico_window_mgr-protocol.c               \
75         ico_window_mgr-server-protocol.h
76 #
77 # Window Animation
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
84
85 # Multi Input Manager
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 =                      \
91         ico_input_mgr.c                         \
92         ico_input_mgr-protocol.c                \
93         ico_input_mgr-server-protocol.h
94
95 # Wayland protocol(Build by wayland-scanner)
96 BUILT_SOURCES =                                 \
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         \
106         git-version.h
107
108 CLEANFILES = $(BUILT_SOURCES)
109
110 @wayland_scanner_rules@