2 # Copyright (c) 2015 Samsung Electronics Co., Ltd.
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 # Build the Dali Toolkit library
19 plugin_src_dir = ../../../plugins
21 include ../../../plugins/dali-script-v8/file.list
24 lib_LTLIBRARIES = libdali-script-plugin-v8.la
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
36 libdali_script_plugin_v8_la_SOURCES = \
37 $(script_v8_plugin_src_files)
39 libdali_script_plugin_v8_la_DEPENDENCIES =
41 libdali_script_plugin_v8_la_CXXFLAGS = -DDALI_COMPILATION \
44 $(DALI_TOOLKIT_CFLAGS) \
46 -DDALI_DATA_READ_ONLY_DIR="\"${dataReadOnlyDir}\"" \
49 $(script_plugin_v8_includes) \
53 libdali_script_plugin_v8_la_LIBADD = \
59 libdali_script_plugin_v8_la_LDFLAGS = \