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
55 dalisounddir = ${dataReadOnlyDir}/plugins/sounds/
56 dalisound_DATA = ${dali_plugin_sound_files}
59 LIBDALI_FEEDBACK_PLUGIN_LA_SOURCES = \
60 $(feedback_plugin_src_files)
63 libdali_feedback_plugin_la_DEPENDENCIES =
65 LIBDALI_FEEDBACK_PLUGIN_LA_CXXFLAGS = -DDALI_COMPILATION \
66 -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
71 $(DALI_PROFILE_CFLAGS) \
72 $(DALI_ADAPTOR_CFLAGS) \
73 -I../../../adaptors/public-api \
74 -I../../../adaptors/integration-api \
75 -I../../../adaptors/public-api/adaptor-framework \
76 -I../../../adaptors/devel-api/adaptor-framework \
79 LIBDALI_FEEDBACK_PLUGIN_LA_LIBADD = \
83 LIBDALI_FEEDBACK_PLUGIN_LA_LDFLAGS = \
86 LIBDALI_FEEDBACK_PLUGIN_LA_LIBADD += \
95 LIBDALI_VIDEO_PLAYER_PLUGIN_LA_SOURCES = \
96 $(video_player_plugin_src_files)
98 libdali_video_player_plugin_la__DEPENDENCIES =
100 LIBDALI_VIDEO_PLAYER_PLUGIN_LA_CXXFLAGS = -DDALI_COMPILATION \
101 -DDALI_ADAPTOR_COMPILATION \
104 $(ECORE_WAYLAND_CFLAGS) \
105 $(CAPI_MEDIA_PLAYER_CFLAGS) \
106 $(DALI_PROFILE_CFLAGS) \
107 $(DALI_ADAPTOR_CFLAGS) \
108 -I../../../adaptors/public-api \
109 -I../../../adaptors/devel-api \
110 -I../../../adaptors/devel-api/adaptor-framework \
111 -I../../../adaptors/integration-api \
112 -I../../../adaptors/public-api/adaptor-framework \
113 -I../../../plugins/video-player \
116 LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LIBADD = \
118 $(ECORE_WAYLAND_LIBS) \
119 $(CAPI_MEDIA_PLAYER_LIBS)
121 LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LDFLAGS = \
124 endif # USE_VIDEOPLAYER
130 libdali_feedback_plugin_la_SOURCES = $(LIBDALI_FEEDBACK_PLUGIN_LA_SOURCES)
131 libdali_feedback_plugin_la_LIBADD = $(LIBDALI_FEEDBACK_PLUGIN_LA_LIBADD)
132 libdali_feedback_plugin_la_CXXFLAGS = $(LIBDALI_FEEDBACK_PLUGIN_LA_CXXFLAGS)
133 libdali_feedback_plugin_la_LDFLAGS = $(LIBDALI_FEEDBACK_PLUGIN_LA_LDFLAGS)
138 rm -rf $(libdir)/libdali_feedback_plugin.so
139 rm -rf $(libdir)/libdali_feedback_plugin-cxx03.so
140 ln -s $(libdir)/libdali_feedback_plugin.so.0.0.* $(libdir)/libdali_feedback_plugin-cxx03.so
146 libdali_video_player_plugin_la_SOURCES = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_SOURCES)
147 libdali_video_player_plugin_la_CXXFLAGS = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_CXXFLAGS)
148 libdali_video_player_plygin_la_LIBADD = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LIBADD)
149 libdali_video_player_plugin_la_LDFLAGS = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LDFLAGS)
154 rm -rf $(libdir)/libdali_video_player_plugin.so
155 rm -rf $(libdir)/libdali_video_player_plugin-cxx03.so
156 ln -s $(libdir)/libdali_video_player_plugin.so.0.0.* $(libdir)/libdali_video_player_plugin-cxx03.so
164 libdali_feedback_plugin_cxx11_la_SOURCES = $(LIBDALI_FEEDBACK_PLUGIN_LA_SOURCES)
165 libdali_feedback_plugin_cxx11_la_LIBADD = $(LIBDALI_FEEDBACK_PLUGIN_LA_LIBADD)
166 libdali_feedback_plugin_cxx11_la_CXXFLAGS = $(LIBDALI_FEEDBACK_PLUGIN_LA_CXXFLAGS)
167 libdali_feedback_plugin_cxx11_la_LDFLAGS = $(LIBDALI_FEEDBACK_PLUGIN_LA_LDFLAGS)
172 rm -rf $(libdir)/libdali_feedback_plugin-cxx11.so
173 rm -rf $(libdir)/libdali_feedback_plugin.so
174 ln -s $(libdir)/libdali_feedback_plugin-cxx11.so.0.0.* $(libdir)/libdali_feedback_plugin.so
180 libdali_video_player_plugin_cxx11_la_SOURCES = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_SOURCES)
181 libdali_video_player_plugin_cxx11_la_CXXFLAGS = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_CXXFLAGS)
182 libdali_video_player_plygin_cxx11_la_LIBADD = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LIBADD)
183 libdali_video_player_plugin_cxx11_la_LDFLAGS = $(LIBDALI_VIDEO_PLAYER_PLUGIN_LA_LDFLAGS)
188 rm -rf $(libdir)/libdali_video_player_plugin-cxx11.so
189 rm -rf $(libdir)/libdali_video_player_plugin.so
190 ln -s $(libdir)/libdali_video_player_plugin-cxx11.so.0.0.* $(libdir)/libdali_video_player_plugin.so