Automatic image atlasing
[platform/core/uifw/dali-toolkit.git] / build / tizen / plugins / Makefile.am
1 #
2 # Copyright (c) 2015 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 plugin_src_dir = ../../../plugins
20
21 include ../../../plugins/dali-script-v8/file.list
22
23
24 lib_LTLIBRARIES = libdali-script-plugin-v8.la
25
26 # force the source code to include the directory the wrapper file is in
27 # e.g. actors/actor-api.h to copy the same include style as dali-core
28 # The reason for including toolkit paths directly instead of just the
29 # install path for dali-toolkit.h, is dali-toolkit.h is not installed yet.
30 # It won't be installed until the rpm is installed, and unfortunately the
31 # plugin is part of the same rpm
32 script_plugin_v8_includes = -I../../../plugins/dali-script-v8/src \
33                             -I../../../plugins/dali-script-v8/src/utils
34
35
36 libdali_script_plugin_v8_la_SOURCES = \
37                      $(script_v8_plugin_src_files)
38
39 libdali_script_plugin_v8_la_DEPENDENCIES =
40
41 libdali_script_plugin_v8_la_CXXFLAGS = -DDALI_COMPILATION \
42                             -I../../../ \
43                             $(V8_CFLAGS) \
44                             $(DALI_TOOLKIT_CFLAGS) \
45                             $(DALICORE_CFLAGS) \
46                             -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
47                             $(DALI_CFLAGS) \
48                             $(DLOG_CFLAGS) \
49                             $(script_plugin_v8_includes) \
50                             $(V8_CFLAGS) \
51                             -Werror -Wall
52
53 libdali_script_plugin_v8_la_LIBADD = \
54                             $(DALICORE_LIBS) \
55                             $(DALI_LIBS) \
56                             $(DLOG_LIBS) \
57                             $(V8_LIBS)
58
59 libdali_script_plugin_v8_la_LDFLAGS = \
60                            -rdynamic