2 # Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
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 PKG_CHECK_MODULES(TARGET_COMMON_STATIC_DEPS
21 capi-appfw-package-manager
22 capi-system-system-settings
23 capi-appfw-application
31 SET(TARGET_COMMON_STATIC_INCS
33 ${TARGET_COMMON_STATIC_DEPS_INCLUDE_DIRS}
36 SET(TARGET_COMMON_STATIC_SRCS
37 ${BASE_SRCDIR}/common/constants.cc
38 ${BASE_SRCDIR}/common/file_utils.cc
39 ${BASE_SRCDIR}/common/string_utils.cc
40 ${BASE_SRCDIR}/common/command_line.cc
41 ${BASE_SRCDIR}/common/dbus_server.cc
42 ${BASE_SRCDIR}/common/dbus_client.cc
43 ${BASE_SRCDIR}/common/profiler.cc
44 ${BASE_SRCDIR}/common/resource_manager.cc
45 ${BASE_SRCDIR}/common/application_data.cc
46 ${BASE_SRCDIR}/common/app_control.cc
47 ${BASE_SRCDIR}/common/locale_manager.cc
48 ${BASE_SRCDIR}/common/app_db.cc
51 INCLUDE_DIRECTORIES(${TARGET_COMMON_STATIC_INCS})
52 ADD_LIBRARY(${TARGET_COMMON_STATIC} STATIC
53 ${TARGET_COMMON_STATIC_SRCS}
55 SET_TARGET_PROPERTIES(${TARGET_COMMON_STATIC} PROPERTIES
57 TARGET_LINK_LIBRARIES(${TARGET_COMMON_STATIC}
58 ${TARGET_COMMON_STATIC_DEPS_LIBRARIES}