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