[Tizen] Implement WebEngineLite interface and plugin for Minimized Web Engine
[platform/core/uifw/dali-adaptor.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 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 =
27
28 if USE_FEEDBACK
29 lib_LTLIBRARIES += libdali-feedback-plugin.la
30 endif
31
32 if USE_WEBENGINELITE
33 lib_LTLIBRARIES += libdali-web_engine_lite-plugin.la
34 endif
35
36 if USE_WEBENGINELITE
37 libdali_web_engine_lite_plugin_la_SOURCES = \
38                      $(web_engine_lite_plugin_src_files)
39
40 libdali_web_engine_lite_plugin_la_DEPENDENCIES =
41
42 libdali_web_engine_lite_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
43                       $(DLOG_CFLAGS) \
44                       $(DALICORE_CFLAGS) \
45                       $(WEB_ENGINE_LITE_CFLAGS) \
46                       $(DALI_PROFILE_CFLAGS) \
47                       $(DALI_ADAPTOR_CFLAGS) \
48                       -I../../../adaptors/public-api \
49                       -I../../../adaptors/integration-api \
50                       -I../../../adaptors/public-api/adaptor-framework \
51                       -I../../../adaptors/devel-api/adaptor-framework \
52                       -Werror -Wall
53
54 libdali_web_engine_lite_plugin_la_LIBADD = \
55                       $(DLOG_LIBS) \
56                       -llightweight-web-engine
57
58 libdali_web_engine_lite_plugin_la_LDFLAGS = \
59                       -rdynamic
60
61 endif # WEB_ENGINE_LITE
62
63 if WAYLAND
64 if USE_VIDEOPLAYER
65 lib_LTLIBRARIES += libdali-video-player-plugin.la
66 endif
67 endif
68
69 if USE_FEEDBACK
70 dalisounddir = ${dataReadOnlyDir}/plugins/sounds/
71 dalisound_DATA = ${dali_plugin_sound_files}
72
73 # Feedback
74 libdali_feedback_plugin_la_SOURCES = \
75                      $(feedback_plugin_src_files)
76
77 libdali_feedback_plugin_la_DEPENDENCIES =
78
79 libdali_feedback_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
80                       -DDALI_SOUND_DIR="\"${dalisounddir}\"" \
81                       $(DLOG_CFLAGS) \
82                       $(DALICORE_CFLAGS) \
83                       $(MMFSOUND_CFLAGS) \
84                       $(FEEDBACK_CFLAGS) \
85                       $(DALI_PROFILE_CFLAGS) \
86                       $(DALI_ADAPTOR_CFLAGS) \
87                       -I../../../adaptors/public-api \
88                       -I../../../adaptors/integration-api \
89                       -I../../../adaptors/public-api/adaptor-framework \
90                       -I../../../adaptors/devel-api/adaptor-framework \
91                       -Werror -Wall
92
93 libdali_feedback_plugin_la_LIBADD = \
94                       $(DLOG_LIBS) \
95                       $(MMFSOUND_LIBS)
96
97 libdali_feedback_plugin_la_LDFLAGS = \
98                       -rdynamic
99
100 libdali_feedback_plugin_la_LIBADD += \
101                       $(FEEDBACK_LIBS)
102
103 endif
104
105 # VideoPlayer
106 if WAYLAND
107 if USE_VIDEOPLAYER
108
109 libdali_video_player_plugin_la_SOURCES = \
110                      $(video_player_plugin_src_files)
111
112 libdali_video_player_plugin_la_DEPENDENCIES =
113
114 libdali_video_player_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
115                       -DDALI_ADAPTOR_COMPILATION \
116                       $(DLOG_CFLAGS) \
117                       $(DALICORE_CFLAGS) \
118                       $(ECORE_WAYLAND_CFLAGS) \
119                       $(CAPI_MEDIA_PLAYER_CFLAGS) \
120                       $(DALI_PROFILE_CFLAGS) \
121                       $(DALI_ADAPTOR_CFLAGS) \
122                       -I../../../adaptors/public-api \
123                       -I../../../adaptors/devel-api \
124                       -I../../../adaptors/devel-api/adaptor-framework \
125                       -I../../../adaptors/integration-api \
126                       -I../../../adaptors/public-api/adaptor-framework \
127                       -I../../../plugins/video-player \
128                       -Werror -Wall
129
130 libdali_video_player_plugin_la_LIBADD = \
131                       $(DLOG_LIBS) \
132                       $(ECORE_WAYLAND_LIBS) \
133                       $(CAPI_MEDIA_PLAYER_LIBS)
134
135 libdali_video_player_plugin_la_LDFLAGS = \
136                       -rdynamic
137
138 endif # USE_VIDEOPLAYER
139 endif # WAYLAND