Added APIs for setting display mode in video-player
[platform/core/uifw/dali-toolkit.git] / build / tizen / dali-toolkit / Makefile.am
1 #
2 # Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 #
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
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15 #
16
17 # Build the Dali Toolkit library
18
19 toolkit_images_dir  = ../../../dali-toolkit/styles/images-common
20 toolkit_sounds_dir  = ../../../dali-toolkit/sounds
21 toolkit_src_dir     = ../../../dali-toolkit/internal
22 public_api_src_dir  = ../../../dali-toolkit/public-api
23 devel_api_src_dir   = ../../../dali-toolkit/devel-api
24 third_party_src_dir = ../../../dali-toolkit/third-party
25
26 toolkit_styles_base_dir = ${STYLE_BASE_DIR}
27 toolkit_styles_dir = $(STYLE_DIR)
28 toolkit_style_images_dir = $(STYLE_DIR)/images
29
30 include ../../../dali-toolkit/sounds/file.list
31 include ../../../dali-toolkit/styles/file.list
32 include ../../../dali-toolkit/styles/images-common/file.list
33 include ../../../dali-toolkit/internal/file.list
34 include ../../../dali-toolkit/public-api/file.list
35 include ../../../dali-toolkit/devel-api/file.list
36 include ../../../dali-toolkit/third-party/file.list
37
38 vector_based_text_src_dir = ../../../dali-toolkit/internal/text/rendering/vector-based
39 include ../../../dali-toolkit/internal/text/rendering/vector-based/file.list
40
41 if ENABLE_VECTOR_BASED_TEXT_RENDERING
42 toolkit_src_files += $(vector_based_text_src_files)
43 DALI_TOOLKIT_CFLAGS += -DENABLE_VECTOR_BASED_TEXT_RENDERING
44 endif
45
46 resources_dir = ../../../resources
47 daliimagedir = ${dataReadOnlyDir}/toolkit/images/
48 daliimage_DATA = ${dali_toolkit_image_files}
49
50 dalisounddir = ${dataReadOnlyDir}/toolkit/sounds/
51 dalisound_DATA = ${dali_toolkit_sound_files}
52
53 package_doxy_dir = ../../../doc
54 include ../../../doc/file.list
55
56 LIBDALI_TOOLKIT_LA_SOURCES = \
57                      $(toolkit_src_files) \
58                      $(public_api_src_files) \
59                      $(devel_api_src_files) \
60                      $(third_party_src_files)
61
62 dalistyledir = ${dataReadOnlyDir}/toolkit/styles/
63 dalistyle_DATA = ${dali_toolkit_style_files}
64
65 dalistyleimagesdir = ${dataReadOnlyDir}/toolkit/styles/images/
66 dalistyleimages_DATA = ${dali_toolkit_style_images}
67
68 libdali_toolkit_la_DEPENDENCIES =
69
70 LIBDALI_TOOLKIT_LA_CXXFLAGS = -DDALI_COMPILATION \
71                       -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
72                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
73                       -DDALI_STYLE_DIR="\"${dalistyledir}\"" \
74                       -DDALI_STYLE_IMAGE_DIR="\"${dalistyleimagesdir}\"" \
75                       -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
76                       -Werror -Wall \
77                       -I../../../ \
78                       $(DALI_TOOLKIT_CFLAGS) \
79                       $(DALICORE_CFLAGS) \
80                       $(DLOG_CFLAGS) \
81                       $(FRIBIDI_CFLAGS) \
82                       $(HTMLCXX_CFLAGS)
83
84 LIBDALI_TOOLKIT_LA_LIBADD = \
85                       $(DALICORE_LIBS) \
86                       $(DLOG_LIBS) \
87                       $(FRIBIDI_LIBS) \
88                       $(HTMLCXX_LIBS)
89
90
91 # The library
92 if ENABLE_CXX03_ABI
93
94 lib_LTLIBRARIES = libdali-toolkit.la
95 libdali_toolkit_la_SOURCES = $(LIBDALI_TOOLKIT_LA_SOURCES)
96 libdali_toolkit_la_LIBADD = $(LIBDALI_TOOLKIT_LA_LIBADD)
97 libdali_toolkit_la_CXXFLAGS = $(LIBDALI_TOOLKIT_LA_CXXFLAGS)
98 libdali_toolkit_la_CFLAGS = $(LIBDALI_TOOLKTI_LA_CFLAGS)
99
100 if ENABLE_RENAME_SO
101 #rename
102 install: install-am
103         rm -rf $(libdir)/libdali-toolkit.so
104         rm -rf $(libdir)/libdali-toolkit-cxx03.so
105         ln -s $(libdir)/libdali-toolkit.so.0.0.* $(libdir)/libdali-toolkit-cxx03.so
106 endif
107
108 else
109
110 lib_LTLIBRARIES = libdali-toolkit-cxx11.la
111 libdali_toolkit_cxx11_la_SOURCES = $(LIBDALI_TOOLKIT_LA_SOURCES)
112 libdali_toolkit_cxx11_la_LIBADD = $(LIBDALI_TOOLKIT_LA_LIBADD)
113 libdali_toolkit_cxx11_la_CXXFLAGS = $(LIBDALI_TOOLKIT_LA_CXXFLAGS)
114 libdali_toolkit_cxx11_la_CFLAGS = $(LIBDALI_TOOLKTI_LA_CFLAGS)
115
116 if ENABLE_RENAME_SO
117 #rename
118 install: install-am
119         rm -rf $(libdir)/libdali-toolkit-cxx11.so
120         rm -rf $(libdir)/libdali-toolkit.so
121         ln -s $(libdir)/libdali-toolkit-cxx11.so.0.0.* $(libdir)/libdali-toolkit.so
122 endif
123
124 endif
125
126 # Install headers
127 topleveldir = $(devincludepath)/dali-toolkit
128 toplevel_HEADERS = ../../../dali-toolkit/dali-toolkit.h
129
130 # devel api
131 develapidir =                   $(topleveldir)/devel-api
132 develapibuilderdir =            $(develapidir)/builder
133 develapicontrolsdir =           $(develapidir)/controls
134 develapibloomviewdir =          $(develapicontrolsdir)/bloom-view
135 develapibubbleemitterdir =      $(develapicontrolsdir)/bubble-effect
136 develapibuttonsdir =            $(develapicontrolsdir)/buttons
137 develapieffectsviewdir =        $(develapicontrolsdir)/effects-view
138 develapigaussianblurviewdir =   $(develapicontrolsdir)/gaussian-blur-view
139 develapimagnifierdir =          $(develapicontrolsdir)/magnifier
140 develapinavigationviewdir =     $(develapicontrolsdir)/navigation-view
141 develapipageturnviewdir =       $(develapicontrolsdir)/page-turn-view
142 develapipopupdir =              $(develapicontrolsdir)/popup
143 develapishadowviewdir =         $(develapicontrolsdir)/shadow-view
144 develapisuperblurviewdir =      $(develapicontrolsdir)/super-blur-view
145 develapifocusmanagerdir =       $(develapidir)/focus-manager
146 develapiimageloaderdir =        $(develapidir)/image-loader
147 develapiscriptingdir =          $(develapidir)/scripting
148 develapishadereffectsdir =      $(develapidir)/shader-effects
149 develapistylingdir =            $(develapidir)/styling
150 develapitransitioneffectsdir =  $(develapidir)/transition-effects
151 develapitoolbardir =            $(develapicontrolsdir)/tool-bar
152 develapitooltipdir =            $(develapicontrolsdir)/tooltip
153 develapitextselectionpopupdir = $(develapicontrolsdir)/text-controls
154 develapitextdir =               $(develapidir)/text
155 develapivisualfactorydir =      $(develapidir)/visual-factory
156 develapivisualsdir =            $(develapidir)/visuals
157
158 # devel headers
159 develapi_HEADERS =                  $(devel_api_header_files)
160 develapicontrols_HEADERS =          $(devel_api_controls_header_files)
161 develapibloomview_HEADERS =         $(devel_api_bloom_view_header_files)
162 develapibubbleemitter_HEADERS =     $(devel_api_bubble_emitter_header_files)
163 develapibuttons_HEADERS =           $(devel_api_buttons_header_files)
164 develapibuilder_HEADERS =           $(devel_api_builder_header_files)
165 develapieffectsview_HEADERS =       $(devel_api_effects_view_header_files)
166 develapifocusmanager_HEADERS =      $(devel_api_focus_manager_header_files)
167 develapigaussianblurview_HEADERS =  $(devel_api_gaussian_blur_view_header_files)
168 develapiimageloader_HEADERS =       $(devel_api_image_loader_header_files)
169 develapimagnifier_HEADERS =         $(devel_api_magnifier_header_files)
170 develapinavigationview_HEADERS =    $(devel_api_navigation_view_header_files)
171 develapipageturnview_HEADERS =      $(devel_api_page_turn_view_header_files)
172 develapipopup_HEADERS =             $(devel_api_popup_header_files)
173 develapivisualfactory_HEADERS =     $(devel_api_visual_factory_header_files)
174 develapivisuals_HEADERS =           $(devel_api_visuals_header_files)
175 develapiscripting_HEADERS =         $(devel_api_scripting_header_files)
176 develapishadowview_HEADERS =        $(devel_api_shadow_view_header_files)
177 develapishadereffects_HEADERS =     $(devel_api_shader_effects_header_files)
178 develapistyling_HEADERS =           $(devel_api_styling_header_files)
179 develapisuperblurview_HEADERS =     $(devel_api_super_blur_view_header_files)
180 develapitoolbar_HEADERS =           $(devel_api_tool_bar_header_files)
181 develapitooltip_HEADERS =           $(devel_api_tooltip_header_files)
182 develapitransitioneffects_HEADERS = $(devel_api_transition_effects_header_files)
183 develapitextselectionpopup_HEADERS = $(devel_api_text_controls_header_files)
184 develapitext_HEADERS =              $(devel_api_text_header_files)
185
186 # public api source
187 publicapidir =                     $(topleveldir)/public-api
188 publicapicontrolsdir =             $(publicapidir)/controls
189 publicapiimageloaderdir =          $(publicapidir)/image-loader
190 publicapiaccessibilitymanagerdir = $(publicapidir)/accessibility-manager
191 publicapialignmentdir =            $(publicapicontrolsdir)/alignment
192 publicapibuttonsdir =              $(publicapicontrolsdir)/buttons
193 publicapidefaultcontrolsdir =      $(publicapicontrolsdir)/default-controls
194 publicapiflexcontainerdir =        $(publicapicontrolsdir)/flex-container
195 publicapiimageviewdir =            $(publicapicontrolsdir)/image-view
196 publicapivideoviewdir =            $(publicapicontrolsdir)/video-view
197 publicapimodel3dviewdir =          $(publicapicontrolsdir)/model3d-view
198 publicapiprogressbardir =          $(publicapicontrolsdir)/progress-bar
199 publicapiscrollbardir =            $(publicapicontrolsdir)/scroll-bar
200 publicapiscrollabledir =           $(publicapicontrolsdir)/scrollable
201 publicapiscrollviewdir =           $(publicapicontrolsdir)/scrollable/scroll-view
202 publicapiitemviewdir =             $(publicapicontrolsdir)/scrollable/item-view
203 publicapistylingdir =              $(publicapidir)/styling
204 publicapitableviewdir =            $(publicapicontrolsdir)/table-view
205 publicapitextcontrolsdir =         $(publicapicontrolsdir)/text-controls
206 publicapifocusmanagerdir =         $(publicapidir)/focus-manager
207 publicapitextdir =                 $(publicapidir)/text
208 publicapisliderdir =               $(publicapicontrolsdir)/slider
209 publicapivisualsdir =              $(publicapidir)/visuals
210
211 # public api headers
212 publicapi_HEADERS =                     $(public_api_header_files)
213 publicapicontrols_HEADERS =             $(public_api_controls_header_files)
214 publicapiimageloader_HEADERS =          $(public_api_image_loader_header_files)
215 publicapiaccessibilitymanager_HEADERS = $(public_api_accessibility_manager_header_files)
216 publicapialignment_HEADERS =            $(public_api_alignment_header_files)
217 publicapibuttons_HEADERS =              $(public_api_buttons_header_files)
218 publicapidefaultcontrols_HEADERS =      $(public_api_default_controls_header_files)
219 publicapiflexcontainer_HEADERS =        $(public_api_flex_container_header_files)
220 publicapiimageview_HEADERS =            $(public_api_image_view_header_files)
221 publicapivideoview_HEADERS =            $(public_api_video_view_header_files)
222 publicapiitemview_HEADERS =             $(public_api_item_view_header_files)
223 publicapimodel3dview_HEADERS =          $(public_api_model3d_view_header_files)
224 publicapiprogressbar_HEADERS =          $(public_api_progress_bar_header_files)
225 publicapiscrollbar_HEADERS =            $(public_api_scroll_bar_header_files)
226 publicapiscrollable_HEADERS =           $(public_api_scrollable_header_files)
227 publicapiscrollview_HEADERS =           $(public_api_scroll_view_header_files)
228 publicapistyling_HEADERS =              $(public_api_styling_header_files)
229 publicapitableview_HEADERS =            $(public_api_table_view_header_files)
230 publicapitextcontrols_HEADERS =         $(public_api_text_controls_header_files)
231 publicapifocusmanager_HEADERS =         $(public_api_focus_manager_header_files)
232 publicapitext_HEADERS =                 $(public_api_text_header_files)
233 publicapislider_HEADERS =               $(public_api_slider_header_files)
234 publicapivisuals_HEADERS =              $(public_api_visuals_header_files)
235
236 # package doxygen file (contains doxygen grouping information)
237 packagedoxydir = $(topleveldir)/doc
238 packagedoxy_HEADERS = $(package_doxy_files)