Remove/Move experimental features
[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_dir = $(STYLE_DIR)
27 toolkit_style_images_dir = $(STYLE_DIR)/images
28
29 include ../../../dali-toolkit/sounds/file.list
30 include ../../../dali-toolkit/styles/file.list
31 include ../../../dali-toolkit/styles/images-common/file.list
32 include ../../../dali-toolkit/internal/file.list
33 include ../../../dali-toolkit/public-api/file.list
34 include ../../../dali-toolkit/devel-api/file.list
35 include ../../../dali-toolkit/third-party/file.list
36
37 vector_based_text_src_dir = ../../../dali-toolkit/internal/text/rendering/vector-based
38 include ../../../dali-toolkit/internal/text/rendering/vector-based/file.list
39
40 if ENABLE_VECTOR_BASED_TEXT_RENDERING
41 toolkit_src_files += $(vector_based_text_src_files)
42 DALI_TOOLKIT_CFLAGS += -DENABLE_VECTOR_BASED_TEXT_RENDERING
43 endif
44
45 resources_dir = ../../../resources
46 daliimagedir = ${dataReadOnlyDir}/toolkit/images/
47 daliimage_DATA = ${dali_toolkit_image_files}
48
49 dalisounddir = ${dataReadOnlyDir}/toolkit/sounds/
50 dalisound_DATA = ${dali_toolkit_sound_files}
51
52 package_doxy_dir = ../../../doc
53 include ../../../doc/file.list
54
55 # The library
56 lib_LTLIBRARIES = libdali-toolkit.la
57
58 libdali_toolkit_la_SOURCES = \
59                      $(toolkit_src_files) \
60                      $(public_api_src_files) \
61                      $(devel_api_src_files) \
62                      $(third_party_src_files)
63
64 dalistyledir = ${dataReadOnlyDir}/toolkit/styles/
65 dalistyle_DATA = ${dali_toolkit_style_files}
66
67 dalistyleimagesdir = ${dataReadOnlyDir}/toolkit/styles/images/
68 dalistyleimages_DATA = ${dali_toolkit_style_images}
69
70 libdali_toolkit_la_DEPENDENCIES =
71
72 libdali_toolkit_la_CXXFLAGS = -DDALI_COMPILATION \
73                       -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
74                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
75                       -DDALI_STYLE_DIR="\"${dalistyledir}\"" \
76                       -DDALI_STYLE_IMAGE_DIR="\"${dalistyleimagesdir}\"" \
77                       -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
78                       -Werror -Wall \
79                       -I../../../ \
80                       $(DALI_TOOLKIT_CFLAGS) \
81                       $(DALICORE_CFLAGS) \
82                       $(DLOG_CFLAGS) \
83                       $(FRIBIDI_CFLAGS) \
84                       $(HTMLCXX_CFLAGS)
85
86 libdali_toolkit_la_LIBADD = \
87                       $(DALICORE_LIBS) \
88                       $(DLOG_LIBS) \
89                       $(FRIBIDI_LIBS) \
90                       $(HTMLCXX_LIBS)
91
92 # Install headers
93
94 topleveldir = $(devincludepath)/dali-toolkit
95 toplevel_HEADERS = ../../../dali-toolkit/dali-toolkit.h
96
97 # devel api
98 develapidir =                   $(topleveldir)/devel-api
99 develapibuilderdir =            $(develapidir)/builder
100 develapicontrolsdir =           $(develapidir)/controls
101 develapibloomviewdir =          $(develapicontrolsdir)/bloom-view
102 develapibubbleemitterdir =      $(develapicontrolsdir)/bubble-effect
103 develapieffectsviewdir =        $(develapicontrolsdir)/effects-view
104 develapigaussianblurviewdir =   $(develapicontrolsdir)/gaussian-blur-view
105 develapimagnifierdir =          $(develapicontrolsdir)/magnifier
106 develapipopupdir =              $(develapicontrolsdir)/popup
107 develapiprogressbardir =        $(develapicontrolsdir)/progress-bar
108 develapishadowviewdir =         $(develapicontrolsdir)/shadow-view
109 develapisuperblurviewdir =      $(develapicontrolsdir)/super-blur-view
110 develapifocusmanagerdir =       $(develapidir)/focus-manager
111 develapiimageatlasdir =         $(develapidir)/image-atlas
112 develapiscriptingdir =          $(develapidir)/scripting
113 develapishadereffectsdir =      $(develapidir)/shader-effects
114 develapitransitioneffectsdir =  $(develapidir)/transition-effects
115 develapitoolbardir =            $(develapicontrolsdir)/tool-bar
116 develapitextselectionpopupdir = $(develapicontrolsdir)/text-controls
117 develapivisualfactorydir =      $(develapidir)/visual-factory
118
119 # devel headers
120 develapi_HEADERS =                  $(devel_api_header_files)
121 develapicontrols_HEADERS =          $(devel_api_controls_header_files)
122 develapibloomview_HEADERS =         $(devel_api_bloom_view_header_files)
123 develapibubbleemitter_HEADERS =     $(devel_api_bubble_emitter_header_files)
124 develapibuilder_HEADERS =           $(devel_api_builder_header_files)
125 develapieffectsview_HEADERS =       $(devel_api_effects_view_header_files)
126 develapifocusmanager_HEADERS =      $(devel_api_focus_manager_header_files)
127 develapigaussianblurview_HEADERS =  $(devel_api_gaussian_blur_view_header_files)
128 develapiimageatlas_HEADERS =        $(devel_api_image_atlas_header_files)
129 develapimagnifier_HEADERS =         $(devel_api_magnifier_header_files)
130 develapipopup_HEADERS =             $(devel_api_popup_header_files)
131 develapiprogressbar_HEADERS =       $(devel_api_progress_bar_header_files)
132 develapivisualfactory_HEADERS =     $(devel_api_visual_factory_header_files)
133 develapiscripting_HEADERS =         $(devel_api_scripting_header_files)
134 develapishadowview_HEADERS =        $(devel_api_shadow_view_header_files)
135 develapishadereffects_HEADERS =     $(devel_api_shader_effects_header_files)
136 develapisuperblurview_HEADERS =     $(devel_api_super_blur_view_header_files)
137 develapitoolbar_HEADERS =           $(devel_api_tool_bar_header_files)
138 develapitransitioneffects_HEADERS = $(devel_api_transition_effects_header_files)
139 develapitextselectionpopup_HEADERS = $(devel_api_text_controls_header_files)
140
141 # public api source
142 publicapidir =                     $(topleveldir)/public-api
143 publicapicontrolsdir =             $(publicapidir)/controls
144 publicapiaccessibilitymanagerdir = $(publicapidir)/accessibility-manager
145 publicapialignmentdir =            $(publicapicontrolsdir)/alignment
146 publicapibuttonsdir =              $(publicapicontrolsdir)/buttons
147 publicapidefaultcontrolsdir =      $(publicapicontrolsdir)/default-controls
148 publicapiflexcontainerdir =        $(publicapicontrolsdir)/flex-container
149 publicapiimageviewdir =            $(publicapicontrolsdir)/image-view
150 publicapivideoviewdir =            $(publicapicontrolsdir)/video-view
151 publicapimodel3dviewdir =          $(publicapicontrolsdir)/model3d-view
152 publicapipageturnviewdir =         $(publicapicontrolsdir)/page-turn-view
153 publicapiscrollbardir =            $(publicapicontrolsdir)/scroll-bar
154 publicapiscrollabledir =           $(publicapicontrolsdir)/scrollable
155 publicapiscrollviewdir =           $(publicapicontrolsdir)/scrollable/scroll-view
156 publicapiitemviewdir =             $(publicapicontrolsdir)/scrollable/item-view
157 publicapistylingdir =              $(publicapidir)/styling
158 publicapitableviewdir =            $(publicapicontrolsdir)/table-view
159 publicapitextcontrolsdir =         $(publicapicontrolsdir)/text-controls
160 publicapifocusmanagerdir =         $(publicapidir)/focus-manager
161 publicapirenderingbackenddir =     $(publicapidir)/text
162 publicapisliderdir =               $(publicapicontrolsdir)/slider
163 publicapivisualsdir =              $(publicapidir)/visuals
164
165 # public api headers
166 publicapi_HEADERS =                     $(public_api_header_files)
167 publicapicontrols_HEADERS =             $(public_api_controls_header_files)
168 publicapiaccessibilitymanager_HEADERS = $(public_api_accessibility_manager_header_files)
169 publicapialignment_HEADERS =            $(public_api_alignment_header_files)
170 publicapibuttons_HEADERS =              $(public_api_buttons_header_files)
171 publicapidefaultcontrols_HEADERS =      $(public_api_default_controls_header_files)
172 publicapiflexcontainer_HEADERS =        $(public_api_flex_container_header_files)
173 publicapiimageview_HEADERS =            $(public_api_image_view_header_files)
174 publicapivideoview_HEADERS =            $(public_api_video_view_header_files)
175 publicapiitemview_HEADERS =             $(public_api_item_view_header_files)
176 publicapimodel3dview_HEADERS =          $(public_api_model3d_view_header_files)
177 publicapipageturnview_HEADERS =         $(public_api_page_turn_view_header_files)
178 publicapiscrollbar_HEADERS =            $(public_api_scroll_bar_header_files)
179 publicapiscrollable_HEADERS =           $(public_api_scrollable_header_files)
180 publicapiscrollview_HEADERS =           $(public_api_scroll_view_header_files)
181 publicapistyling_HEADERS =              $(public_api_styling_header_files)
182 publicapitableview_HEADERS =            $(public_api_table_view_header_files)
183 publicapitextcontrols_HEADERS =         $(public_api_text_controls_header_files)
184 publicapifocusmanager_HEADERS =         $(public_api_focus_manager_header_files)
185 publicapirenderingbackend_HEADERS =     $(public_api_rendering_backend_header_files)
186 publicapislider_HEADERS =               $(public_api_slider_header_files)
187 publicapivisuals_HEADERS =              $(public_api_visuals_header_files)
188
189 # package doxygen file (contains doxygen grouping information)
190 packagedoxydir = $(topleveldir)/doc
191 packagedoxy_HEADERS = $(package_doxy_files)