Fix unsigned/signed int comparison warning
[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
24 if MOBILE_PROFILE
25 toolkit_styles_dir = ../../../dali-toolkit/styles/mobile
26 else
27 toolkit_styles_dir = ../../../dali-toolkit/styles
28 endif
29
30 include ../../../dali-toolkit/images/file.list
31 include ../../../dali-toolkit/sounds/file.list
32 include ../../../dali-toolkit/styles/file.list
33 include ../../../dali-toolkit/internal/file.list
34 include ../../../dali-toolkit/public-api/file.list
35
36 resources_dir = ../../../resources
37 daliimagedir = ${dataReadOnlyDir}/toolkit/images/
38 daliimage_DATA = ${dali_toolkit_image_files}
39
40 dalisounddir = ${dataReadOnlyDir}/toolkit/sounds/
41 dalisound_DATA = ${dali_toolkit_sound_files}
42
43 # The library
44 lib_LTLIBRARIES = libdali-toolkit.la
45
46 libdali_toolkit_la_SOURCES = \
47                      $(toolkit_src_files) \
48                      $(public_api_src_files)
49
50 dalistyledir = ${dataReadOnlyDir}/toolkit/styles/
51 dalistyle_DATA = ${dali_toolkit_style_files}
52
53 libdali_toolkit_la_DEPENDENCIES =
54
55 libdali_toolkit_la_CXXFLAGS = -DDALI_COMPILATION \
56                       -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
57                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
58                       -DDALI_STYLE_DIR="\"${dalistyledir}\"" \
59                       -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
60                       -Werror -Wall \
61                       -I../../../ \
62                       $(DALI_TOOLKIT_CFLAGS) \
63                       $(DALICORE_CFLAGS) \
64                       $(DALI_CFLAGS) \
65                       $(DLOG_CFLAGS) \
66                       $(FRIBIDI_CFLAGS) \
67                       $(HTMLCXX_CFLAGS)
68
69 libdali_toolkit_la_LIBADD = \
70                       $(DALICORE_LIBS) \
71                       $(DALI_LIBS) \
72                       $(DLOG_LIBS) \
73                       $(FRIBIDI_LIBS) \
74                       $(HTMLCXX_LIBS)
75
76 # Install headers
77
78 topleveldir = $(devincludepath)/dali-toolkit
79 toplevel_HEADERS = ../../../dali-toolkit/dali-toolkit.h
80
81 publicapidir = $(topleveldir)/public-api
82
83 publicapicontrolsdir = $(publicapidir)/controls
84 publicapialignmentdir = $(publicapicontrolsdir)/alignment
85 publicapibloomviewdir = $(publicapicontrolsdir)/bloom-view
86 publicapibubbleemitterdir = $(publicapicontrolsdir)/bubble-effect
87 publicapibuttonsdir = $(publicapicontrolsdir)/buttons
88 publicapiclusterdir = $(publicapicontrolsdir)/cluster
89 publicapidefaultcontrolsdir = $(publicapicontrolsdir)/default-controls
90 publicapieffectsviewdir = $(publicapicontrolsdir)/effects-view
91 publicapigaussianblurviewdir = $(publicapicontrolsdir)/gaussian-blur-view
92 publicapiimageviewdir = $(publicapicontrolsdir)/image-view
93 publicapiitemviewdir = $(publicapicontrolsdir)/scrollable/item-view
94 publicapimagnifierdir = $(publicapicontrolsdir)/magnifier
95 publicapinavigationframedir = $(publicapicontrolsdir)/navigation-frame
96 publicapipageturnviewdir = $(publicapicontrolsdir)/page-turn-view
97 publicapipopupdir = $(publicapicontrolsdir)/popup
98 publicapiscrollbardir = $(publicapicontrolsdir)/scroll-bar
99 publicapiscrollcomponentdir = $(publicapicontrolsdir)/scroll-component
100 publicapiscrollabledir = $(publicapicontrolsdir)/scrollable
101 publicapiscrollviewdir = $(publicapicontrolsdir)/scrollable/scroll-view
102 publicapiselectorsdir = $(publicapicontrolsdir)/selectors
103 publicapishadowviewdir = $(publicapicontrolsdir)/shadow-view
104 publicapisliderdir = $(publicapicontrolsdir)/slider
105 publicapisuperblurviewdir = $(publicapicontrolsdir)/super-blur-view
106 publicapitableviewdir = $(publicapicontrolsdir)/table-view
107 publicapitextcontrolsdir = $(publicapidir)/controls/text-controls
108 publicapitoolbardir = $(publicapicontrolsdir)/tool-bar
109 publicapiviewdir = $(publicapicontrolsdir)/view
110 publicapibuilderdir = $(publicapidir)/builder
111 publicapifocusmanagerdir = $(publicapidir)/focus-manager
112 publicapishadereffectsdir = $(publicapidir)/shader-effects
113 publicapibubbleeffectdir = $(publicapidir)/shader-effects/bubble-effect
114 publicapistylingdir = $(publicapidir)/styling
115 publicapitransitioneffectsdir = $(publicapidir)/transition-effects
116 publicapiscriptingdir = $(publicapidir)/scripting
117 publicapirenderingbackenddir = $(publicapidir)/text
118
119 publicapi_HEADERS = $(public_api_header_files)
120 publicapicontrols_HEADERS = $(public_api_controls_header_files)
121 publicapialignment_HEADERS = $(public_api_alignment_header_files)
122 publicapibloomview_HEADERS = $(public_api_bloom_view_header_files)
123 publicapibubbleemitter_HEADERS = $(public_api_bubble_emitter_header_files)
124 publicapibuttons_HEADERS = $(public_api_buttons_header_files)
125 publicapicluster_HEADERS = $(public_api_cluster_header_files)
126 publicapidefaultcontrols_HEADERS = $(public_api_default_controls_header_files)
127 publicapieffectsview_HEADERS = $(public_api_effects_view_header_files)
128 publicapigaussianblurview_HEADERS = $(public_api_gaussian_blur_view_header_files)
129 publicapiimageview_HEADERS = $(public_api_image_view_header_files)
130 publicapiitemview_HEADERS = $(public_api_item_view_header_files)
131 publicapimagnifier_HEADERS = $(public_api_magnifier_header_files)
132 publicapinavigationframe_HEADERS = $(public_api_navigation_frame_header_files)
133 publicapipageturnview_HEADERS = $(public_api_page_turn_view_header_files)
134 publicapipopup_HEADERS = $(public_api_popup_header_files)
135 publicapiscrollbar_HEADERS = $(public_api_scroll_bar_header_files)
136
137 publicapiscrollcomponent_HEADERS = $(public_api_scroll_component_header_files)
138 publicapiscrollable_HEADERS = $(public_api_scrollable_header_files)
139 publicapiscrollview_HEADERS = $(public_api_scroll_view_header_files)
140 publicapiselectors_HEADERS = $(public_api_selectors_header_files)
141 publicapishadowview_HEADERS = $(public_api_shadow_view_header_files)
142 publicapislider_HEADERS = $(public_api_slider_header_files)
143 publicapisuperblurview_HEADERS = $(public_api_super_blur_view_header_files)
144 publicapitableview_HEADERS = $(public_api_table_view_header_files)
145 publicapitextcontrols_HEADERS = $(public_api_text_controls_header_files)
146 publicapitoolbar_HEADERS = $(public_api_tool_bar_header_files)
147 publicapiview_HEADERS = $(public_api_view_header_files)
148 publicapibuilder_HEADERS = $(public_api_builder_header_files)
149 publicapifocusmanager_HEADERS = $(public_api_focus_manager_header_files)
150 publicapishadereffects_HEADERS = $(public_api_shader_effects_header_files)
151 publicapibubbleeffect_HEADERS = $(public_api_bubble_effect_header_files)
152 publicapistyling_HEADERS = $(public_api_styling_header_files)
153 publicapitransitioneffects_HEADERS = $(public_api_transition_effects_header_files)
154 publicapiscripting_HEADERS = $(public_api_scripting_header_files)
155 publicapirenderingbackend_HEADERS = $(public_api_rendering_backend_header_files)
156