#endif
#ifeq ($(strip $(OUTPUT_DIR)),)
-OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
#endif
#ifeq ($(strip $(BUILD_ARCH)),)
@echo ' Building file: $$<'
@echo ' Invoking: $(3) Compiler'
$$(call MAKEDIRS,$$(@D))
- $(5) -c "$$<" -o "$$@" $(6) @$(7)
+ $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
@echo ' Finished building: $$<'
$(8) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4))
endef
# EDC build script
-FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.edj,$(1))
+FUNC_EDC2EDJ = $(patsubst %.edc,%.edj,$(1))
# parameter :
# $(1) - C/C++ soruce file
# $(2) - output path
-CONVERT_ESC_EDC_TO_EDJ = $(call CONVERT_4MAKE_TO_OUT,$(call FUNC_EDC2EDJ,$(1),$(2)))
+CONVERT_ESC_EDC_TO_EDJ = $(2)/$(call CONVERT_4MAKE_TO_OUT,$(call FUNC_EDC2EDJ,$(1)))
# parameter :
# PO build script
-_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).mo,$(notdir $(1)))
+_FUNC_PO2MO = $(patsubst %.po,res/locale/%/LC_MESSAGES/$(2).mo,$(notdir $(1)))
# parameter :
# $(1) - C/C++ soruce file
# $(2) - output path
# $(3) - app name
-CONVERT_ESC_PO_TO_MO = $(call CONVERT_4MAKE_TO_OUT,$(call _FUNC_PO2MO,$(1),$(2),$(3)))
+CONVERT_ESC_PO_TO_MO = $(2)/$(call CONVERT_4MAKE_TO_OUT,$(call _FUNC_PO2MO,$(1),$(3)))
# parameter :
version : build_version
#PROJ_ROOT = .
-BUILD_ROOT := $(PROJ_PATH)/Build#
+PROJ_PATH ?= .#
+BUILD_ROOT ?= $(PROJ_PATH)/Build#
ifeq ($(MAKE_NAME),mingw32-make)
ifneq ($(SHELL),)
#PROJ_ROOT := $(call BSLASH2SLASH,$(PROJ_PATH))
-PROJ_ROOT := .
-BUILD_ROOT := $(PROJ_ROOT)/Build
+PROJ_ROOT ?= .#
+BUILD_ROOT ?= $(PROJ_ROOT)/Build
include $(BUILD_ROOT)/basedef.mk
APPTYPE := $(type)
-OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
-OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+OUTPUT_BASE ?= $(PROJ_ROOT)
+#OUTPUT_DIR ?= $(OUTPUT_BASE)/$(BUILD_CONFIG)/$(BUILD_ARCH)
+OUTPUT_DIR ?= $(OUTPUT_BASE)/$(BUILD_CONFIG)
+OUTPUT_DIR := $(call BSLASH2SLASH,$(OUTPUT_DIR))
+OBJ_OUTPUT ?= $(OUTPUT_DIR)/objs
LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
EXT_OP := -fPIC
endif
-C_OPT := $(COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT)
-CPP_OPT := $(CPP_COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT)
+C_OPT := $(COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) $(USER_C_OPTS)
+CPP_OPT := $(CPP_COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) $(USER_CPP_OPTS)
C_OPT_FILE := $(PLATFORM_INCS_FILE)
OBJS := #
# Individual C/C++
ifneq ($(strip $(USER_EXT_C_KEYS)),)
$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_INC_FILES),$(USER_EXT_$(var)_DEFS),$(USER_EXT_$(var)_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS)))
-$(foreach ext,cpp cxx cc c++ C,$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_CPP_INC_FILES),$(USER_EXT_$(var)_CPP_DEFS),$(USER_EXT_$(var)_CPP_UNDEFS),$(C_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+$(foreach ext,cpp cxx cc c++ C,$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_CPP_INC_FILES),$(USER_EXT_$(var)_CPP_DEFS),$(USER_EXT_$(var)_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
endif
@echo ' Building target: $@'
@echo ' Invoking: C/C++ Linker'
$(call MAKEDIRS,$(@D))
- $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) $(RS_LIBRARIES) -Xlinker -rpath="/opt/usr/apps/$(APPID)/lib" -Werror-implicit-function-declaration
+ $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) $(RS_LIBRARIES) -Xlinker -rpath="/opt/usr/apps/$(APPID)/lib" -Werror-implicit-function-declaration $(USER_LINK_OPTS)
@echo ' Finished building target: $@'
endif
ifeq ($(strip $(APPTYPE)),staticLib)
@echo ' Building target: $@'
@echo ' Invoking: Archive utility'
$(call MAKEDIRS,$(@D))
- $(AR) -r $(APPFILE) $(OBJS) $(UOBJS) $(AR_FLAGS)
+ $(AR) -r $(APPFILE) $(OBJS) $(UOBJS) $(AR_FLAGS) $(USER_LINK_OPTS)
@echo ' Finished building target: $@'
endif
ifeq ($(strip $(APPTYPE)),sharedLib)
@echo ' Building target: $@'
@echo ' Invoking: C/C++ Linker'
$(call MAKEDIRS,$(@D))
- $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) $(RS_LIBRARIES)
+ $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) $(RS_LIBRARIES) $(USER_LINK_OPTS)
@echo ' Finished building target: $@'
endif
ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
$(file > $@,$(PLATFORM_INCS))
else
- @echo $(PLATFORM_INCS) > $@
+ @echo $(PLATFORM_INCS) > "$@"
endif
else
- @echo $(PLATFORM_INCS) > $@
+ @echo $(PLATFORM_INCS) > "$@"
endif
endif
-
include $(BUILD_ROOT)/build_edc.mk
#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
*/
-#ifndef __PKGMGR_SETTING_INFO_H__
-#define __PKGMGR_SETTING_INFO_H__
+#ifndef __APP_SETTING_INFO_H__
+#define __APP_SETTING_INFO_H__
#include <tizen.h>
#include "log.h"
HAPI int apps_sort_cb(const void *d1, const void *d2);
-#endif //__PKGMGR_SETTING_INFO_H__
+#endif //__APP_SETTING_INFO_H__
#include <Elementary.h>
#include <package_manager.h>
#include "log.h"
-#include "pkgmgr-setting-info.h"
#include "notification-setting-info.h"
#define PKGNAME NULL
#define __NOTIFICATION_SETTING_INFO_H__
#include <Elementary.h>
-#include "pkgmgr-setting-info.h"
+#include "app-setting-info.h"
#include <notification_setting_internal.h>
#include "sys_setting.h"
profile = mobile-3.0
# C/CPP Sources
-USER_SRCS = src/excepted-apps-efl.c src/do-not-disturb-efl.c src/sys_setting.c src/set-schedule-info.c src/allowed-calls.c src/pkgmgr-setting-info.c src/app-details.c src/common-efl.c src/lock_screen_content.c src/notification-setting-info.c src/main.c
+USER_SRCS = src/excepted-apps-efl.c src/do-not-disturb-efl.c src/sys_setting.c src/set-schedule-info.c src/allowed-calls.c src/app-details.c src/common-efl.c src/app-setting-info.c src/lock_screen_content.c src/notification-setting-info.c src/main.c
# EDC Sources
USER_EDCS =
USER_POS = res/po/de.po res/po/en_US.po res/po/fi.po res/po/zh_HK.po res/po/sl.po res/po/tr_TR.po res/po/pt_PT.po res/po/sr.po res/po/az.po res/po/ga.po res/po/gl.po res/po/hy.po res/po/lv.po res/po/da.po res/po/en.po res/po/hi.po res/po/it_IT.po res/po/lt.po res/po/nb.po res/po/ja_JP.po res/po/ru_RU.po res/po/el_GR.po res/po/bg.po res/po/zh_TW.po res/po/pt_BR.po res/po/sv.po res/po/pl.po res/po/cs.po res/po/fr_CA.po res/po/zh_CN.po res/po/ar.po res/po/hu.po res/po/eu.po res/po/kk.po res/po/et.po res/po/ca.po res/po/fr.po res/po/nl.po res/po/sk.po res/po/is.po res/po/ka.po res/po/ro.po res/po/ko_KR.po res/po/es_US.po res/po/mk.po res/po/en_PH.po res/po/es_ES.po res/po/uz.po res/po/uk.po res/po/hr.po
# User Defines
-USER_DEFS =
+USER_DEFS = TIZEN_DEPRECATION
USER_CPP_DEFS =
# User Undefines
#include <stdlib.h>
-#include "pkgmgr-setting-info.h"
+#include "app-setting-info.h"
#include <app_info.h>
#include <app_manager.h>
* limitations under the License.
*/
-#include "pkgmgr-setting-info.h"
+#include "app-setting-info.h"
#include "common-efl.h"
#include "set-schedule-info.h"
#include "allowed-calls.h"
#include <assert.h>
#include <utils_i18n_ulocale.h>
#include "do-not-disturb-efl.h"
-#include "pkgmgr-setting-info.h"
+#include "app-setting-info.h"
#include "excepted-apps-efl.h"
#include "common-efl.h"
#include "app-details.h"
NOTISET_TRACE_BEGIN;
int i = 0;
int count = 0;
- char *package_name = NULL;
+ char *package_id = NULL;
bool allow_to_notify = false;
bool do_not_disturb_except = false;
notification_setting_h setting_array = NULL;
if (item_info) {
temp = setting_array + i;
- notification_setting_get_package_name(temp, &package_name);
- item_info->appid = package_name;
+ notification_setting_get_appid(temp, &package_id);
+ item_info->appid = package_id;
notification_setting_get_allow_to_notify(temp, &allow_to_notify);
item_info->allow_to_notify = allow_to_notify;
notification_setting_get_do_not_disturb_except(temp, &do_not_disturb_except);
item_info->do_not_disturb_except = do_not_disturb_except;
- item_info->icon = get_app_icon(package_name);
+ item_info->icon = get_app_icon(package_id);
- if (!strcmp(package_name, CALENDAR_PACKAGE))
+ if (!strcmp(package_id, CALENDAR_PACKAGE))
item_info->name = strdup(APP_STRING("IDS_COM_BODY_CALENDAR_EVENTS"));
- else if (!strcmp(package_name, CLOCK_PACKAGE))
+ else if (!strcmp(package_id, CLOCK_PACKAGE))
item_info->name = strdup(APP_STRING("IDS_ST_BODY_ALARMS"));
else
- item_info->name = get_app_name(package_name);
+ item_info->name = get_app_name(package_id);
item_info->index = i;
if (item_info->name) {
- if ((allow_to_notify && !strcmp(package_name, MESSAGES_PACKAGE))
- || !strcmp(package_name, CLOCK_PACKAGE)
- || !strcmp(package_name, CALENDAR_PACKAGE)) {
+ if ((allow_to_notify && !strcmp(package_id, MESSAGES_PACKAGE))
+ || !strcmp(package_id, CLOCK_PACKAGE)
+ || !strcmp(package_id, CALENDAR_PACKAGE)) {
setting_info->first_allowed_list = eina_list_append(setting_info->first_allowed_list, item_info);
if (do_not_disturb_except) {
setting_info->first_excepted_list = eina_list_append(setting_info->first_excepted_list, item_info);
}
}
- if (allow_to_notify && strcmp(package_name, MESSAGES_PACKAGE)
- && strcmp(package_name, CALENDAR_PACKAGE)
- && strcmp(package_name, CLOCK_PACKAGE)) {
+ if (allow_to_notify && strcmp(package_id, MESSAGES_PACKAGE)
+ && strcmp(package_id, CALENDAR_PACKAGE)
+ && strcmp(package_id, CLOCK_PACKAGE)) {
if (do_not_disturb_except) {
setting_info->excepted_list = eina_list_append(setting_info->excepted_list, item_info);
} else {
}
}
} else {
- FREEIF(package_name);
+ FREEIF(package_id);
FREEIF(item_info->name);
FREEIF(item_info->icon);
FREEIF(item_info);