2 # Copyright (c) 2015 Samsung Electronics Co., Ltd.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 # Build the Dali feedback plugin
19 plugin_src_dir = ../../../plugins
21 include ../../../plugins/sounds/file.list
22 include ../../../plugins/file.list
24 plugin_sounds_dir = ../../../plugins/sounds
31 lib_LTLIBRARIES += libdali-feedback-plugin.la
36 lib_LTLIBRARIES += libdali-video-player-plugin.la
43 lib_LTLIBRARIES += libdali-feedback-plugin-cxx11.la
49 lib_LTLIBRARIES += libdali-video-player-plugin-cxx11.la
58 dalisounddir = ${dataReadOnlyDir}/plugins/sounds/
59 dalisound_DATA = ${dali_plugin_sound_files}
62 libdali_feedback_plugin_la_SOURCES = \
63 $(feedback_plugin_src_files)
65 libdali_feedback_plugin_la_DEPENDENCIES =
67 libdali_feedback_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
68 -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
73 $(DALI_PROFILE_CFLAGS) \
74 $(DALI_ADAPTOR_CFLAGS) \
75 -I../../../adaptors/public-api \
76 -I../../../adaptors/integration-api \
77 -I../../../adaptors/public-api/adaptor-framework \
78 -I../../../adaptors/devel-api/adaptor-framework \
81 libdali_feedback_plugin_la_LIBADD = \
85 libdali_feedback_plugin_la_LDFLAGS = \
88 libdali_feedback_plugin_la_LIBADD += \
97 libdali_video_player_plugin_la_SOURCES = \
98 $(video_player_plugin_src_files)
100 libdali_video_player_plugin_la_DEPENDENCIES =
102 libdali_video_player_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
103 -DDALI_ADAPTOR_COMPILATION \
106 $(ECORE_WAYLAND_CFLAGS) \
107 $(CAPI_MEDIA_PLAYER_CFLAGS) \
108 $(DALI_PROFILE_CFLAGS) \
109 $(DALI_ADAPTOR_CFLAGS) \
110 -I../../../adaptors/public-api \
111 -I../../../adaptors/devel-api \
112 -I../../../adaptors/devel-api/adaptor-framework \
113 -I../../../adaptors/integration-api \
114 -I../../../adaptors/public-api/adaptor-framework \
115 -I../../../plugins/video-player \
118 libdali_video_player_plugin_la_LIBADD = \
120 $(ECORE_WAYLAND_LIBS) \
121 $(CAPI_MEDIA_PLAYER_LIBS)
123 libdali_video_player_plugin_la_LDFLAGS = \
126 endif # USE_VIDEOPLAYER
132 dalisounddir = ${dataReadOnlyDir}/plugins/sounds/
133 dalisound_DATA = ${dali_plugin_sound_files}
137 libdali_feedback_plugin_cxx11_la_SOURCES = \
138 $(feedback_plugin_src_files)
140 libdali_feedback_plugin_cxx11_la_DEPENDENCIES =
142 libdali_feedback_plugin_cxx11_la_CXXFLAGS = -DDALI_COMPILATION \
143 -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
148 $(DALI_PROFILE_CFLAGS) \
149 $(DALI_ADAPTOR_CFLAGS) \
150 -I../../../adaptors/public-api \
151 -I../../../adaptors/integration-api \
152 -I../../../adaptors/public-api/adaptor-framework \
153 -I../../../adaptors/devel-api/adaptor-framework \
156 libdali_feedback_plugin_cxx11_la_LIBADD = \
160 libdali_feedback_plugin_cxx11_la_LDFLAGS = \
163 libdali_feedback_plugin_cxx11_la_LIBADD += \
172 libdali_video_player_plugin_cxx11_la_SOURCES = \
173 $(video_player_plugin_src_files)
175 libdali_video_player_plugin_cxx11_la_DEPENDENCIES =
177 libdali_video_player_plugin_cxx11_la_CXXFLAGS = -DDALI_COMPILATION \
178 -DDALI_ADAPTOR_COMPILATION \
181 $(ECORE_WAYLAND_CFLAGS) \
182 $(CAPI_MEDIA_PLAYER_CFLAGS) \
183 $(DALI_PROFILE_CFLAGS) \
184 $(DALI_ADAPTOR_CFLAGS) \
185 -I../../../adaptors/public-api \
186 -I../../../adaptors/devel-api \
187 -I../../../adaptors/devel-api/adaptor-framework \
188 -I../../../adaptors/integration-api \
189 -I../../../adaptors/public-api/adaptor-framework \
190 -I../../../plugins/video-player \
193 libdali_video_player_plugin_cxx11_la_LIBADD = \
195 $(ECORE_WAYLAND_LIBS) \
196 $(CAPI_MEDIA_PLAYER_LIBS)
198 libdali_video_player_plugin_cxx11_la_LDFLAGS = \