Merge "Added Tooltip functionality to Control" into devel/master
[platform/core/uifw/dali-toolkit.git] / build / tizen / dali-toolkit / Makefile.am
1 #
2 # Copyright (c) 2016 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 # The library
57 lib_LTLIBRARIES = libdali-toolkit.la
58
59 libdali_toolkit_la_SOURCES = \
60                      $(toolkit_src_files) \
61                      $(public_api_src_files) \
62                      $(devel_api_src_files) \
63                      $(third_party_src_files)
64
65 dalistyledir = ${dataReadOnlyDir}/toolkit/styles/
66 dalistyle_DATA = ${dali_toolkit_style_files}
67
68 dalistyleimagesdir = ${dataReadOnlyDir}/toolkit/styles/images/
69 dalistyleimages_DATA = ${dali_toolkit_style_images}
70
71 libdali_toolkit_la_DEPENDENCIES =
72
73 libdali_toolkit_la_CXXFLAGS = -DDALI_COMPILATION \
74                       -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
75                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
76                       -DDALI_STYLE_DIR="\"${dalistyledir}\"" \
77                       -DDALI_STYLE_IMAGE_DIR="\"${dalistyleimagesdir}\"" \
78                       -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
79                       -Werror -Wall \
80                       -I../../../ \
81                       $(DALI_TOOLKIT_CFLAGS) \
82                       $(DALICORE_CFLAGS) \
83                       $(DLOG_CFLAGS) \
84                       $(FRIBIDI_CFLAGS) \
85                       $(HTMLCXX_CFLAGS)
86
87 libdali_toolkit_la_LIBADD = \
88                       $(DALICORE_LIBS) \
89                       $(DLOG_LIBS) \
90                       $(FRIBIDI_LIBS) \
91                       $(HTMLCXX_LIBS)
92
93 # Install headers
94
95 topleveldir = $(devincludepath)/dali-toolkit
96 toplevel_HEADERS = ../../../dali-toolkit/dali-toolkit.h
97
98 # devel api
99 develapidir =                   $(topleveldir)/devel-api
100 develapibuilderdir =            $(develapidir)/builder
101 develapicontrolsdir =           $(develapidir)/controls
102 develapibloomviewdir =          $(develapicontrolsdir)/bloom-view
103 develapibubbleemitterdir =      $(develapicontrolsdir)/bubble-effect
104 develapibuttonsdir =            $(develapicontrolsdir)/buttons
105 develapieffectsviewdir =        $(develapicontrolsdir)/effects-view
106 develapigaussianblurviewdir =   $(develapicontrolsdir)/gaussian-blur-view
107 develapimagnifierdir =          $(develapicontrolsdir)/magnifier
108 develapiitemviewdir =           $(develapicontrolsdir)/scrollable/item-view
109 develapinavigationviewdir =     $(develapicontrolsdir)/navigation-view
110 develapipageturnviewdir =       $(develapicontrolsdir)/page-turn-view
111 develapipopupdir =              $(develapicontrolsdir)/popup
112 develapiprogressbardir =        $(develapicontrolsdir)/progress-bar
113 develapishadowviewdir =         $(develapicontrolsdir)/shadow-view
114 develapisuperblurviewdir =      $(develapicontrolsdir)/super-blur-view
115 develapifocusmanagerdir =       $(develapidir)/focus-manager
116 develapiimageloaderdir =        $(develapidir)/image-loader
117 develapiscriptingdir =          $(develapidir)/scripting
118 develapishadereffectsdir =      $(develapidir)/shader-effects
119 develapitransitioneffectsdir =  $(develapidir)/transition-effects
120 develapitoolbardir =            $(develapicontrolsdir)/tool-bar
121 develapitooltipdir =            $(develapicontrolsdir)/tooltip
122 develapitextselectionpopupdir = $(develapicontrolsdir)/text-controls
123 develapivisualfactorydir =      $(develapidir)/visual-factory
124 develapivisualsdir =            $(develapidir)/visuals
125
126 # devel headers
127 develapi_HEADERS =                  $(devel_api_header_files)
128 develapicontrols_HEADERS =          $(devel_api_controls_header_files)
129 develapibloomview_HEADERS =         $(devel_api_bloom_view_header_files)
130 develapibubbleemitter_HEADERS =     $(devel_api_bubble_emitter_header_files)
131 develapibuttons_HEADERS =           $(devel_api_buttons_header_files)
132 develapibuilder_HEADERS =           $(devel_api_builder_header_files)
133 develapieffectsview_HEADERS =       $(devel_api_effects_view_header_files)
134 develapifocusmanager_HEADERS =      $(devel_api_focus_manager_header_files)
135 develapigaussianblurview_HEADERS =  $(devel_api_gaussian_blur_view_header_files)
136 develapiimageloader_HEADERS =       $(devel_api_image_loader_header_files)
137 develapiitemview_HEADERS =          $(devel_api_item_view_header_files)
138 develapimagnifier_HEADERS =         $(devel_api_magnifier_header_files)
139 develapinavigationview_HEADERS =    $(devel_api_navigation_view_header_files)
140 develapipageturnview_HEADERS =      $(devel_api_page_turn_view_header_files)
141 develapipopup_HEADERS =             $(devel_api_popup_header_files)
142 develapiprogressbar_HEADERS =       $(devel_api_progress_bar_header_files)
143 develapivisualfactory_HEADERS =     $(devel_api_visual_factory_header_files)
144 develapivisuals_HEADERS =           $(devel_api_visuals_header_files)
145 develapiscripting_HEADERS =         $(devel_api_scripting_header_files)
146 develapishadowview_HEADERS =        $(devel_api_shadow_view_header_files)
147 develapishadereffects_HEADERS =     $(devel_api_shader_effects_header_files)
148 develapisuperblurview_HEADERS =     $(devel_api_super_blur_view_header_files)
149 develapitoolbar_HEADERS =           $(devel_api_tool_bar_header_files)
150 develapitooltip_HEADERS =           $(devel_api_tooltip_header_files)
151 develapitransitioneffects_HEADERS = $(devel_api_transition_effects_header_files)
152 develapitextselectionpopup_HEADERS = $(devel_api_text_controls_header_files)
153
154 # public api source
155 publicapidir =                     $(topleveldir)/public-api
156 publicapicontrolsdir =             $(publicapidir)/controls
157 publicapiimageloaderdir =          $(publicapidir)/image-loader
158 publicapiaccessibilitymanagerdir = $(publicapidir)/accessibility-manager
159 publicapialignmentdir =            $(publicapicontrolsdir)/alignment
160 publicapibuttonsdir =              $(publicapicontrolsdir)/buttons
161 publicapidefaultcontrolsdir =      $(publicapicontrolsdir)/default-controls
162 publicapiflexcontainerdir =        $(publicapicontrolsdir)/flex-container
163 publicapiimageviewdir =            $(publicapicontrolsdir)/image-view
164 publicapivideoviewdir =            $(publicapicontrolsdir)/video-view
165 publicapimodel3dviewdir =          $(publicapicontrolsdir)/model3d-view
166 publicapiscrollbardir =            $(publicapicontrolsdir)/scroll-bar
167 publicapiscrollabledir =           $(publicapicontrolsdir)/scrollable
168 publicapiscrollviewdir =           $(publicapicontrolsdir)/scrollable/scroll-view
169 publicapiitemviewdir =             $(publicapicontrolsdir)/scrollable/item-view
170 publicapistylingdir =              $(publicapidir)/styling
171 publicapitableviewdir =            $(publicapicontrolsdir)/table-view
172 publicapitextcontrolsdir =         $(publicapicontrolsdir)/text-controls
173 publicapifocusmanagerdir =         $(publicapidir)/focus-manager
174 publicapirenderingbackenddir =     $(publicapidir)/text
175 publicapisliderdir =               $(publicapicontrolsdir)/slider
176 publicapivisualsdir =              $(publicapidir)/visuals
177
178 # public api headers
179 publicapi_HEADERS =                     $(public_api_header_files)
180 publicapicontrols_HEADERS =             $(public_api_controls_header_files)
181 publicapiimageloader_HEADERS =          $(public_api_image_loader_header_files)
182 publicapiaccessibilitymanager_HEADERS = $(public_api_accessibility_manager_header_files)
183 publicapialignment_HEADERS =            $(public_api_alignment_header_files)
184 publicapibuttons_HEADERS =              $(public_api_buttons_header_files)
185 publicapidefaultcontrols_HEADERS =      $(public_api_default_controls_header_files)
186 publicapiflexcontainer_HEADERS =        $(public_api_flex_container_header_files)
187 publicapiimageview_HEADERS =            $(public_api_image_view_header_files)
188 publicapivideoview_HEADERS =            $(public_api_video_view_header_files)
189 publicapiitemview_HEADERS =             $(public_api_item_view_header_files)
190 publicapimodel3dview_HEADERS =          $(public_api_model3d_view_header_files)
191 publicapiscrollbar_HEADERS =            $(public_api_scroll_bar_header_files)
192 publicapiscrollable_HEADERS =           $(public_api_scrollable_header_files)
193 publicapiscrollview_HEADERS =           $(public_api_scroll_view_header_files)
194 publicapistyling_HEADERS =              $(public_api_styling_header_files)
195 publicapitableview_HEADERS =            $(public_api_table_view_header_files)
196 publicapitextcontrols_HEADERS =         $(public_api_text_controls_header_files)
197 publicapifocusmanager_HEADERS =         $(public_api_focus_manager_header_files)
198 publicapirenderingbackend_HEADERS =     $(public_api_rendering_backend_header_files)
199 publicapislider_HEADERS =               $(public_api_slider_header_files)
200 publicapivisuals_HEADERS =              $(public_api_visuals_header_files)
201
202 # package doxygen file (contains doxygen grouping information)
203 packagedoxydir = $(topleveldir)/doc
204 packagedoxy_HEADERS = $(package_doxy_files)