Change dependency from haptic to deviced.
[platform/core/uifw/dali-adaptor.git] / build / tizen / plugins / Makefile.am
1 #
2 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 feedback plugin
18
19 plugin_src_dir = ../../../plugins
20
21 include ../../../plugins/sounds/file.list
22 include ../../../plugins/file.list
23
24 plugin_sounds_dir = ../../../plugins/sounds
25
26 lib_LTLIBRARIES = libdali-feedback-plugin.la
27
28 if USE_BULLET
29 lib_LTLIBRARIES += libdali-bullet-plugin.la
30 endif
31
32 dalisounddir = ${dataReadOnlyDir}/plugins/sounds/
33 dalisound_DATA = ${dali_plugin_sound_files}
34
35 # Feedback
36 libdali_feedback_plugin_la_SOURCES = \
37                      $(plugin_src_files)
38
39 libdali_feedback_plugin_la_DEPENDENCIES =
40
41 libdali_feedback_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
42                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
43                       $(DLOG_CFLAGS) \
44                       $(DALICORE_CFLAGS) \
45                       $(MMFSOUND_CFLAGS) \
46                       $(DEVICED_CFLAGS) \
47                       $(FEEDBACK_CFLAGS) \
48                       -I../../../adaptors/tizen \
49                       -Werror -Wall
50
51 libdali_feedback_plugin_la_LIBADD = \
52                       $(DLOG_LIBS) \
53                       $(MMFSOUND_LIBS) \
54                       $(DEVICED_LIBS) \
55                       $(FEEDBACK_LIBS)
56
57 libdali_feedback_plugin_la_LDFLAGS = \
58                       -rdynamic
59
60 # Bullet Physics
61 libdali_bullet_plugin_la_SOURCES = \
62                       $(bullet_plugin_src_files)
63
64 libdali_bullet_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
65                       $(DALICORE_CFLAGS) \
66                       $(DLOG_CFLAGS) \
67                       $(BULLET_CFLAGS) \
68                       -I../../.. \
69                       -Werror -Wall
70
71 libdali_bullet_plugin_la_LIBADD = \
72                       $(DLOG_LIBS) \
73                       $(BULLET_LIBS)
74
75 libdali_bullet_plugin_la_LDFLAGS = \
76                       -rdynamic
77
78 libdali_bullet_plugin_la_DEPENDENCIES =