# limitations under the License.
#
-# Build the Dali feedback plugin
+SUBDIRS = ${subdirs}
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dali-extension.pc
-
-extension_src_dir = ../../dali-extension
-
-include ../../dali-extension/file.list
-
-lib_LTLIBRARIES =
-
-if USE_KEY_EXTENSION
-lib_LTLIBRARIES += libdali-key-extension.la
-endif
-
-lib_LTLIBRARIES += libdali-video-player-plugin.la
-
-# key extension
-libdali_key_extension_la_SOURCES = \
- $(key_extension_src_files)
-libdali_key_extension_la_DEPENDENCIES =
-
-libdali_key_extension_la_CXXFLAGS =
- $(DLOG_CFLAGS) \
- $(DALI_CFLAGS) \
- -I../../dali-extension/ \
- -Werror -Wall
-
-libdali_key_extension_la_LIBADD = \
- $(DLOG_LIBS)
-
-libdali_key_extension_la_LDFLAGS = \
- -rdynamic
-
-libdali_key_extensiondir = $(devincludepath)/dali-extension/
-
-libdali_key_extension_HEADERS = $(key_extension_header_files)
-
-# Todo Video player plugin separation
-libdali_video_player_plugin_la_SOURCES = \
- $(video_player_plugin_src_files)
-
-libdali_video_player_plugin_la_DEPENDENCIES =
-
-libdali_video_player_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
- -DDALI_ADAPTOR_COMPILATION \
- $(DLOG_CFLAGS) \
- $(DALI_CFLAGS) \
- $(ECORE_WAYLAND_CFLAGS) \
- $(CAPI_MEDIA_PLAYER_CFLAGS) \
- $(CAPI_SYSTEM_INFO_CFLAGS) \
- -I../../dali-extension/video-player \
- -Werror -Wall
-
-libdali_video_player_plugin_la_LIBADD = \
- $(DLOG_LIBS) \
- $(DALI_LIBS) \
- $(ECORE_WAYLAND_LIBS) \
- $(CAPI_MEDIA_PLAYER_LIBS) \
- $(CAPI_SYSTEM_INFO_LIBS)
-
-libdali_video_player_plugin_la_LDFLAGS = \
- -rdynamic
-
DALI_EXTENSION_VERSION=dali_version
AC_SUBST(DALI_EXTENSION_VERSION)
-AC_ARG_ENABLE([keyextension],
- [AC_HELP_STRING([--enable-keyextension],
- [enables the key extension of all the symbols in the library])],
- [enable_keyextension=yes],
- [enable_keyextension=no])
-
-AM_CONDITIONAL([USE_KEY_EXTENSION], [test x$enable_keyextension = xyes])
-
PKG_CHECK_MODULES([DALI], [dali-core dali-adaptor dali-toolkit])
-# ToDO Videoplayer plugin separation
-PKG_CHECK_MODULES(CAPI_MEDIA_PLAYER, capi-media-player)
-PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
-PKG_CHECK_MODULES(CAPI_SYSTEM_INFO, capi-system-info)
-
-devincludepath=${includedir}
-AC_SUBST(devincludepath)
+AC_CONFIG_SUBDIRS(key)
+AC_CONFIG_SUBDIRS(video-player)
AC_CONFIG_FILES([
Makefile
--- /dev/null
+#
+# Copyright (c) 2015 Samsung Electronics Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Build the Dali feedback plugin
+
+extension_src_dir = ../../../dali-extension
+
+include ../../../dali-extension/key/file.list
+include ../../../dali-extension/integration-api/file.list
+
+lib_LTLIBRARIES =
+
+lib_LTLIBRARIES += libdali-key-extension.la
+
+# key extension
+libdali_key_extension_la_SOURCES = \
+ $(key_extension_src_files)
+
+libdali_key_extension_la_DEPENDENCIES =
+
+libdali_key_extension_la_CXXFLAGS = \
+ -I../../../dali-extension/ \
+ -I../../../dali-extension/integration-api \
+ $(DLOG_CFLAGS) \
+ $(DALI_CFLAGS) \
+ -Werror -Wall
+
+libdali_key_extension_la_LIBADD = \
+ $(DLOG_LIBS)
+
+libdali_key_extension_la_LDFLAGS = \
+ -rdynamic
+
+libdali_key_extensiondir = $(devincludepath)/dali-extension/integration-api
+libdali_key_extension_HEADERS = $(key_extension_header_files)
--- /dev/null
+4_define([dali_version],[0.1.0])
+AC_INIT([dali], [dali_version])
+AM_INIT_AUTOMAKE([-Wall foreign])
+
+AC_CONFIG_MACRO_DIR([m4])
+
+AC_PROG_CXX
+AC_PROG_LIBTOOL
+
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+LT_INIT
+
+DALI_EXTENSION_VERSION=dali_version
+AC_SUBST(DALI_EXTENSION_VERSION)
+
+AC_ARG_ENABLE([keyextension],
+ [AC_HELP_STRING([--enable-keyextension],
+ [enables the key extension of all the symbols in the library])],
+ [enable_keyextension=yes],
+ [enable_keyextension=no])
+
+AM_CONDITIONAL([USE_KEY_EXTENSION], [test x$enable_keyextension = xyes])
+
+devincludepath=${includedir}
+AC_SUBST(devincludepath)
+
+AC_CONFIG_FILES([
+Makefile
+])
+
+AC_OUTPUT
--- /dev/null
+#
+# Copyright (c) 2015 Samsung Electronics Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Build the Dali feedback plugin
+
+extension_src_dir = ../../../dali-extension
+
+include ../../../dali-extension/video-player/file.list
+
+lib_LTLIBRARIES =
+
+lib_LTLIBRARIES += libdali-video-player-plugin.la
+
+# Todo Video player plugin separation
+libdali_video_player_plugin_la_SOURCES = \
+ $(video_player_plugin_src_files)
+
+libdali_video_player_plugin_la_DEPENDENCIES =
+
+libdali_video_player_plugin_la_CXXFLAGS = -DDALI_COMPILATION \
+ -DDALI_ADAPTOR_COMPILATION \
+ $(DLOG_CFLAGS) \
+ $(DALI_CFLAGS) \
+ $(ECORE_WAYLAND_CFLAGS) \
+ $(CAPI_MEDIA_PLAYER_CFLAGS) \
+ $(CAPI_SYSTEM_INFO_CFLAGS) \
+ -I../../../dali-extension/video-player \
+ -Werror -Wall
+
+libdali_video_player_plugin_la_LIBADD = \
+ $(DLOG_LIBS) \
+ $(DALI_LIBS) \
+ $(ECORE_WAYLAND_LIBS) \
+ $(CAPI_MEDIA_PLAYER_LIBS) \
+ $(CAPI_SYSTEM_INFO_LIBS)
+
+libdali_video_player_plugin_la_LDFLAGS = \
+ -rdynamic
+
--- /dev/null
+4_define([dali_version],[0.1.0])
+AC_INIT([dali], [dali_version])
+AM_INIT_AUTOMAKE([-Wall foreign])
+
+AC_CONFIG_MACRO_DIR([m4])
+
+AC_PROG_CXX
+AC_PROG_LIBTOOL
+
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+LT_INIT
+
+DALI_EXTENSION_VERSION=dali_version
+AC_SUBST(DALI_EXTENSION_VERSION)
+
+PKG_CHECK_MODULES(CAPI_MEDIA_PLAYER, capi-media-player)
+PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
+PKG_CHECK_MODULES(CAPI_SYSTEM_INFO, capi-system-info)
+
+devincludepath=${includedir}
+AC_SUBST(devincludepath)
+
+AC_CONFIG_FILES([
+Makefile
+])
+
+AC_OUTPUT
+++ /dev/null
-key_extension_src_files = \
- $(extension_src_dir)/key/key-extension.cpp
-
-key_extension_header_files = \
- $(extension_src_dir)/key/key-extension.h
-
-video_player_plugin_src_files = \
- $(extension_src_dir)/video-player/tizen-video-player.cpp
--- /dev/null
+key_extension_header_files = \
+ $(extension_src_dir)/integration-api/key-extension.h
--- /dev/null
+key_extension_src_files = \
+ $(extension_src_dir)/key/key-extension.cpp
*/
// CLASS HEADER
-#include "key-extension.h"
+#include <integration-api/key-extension.h>
// The plugin factories
--- /dev/null
+video_player_plugin_src_files = \
+ $(extension_src_dir)/video-player/tizen-video-player.cpp