Merge "Change DrawMode::OVERLAY to DrawMode::OVERLAY_2D" into devel/master
[platform/core/uifw/dali-toolkit.git] / build / tizen / dali-toolkit / Makefile.am
1 #
2 # Copyright (c) 2014 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/images
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
25 toolkit_styles_dir = $(STYLE_DIR)
26
27 include ../../../dali-toolkit/images/file.list
28 include ../../../dali-toolkit/sounds/file.list
29 include ../../../dali-toolkit/styles/file.list
30 include ../../../dali-toolkit/internal/file.list
31 include ../../../dali-toolkit/public-api/file.list
32 include ../../../dali-toolkit/devel-api/file.list
33
34 resources_dir = ../../../resources
35 daliimagedir = ${dataReadOnlyDir}/toolkit/images/
36 daliimage_DATA = ${dali_toolkit_image_files}
37
38 dalisounddir = ${dataReadOnlyDir}/toolkit/sounds/
39 dalisound_DATA = ${dali_toolkit_sound_files}
40
41 # The library
42 lib_LTLIBRARIES = libdali-toolkit.la
43
44 libdali_toolkit_la_SOURCES = \
45                      $(toolkit_src_files) \
46                      $(public_api_src_files) \
47                      $(devel_api_src_files)
48
49 dalistyledir = ${dataReadOnlyDir}/toolkit/styles/
50 dalistyle_DATA = ${dali_toolkit_style_files}
51
52 libdali_toolkit_la_DEPENDENCIES =
53
54 libdali_toolkit_la_CXXFLAGS = -DDALI_COMPILATION \
55                       -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
56                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
57                       -DDALI_STYLE_DIR="\"${dalistyledir}\"" \
58                       -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
59                       -Werror -Wall \
60                       -I../../../ \
61                       $(DALI_TOOLKIT_CFLAGS) \
62                       $(DALICORE_CFLAGS) \
63                       $(DALI_CFLAGS) \
64                       $(DLOG_CFLAGS) \
65                       $(FRIBIDI_CFLAGS) \
66                       $(HTMLCXX_CFLAGS)
67
68 libdali_toolkit_la_LIBADD = \
69                       $(DALICORE_LIBS) \
70                       $(DALI_LIBS) \
71                       $(DLOG_LIBS) \
72                       $(FRIBIDI_LIBS) \
73                       $(HTMLCXX_LIBS)
74
75 # Install headers
76
77 topleveldir = $(devincludepath)/dali-toolkit
78 toplevel_HEADERS = ../../../dali-toolkit/dali-toolkit.h
79
80 # devel api
81 develapidir =                   $(topleveldir)/devel-api
82 develapibuilderdir =            $(develapidir)/builder
83 develapicontrolsdir =           $(develapidir)/controls
84 develapibloomviewdir =          $(develapicontrolsdir)/bloom-view
85 develapibubbleemitterdir =      $(develapicontrolsdir)/bubble-effect
86 develapieffectsviewdir =        $(develapicontrolsdir)/effects-view
87 develapimagnifierdir =          $(develapicontrolsdir)/magnifier
88 develapipopupdir =              $(develapicontrolsdir)/popup
89 develapipageturnviewdir =       $(develapicontrolsdir)/page-turn-view
90 develapisliderdir =             $(develapicontrolsdir)/slider
91 develapishadowviewdir =         $(develapicontrolsdir)/shadow-view
92 develapisuperblurviewdir =      $(develapicontrolsdir)/super-blur-view
93 develapifocusmanagerdir =       $(develapidir)/focus-manager
94 develapiscriptingdir =          $(develapidir)/scripting
95 develapishadereffectsdir =      $(develapidir)/shader-effects
96 develapitransitioneffectsdir =  $(develapidir)/transition-effects
97 develapistylingdir =            $(develapidir)/styling
98 develapitoolbardir =            $(develapicontrolsdir)/tool-bar
99 develapitextselectionpopupdir = $(develapicontrolsdir)/text-controls
100
101 # devel headers
102 develapibloomview_HEADERS =         $(devel_api_bloom_view_header_files)
103 develapibubbleemitter_HEADERS =     $(devel_api_bubble_emitter_header_files)
104 develapibuilder_HEADERS =           $(devel_api_builder_header_files)
105 develapieffectsview_HEADERS =       $(devel_api_effects_view_header_files)
106 develapifocusmanager_HEADERS =      $(devel_api_focus_manager_header_files)
107 develapimagnifier_HEADERS =         $(devel_api_magnifier_header_files)
108 develapipageturnview_HEADERS =      $(devel_api_page_turn_view_header_files)
109 develapipopup_HEADERS =             $(devel_api_popup_header_files)
110 develapiscripting_HEADERS =         $(devel_api_scripting_header_files)
111 develapishadowview_HEADERS =        $(devel_api_shadow_view_header_files)
112 develapishadereffects_HEADERS =     $(devel_api_shader_effects_header_files)
113 develapislider_HEADERS =            $(devel_api_slider_header_files)
114 develapistyling_HEADERS =           $(devel_api_styling_header_files)
115 develapisuperblurview_HEADERS =     $(devel_api_super_blur_view_header_files)
116 develapitoolbar_HEADERS =           $(devel_api_tool_bar_header_files)
117 develapitransitioneffects_HEADERS = $(devel_api_transition_effects_header_files)
118 develapitextselectionpopup_HEADERS = $(devel_api_text_selection_popup_header_files)
119
120 # public api source
121 publicapidir =                    $(topleveldir)/public-api
122 publicapicontrolsdir =            $(publicapidir)/controls
123 develapiaccessibilitymanagerdir = $(publicapidir)/accessibility-manager
124 publicapialignmentdir =           $(publicapicontrolsdir)/alignment
125 publicapibuttonsdir =             $(publicapicontrolsdir)/buttons
126 publicapidefaultcontrolsdir =     $(publicapicontrolsdir)/default-controls
127 publicapigaussianblurviewdir =    $(publicapicontrolsdir)/gaussian-blur-view
128 publicapiscrollbardir =           $(publicapicontrolsdir)/scroll-bar
129 publicapiscrollabledir =          $(publicapicontrolsdir)/scrollable
130 publicapiscrollviewdir =          $(publicapicontrolsdir)/scrollable/scroll-view
131 publicapiitemviewdir =            $(publicapicontrolsdir)/scrollable/item-view
132 publicapitableviewdir =           $(publicapicontrolsdir)/table-view
133 publicapitextcontrolsdir =        $(publicapicontrolsdir)/text-controls
134 publicapifocusmanagerdir =        $(publicapidir)/focus-manager
135 publicapirenderingbackenddir =    $(publicapidir)/text
136
137 # public api headers
138 publicapi_HEADERS =                    $(public_api_header_files)
139 publicapicontrols_HEADERS =            $(public_api_controls_header_files)
140 develapiaccessibilitymanager_HEADERS = $(public_api_accessibility_manager_header_files)
141 publicapialignment_HEADERS =           $(public_api_alignment_header_files)
142 publicapibuttons_HEADERS =             $(public_api_buttons_header_files)
143 publicapidefaultcontrols_HEADERS =     $(public_api_default_controls_header_files)
144 publicapigaussianblurview_HEADERS =    $(public_api_gaussian_blur_view_header_files)
145 publicapiitemview_HEADERS =            $(public_api_item_view_header_files)
146 publicapiscrollbar_HEADERS =           $(public_api_scroll_bar_header_files)
147 publicapiscrollable_HEADERS =          $(public_api_scrollable_header_files)
148 publicapiscrollview_HEADERS =          $(public_api_scroll_view_header_files)
149 publicapitableview_HEADERS =           $(public_api_table_view_header_files)
150 publicapitextcontrols_HEADERS =        $(public_api_text_controls_header_files)
151 publicapifocusmanager_HEADERS =        $(public_api_focus_manager_header_files)
152 publicapirenderingbackend_HEADERS =    $(public_api_rendering_backend_header_files)
153