add Build directory to all subprojects 24/203724/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 17 Apr 2019 06:21:33 +0000 (08:21 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 17 Apr 2019 06:57:52 +0000 (08:57 +0200)
The files in Build dir are not required to conduct full system build,
however include some sane defaults which might be used by the build
system.

Change-Id: I2055287c509cd1019ebcff45ffc7ba3890b18332

207 files changed:
setting-about/.gitignore
setting-about/.project
setting-about/Build/appendix.mk [new file with mode: 0644]
setting-about/Build/basedef.mk [new file with mode: 0644]
setting-about/Build/build_c.mk [new file with mode: 0644]
setting-about/Build/build_edc.mk [new file with mode: 0644]
setting-about/Build/build_po.mk [new file with mode: 0644]
setting-about/Build/flags.mk [new file with mode: 0644]
setting-about/Build/funcs.mk [new file with mode: 0644]
setting-about/Build/makefile [new file with mode: 0644]
setting-about/Build/makefile.mk [new file with mode: 0644]
setting-about/Build/platform.mk [new file with mode: 0644]
setting-about/Build/tooldef.mk [new file with mode: 0644]
setting-about/project_def.prop
setting-applications/.gitignore
setting-applications/Build/appendix.mk [new file with mode: 0644]
setting-applications/Build/basedef.mk [new file with mode: 0644]
setting-applications/Build/build_c.mk [new file with mode: 0644]
setting-applications/Build/build_edc.mk [new file with mode: 0644]
setting-applications/Build/build_po.mk [new file with mode: 0644]
setting-applications/Build/flags.mk [new file with mode: 0644]
setting-applications/Build/funcs.mk [new file with mode: 0644]
setting-applications/Build/makefile [new file with mode: 0644]
setting-applications/Build/makefile.mk [new file with mode: 0644]
setting-applications/Build/platform.mk [new file with mode: 0644]
setting-applications/Build/tooldef.mk [new file with mode: 0644]
setting-applications/project_def.prop
setting-appmgr/.gitignore
setting-appmgr/Build/appendix.mk [new file with mode: 0644]
setting-appmgr/Build/basedef.mk [new file with mode: 0644]
setting-appmgr/Build/build_c.mk [new file with mode: 0644]
setting-appmgr/Build/build_edc.mk [new file with mode: 0644]
setting-appmgr/Build/build_po.mk [new file with mode: 0644]
setting-appmgr/Build/flags.mk [new file with mode: 0644]
setting-appmgr/Build/funcs.mk [new file with mode: 0644]
setting-appmgr/Build/makefile [new file with mode: 0644]
setting-appmgr/Build/makefile.mk [new file with mode: 0644]
setting-appmgr/Build/platform.mk [new file with mode: 0644]
setting-appmgr/Build/tooldef.mk [new file with mode: 0644]
setting-appmgr/project_def.prop
setting-backup-and-reset/.gitignore
setting-common/.gitignore
setting-common/Build/appendix.mk [new file with mode: 0644]
setting-common/Build/basedef.mk [new file with mode: 0644]
setting-common/Build/build_c.mk [new file with mode: 0644]
setting-common/Build/build_edc.mk [new file with mode: 0644]
setting-common/Build/build_po.mk [new file with mode: 0644]
setting-common/Build/flags.mk [new file with mode: 0644]
setting-common/Build/funcs.mk [new file with mode: 0644]
setting-common/Build/makefile [new file with mode: 0644]
setting-common/Build/makefile.mk [new file with mode: 0644]
setting-common/Build/platform.mk [new file with mode: 0644]
setting-common/Build/tooldef.mk [new file with mode: 0644]
setting-common/project_def.prop
setting-connectivity/.gitignore
setting-connectivity/Build/appendix.mk [new file with mode: 0644]
setting-connectivity/Build/basedef.mk [new file with mode: 0644]
setting-connectivity/Build/build_c.mk [new file with mode: 0644]
setting-connectivity/Build/build_edc.mk [new file with mode: 0644]
setting-connectivity/Build/build_po.mk [new file with mode: 0644]
setting-connectivity/Build/flags.mk [new file with mode: 0644]
setting-connectivity/Build/funcs.mk [new file with mode: 0644]
setting-connectivity/Build/makefile [new file with mode: 0644]
setting-connectivity/Build/makefile.mk [new file with mode: 0644]
setting-connectivity/Build/platform.mk [new file with mode: 0644]
setting-connectivity/Build/tooldef.mk [new file with mode: 0644]
setting-connectivity/project_def.prop
setting-display/.gitignore
setting-display/Build/appendix.mk [new file with mode: 0644]
setting-display/Build/basedef.mk [new file with mode: 0644]
setting-display/Build/build_c.mk [new file with mode: 0644]
setting-display/Build/build_edc.mk [new file with mode: 0644]
setting-display/Build/build_po.mk [new file with mode: 0644]
setting-display/Build/flags.mk [new file with mode: 0644]
setting-display/Build/funcs.mk [new file with mode: 0644]
setting-display/Build/makefile [new file with mode: 0644]
setting-display/Build/makefile.mk [new file with mode: 0644]
setting-display/Build/platform.mk [new file with mode: 0644]
setting-display/Build/tooldef.mk [new file with mode: 0644]
setting-display/project_def.prop
setting-fileview/.gitignore
setting-fileview/Build/appendix.mk [new file with mode: 0644]
setting-fileview/Build/basedef.mk [new file with mode: 0644]
setting-fileview/Build/build_c.mk [new file with mode: 0644]
setting-fileview/Build/build_edc.mk [new file with mode: 0644]
setting-fileview/Build/build_po.mk [new file with mode: 0644]
setting-fileview/Build/flags.mk [new file with mode: 0644]
setting-fileview/Build/funcs.mk [new file with mode: 0644]
setting-fileview/Build/makefile [new file with mode: 0644]
setting-fileview/Build/makefile.mk [new file with mode: 0644]
setting-fileview/Build/platform.mk [new file with mode: 0644]
setting-fileview/Build/tooldef.mk [new file with mode: 0644]
setting-fileview/project_def.prop
setting-flightmode/.gitignore
setting-flightmode/Build/appendix.mk [new file with mode: 0644]
setting-flightmode/Build/basedef.mk [new file with mode: 0644]
setting-flightmode/Build/build_c.mk [new file with mode: 0644]
setting-flightmode/Build/build_edc.mk [new file with mode: 0644]
setting-flightmode/Build/build_po.mk [new file with mode: 0644]
setting-flightmode/Build/flags.mk [new file with mode: 0644]
setting-flightmode/Build/funcs.mk [new file with mode: 0644]
setting-flightmode/Build/makefile [new file with mode: 0644]
setting-flightmode/Build/makefile.mk [new file with mode: 0644]
setting-flightmode/Build/platform.mk [new file with mode: 0644]
setting-flightmode/Build/tooldef.mk [new file with mode: 0644]
setting-flightmode/project_def.prop
setting-font/.gitignore
setting-font/Build/appendix.mk [new file with mode: 0644]
setting-font/Build/basedef.mk [new file with mode: 0644]
setting-font/Build/build_c.mk [new file with mode: 0644]
setting-font/Build/build_edc.mk [new file with mode: 0644]
setting-font/Build/build_po.mk [new file with mode: 0644]
setting-font/Build/flags.mk [new file with mode: 0644]
setting-font/Build/funcs.mk [new file with mode: 0644]
setting-font/Build/makefile [new file with mode: 0644]
setting-font/Build/makefile.mk [new file with mode: 0644]
setting-font/Build/platform.mk [new file with mode: 0644]
setting-font/Build/tooldef.mk [new file with mode: 0644]
setting-font/project_def.prop
setting-language-and-input/.gitignore
setting-language-and-input/Build/appendix.mk [new file with mode: 0644]
setting-language-and-input/Build/basedef.mk [new file with mode: 0644]
setting-language-and-input/Build/build_c.mk [new file with mode: 0644]
setting-language-and-input/Build/build_edc.mk [new file with mode: 0644]
setting-language-and-input/Build/build_po.mk [new file with mode: 0644]
setting-language-and-input/Build/flags.mk [new file with mode: 0644]
setting-language-and-input/Build/funcs.mk [new file with mode: 0644]
setting-language-and-input/Build/makefile [new file with mode: 0644]
setting-language-and-input/Build/makefile.mk [new file with mode: 0644]
setting-language-and-input/Build/platform.mk [new file with mode: 0644]
setting-language-and-input/Build/tooldef.mk [new file with mode: 0644]
setting-language-and-input/project_def.prop
setting-license/.gitignore
setting-license/Build/appendix.mk [new file with mode: 0644]
setting-license/Build/basedef.mk [new file with mode: 0644]
setting-license/Build/build_c.mk [new file with mode: 0644]
setting-license/Build/build_edc.mk [new file with mode: 0644]
setting-license/Build/build_po.mk [new file with mode: 0644]
setting-license/Build/flags.mk [new file with mode: 0644]
setting-license/Build/funcs.mk [new file with mode: 0644]
setting-license/Build/makefile [new file with mode: 0644]
setting-license/Build/makefile.mk [new file with mode: 0644]
setting-license/Build/platform.mk [new file with mode: 0644]
setting-license/Build/tooldef.mk [new file with mode: 0644]
setting-license/project_def.prop
setting-locktype/.gitignore
setting-locktype/Build/appendix.mk [new file with mode: 0644]
setting-locktype/Build/basedef.mk [new file with mode: 0644]
setting-locktype/Build/build_c.mk [new file with mode: 0644]
setting-locktype/Build/build_edc.mk [new file with mode: 0644]
setting-locktype/Build/build_po.mk [new file with mode: 0644]
setting-locktype/Build/flags.mk [new file with mode: 0644]
setting-locktype/Build/funcs.mk [new file with mode: 0644]
setting-locktype/Build/makefile [new file with mode: 0644]
setting-locktype/Build/makefile.mk [new file with mode: 0644]
setting-locktype/Build/platform.mk [new file with mode: 0644]
setting-locktype/Build/tooldef.mk [new file with mode: 0644]
setting-locktype/project_def.prop
setting-main/.gitignore
setting-main/Build/basedef.mk
setting-main/Build/flags.mk
setting-main/project_def.prop
setting-network/.gitignore
setting-network/Build/basedef.mk
setting-network/Build/flags.mk
setting-network/project_def.prop
setting-password/.gitignore
setting-password/Build/basedef.mk
setting-password/Build/flags.mk
setting-password/project_def.prop
setting-privacy/.gitignore
setting-privacy/Build/basedef.mk
setting-privacy/Build/flags.mk
setting-privacy/project_def.prop
setting-profile-common/.gitignore
setting-profile-common/Build/basedef.mk
setting-profile-common/Build/flags.mk
setting-profile-common/project_def.prop
setting-profile/.gitignore
setting-profile/Build/basedef.mk
setting-profile/Build/flags.mk
setting-profile/project_def.prop
setting-ringtone/.gitignore
setting-ringtone/Build/basedef.mk
setting-ringtone/Build/flags.mk
setting-ringtone/project_def.prop
setting-smartmanager/.gitignore
setting-smartmanager/Build/basedef.mk
setting-smartmanager/Build/flags.mk
setting-smartmanager/project_def.prop
setting-storage/.gitignore
setting-storage/Build/basedef.mk
setting-storage/Build/flags.mk
setting-storage/project_def.prop
setting-time/.gitignore
setting-time/Build/basedef.mk
setting-time/Build/flags.mk
setting-time/project_def.prop
setting-volume/.gitignore
setting-volume/Build/basedef.mk
setting-volume/project_def.prop
smartmanager-battery/.gitignore
smartmanager-battery/Build/flags.mk
smartmanager-battery/project_def.prop
smartmanager-data/.gitignore
smartmanager-data/Build/flags.mk
smartmanager-data/project_def.prop

index 31b96f142736ea20ebf6d87af7bc8fcbe75ccbb0..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
-/res/
index c0e733628776f5ae8141203057d845425297739e..25e7b8a3a37899ebed0d6facba07b8d65daed0b1 100644 (file)
@@ -13,6 +13,7 @@
                </buildCommand>
                <buildCommand>
                        <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+                       <triggers>clean,full,incremental,</triggers>
                        <arguments>
                        </arguments>
                </buildCommand>
diff --git a/setting-about/Build/appendix.mk b/setting-about/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-about/Build/basedef.mk b/setting-about/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-about/Build/build_c.mk b/setting-about/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-about/Build/build_edc.mk b/setting-about/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-about/Build/build_po.mk b/setting-about/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-about/Build/flags.mk b/setting-about/Build/flags.mk
new file mode 100644 (file)
index 0000000..b15a358
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = 
+CPP_DEBUG_OP = 
+
+OPTIMIZATION_OP = -O3 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = -s 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-about/Build/funcs.mk b/setting-about/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-about/Build/makefile b/setting-about/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-about/Build/makefile.mk b/setting-about/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-about/Build/platform.mk b/setting-about/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-about/Build/tooldef.mk b/setting-about/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 8d83b2e4a3e8831009ef9fdfd5665cf81a16b29a..52856938a6a51bbd4a1bbd1f8e76d452dbca6448 100644 (file)
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG)
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-applications/Build/appendix.mk b/setting-applications/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-applications/Build/basedef.mk b/setting-applications/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-applications/Build/build_c.mk b/setting-applications/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-applications/Build/build_edc.mk b/setting-applications/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-applications/Build/build_po.mk b/setting-applications/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-applications/Build/flags.mk b/setting-applications/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-applications/Build/funcs.mk b/setting-applications/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-applications/Build/makefile b/setting-applications/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-applications/Build/makefile.mk b/setting-applications/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-applications/Build/platform.mk b/setting-applications/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-applications/Build/tooldef.mk b/setting-applications/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index d5dc6575e3b02b3d161f6d3ebe53859b732908d9..9f73f05b968122fb63d1a6b3e2c3adc1f8331ce3 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"${APPID}\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc ${SBI_SYSROOT}/usr/include/vconf $(workspace_loc)/setting-common/inc ${SBI_SYSROOT}/usr/include/libxml2 ${SBI_SYSROOT}/usr/include ${SBI_SYSROOT}/usr/include/appcore-agent ${SBI_SYSROOT}/usr/include/appfw ${SBI_SYSROOT}/usr/include/asp/ ${SBI_SYSROOT}/usr/include/attach-panel ${SBI_SYSROOT}/usr/include/badge ${SBI_SYSROOT}/usr/include/base ${SBI_SYSROOT}/usr/include/cairo ${SBI_SYSROOT}/usr/include/calendar-service2 ${SBI_SYSROOT}/usr/include/cbhm ${SBI_SYSROOT}/usr/include/chromium-ewk ${SBI_SYSROOT}/usr/include/ckm ${SBI_SYSROOT}/usr/include/contacts-svc ${SBI_SYSROOT}/usr/include/content ${SBI_SYSROOT}/usr/include/context-service ${SBI_SYSROOT}/usr/include/csr ${SBI_SYSROOT}/usr/include/dali ${SBI_SYSROOT}/usr/include/dali-toolkit ${SBI_SYSROOT}/usr/include/dbus-1.0 ${SBI_SYSROOT}/usr/include/device ${SBI_SYSROOT}/usr/include/dlog ${SBI_SYSROOT}/usr/include/ecore-1 ${SBI_SYSROOT}/usr/include/ecore-buffer-1 ${SBI_SYSROOT}/usr/include/ecore-con-1 ${SBI_SYSROOT}/usr/include/ecore-evas-1 ${SBI_SYSROOT}/usr/include/ecore-file-1 ${SBI_SYSROOT}/usr/include/ecore-imf-1 ${SBI_SYSROOT}/usr/include/ecore-imf-evas-1 ${SBI_SYSROOT}/usr/include/ecore-input-1 ${SBI_SYSROOT}/usr/include/ecore-input-evas-1 ${SBI_SYSROOT}/usr/include/ecore-ipc-1 ${SBI_SYSROOT}/usr/include/ector-1 ${SBI_SYSROOT}/usr/include/e_dbus-1 ${SBI_SYSROOT}/usr/include/edje-1 ${SBI_SYSROOT}/usr/include/eet-1 ${SBI_SYSROOT}/usr/include/efl-1 ${SBI_SYSROOT}/usr/include/efl-extension ${SBI_SYSROOT}/usr/include/efreet-1 ${SBI_SYSROOT}/usr/include/eina-1 ${SBI_SYSROOT}/usr/include/eina-1/eina ${SBI_SYSROOT}/usr/include/eio-1 ${SBI_SYSROOT}/usr/include/eldbus-1 ${SBI_SYSROOT}/usr/include/elementary-1 ${SBI_SYSROOT}/usr/include/embryo-1 ${SBI_SYSROOT}/usr/include/emile-1 ${SBI_SYSROOT}/usr/include/eo-1 ${SBI_SYSROOT}/usr/include/eom ${SBI_SYSROOT}/usr/include/ethumb-1 ${SBI_SYSROOT}/usr/include/ethumb-client-1 ${SBI_SYSROOT}/usr/include/evas-1 ${SBI_SYSROOT}/usr/include/feedback ${SBI_SYSROOT}/usr/include/fontconfig ${SBI_SYSROOT}/usr/include/freetype2 ${SBI_SYSROOT}/usr/include/geofence ${SBI_SYSROOT}/usr/include/gio-unix-2.0 ${SBI_SYSROOT}/usr/include/glib-2.0 ${SBI_SYSROOT}/usr/include/harfbuzz ${SBI_SYSROOT}/usr/include/iotcon ${SBI_SYSROOT}/usr/include/json-glib-1.0 ${SBI_SYSROOT}/usr/include/location ${SBI_SYSROOT}/usr/include/maps ${SBI_SYSROOT}/usr/include/media ${SBI_SYSROOT}/usr/include/media-content ${SBI_SYSROOT}/usr/include/messaging ${SBI_SYSROOT}/usr/include/metadata-editor ${SBI_SYSROOT}/usr/include/minicontrol ${SBI_SYSROOT}/usr/include/minizip ${SBI_SYSROOT}/usr/include/network ${SBI_SYSROOT}/usr/include/notification ${SBI_SYSROOT}/usr/include/nsd/ ${SBI_SYSROOT}/usr/include/phonenumber-utils ${SBI_SYSROOT}/usr/include/privacy-privilege-manager/ ${SBI_SYSROOT}/usr/include/SDL2 ${SBI_SYSROOT}/usr/include/sensor ${SBI_SYSROOT}/usr/include/service-adaptor ${SBI_SYSROOT}/usr/include/shortcut ${SBI_SYSROOT}/usr/include/storage ${SBI_SYSROOT}/usr/include/system ${SBI_SYSROOT}/usr/include/tef ${SBI_SYSROOT}/usr/include/telephony ${SBI_SYSROOT}/usr/include/tzsh ${SBI_SYSROOT}/usr/include/ui ${SBI_SYSROOT}/usr/include/ui-viewmgr ${SBI_SYSROOT}/usr/include/vulkan ${SBI_SYSROOT}/usr/include/web ${SBI_SYSROOT}/usr/include/widget_service ${SBI_SYSROOT}/usr/include/widget_viewer_dali ${SBI_SYSROOT}/usr/include/widget_viewer_evas ${SBI_SYSROOT}/usr/include/wifi-direct ${SBI_SYSROOT}/usr/include/yaca ${SBI_SYSROOT}/usr/lib/dbus-1.0/include ${SBI_SYSROOT}/usr/lib/glib-2.0/include ${SBI_SYSROOT}/usr/include/aul $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-appmgr/Build/appendix.mk b/setting-appmgr/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-appmgr/Build/basedef.mk b/setting-appmgr/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-appmgr/Build/build_c.mk b/setting-appmgr/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-appmgr/Build/build_edc.mk b/setting-appmgr/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-appmgr/Build/build_po.mk b/setting-appmgr/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-appmgr/Build/flags.mk b/setting-appmgr/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-appmgr/Build/funcs.mk b/setting-appmgr/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-appmgr/Build/makefile b/setting-appmgr/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-appmgr/Build/makefile.mk b/setting-appmgr/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-appmgr/Build/platform.mk b/setting-appmgr/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-appmgr/Build/tooldef.mk b/setting-appmgr/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index a578dfd2befa1eeb4d9481e22b1e3bf61db229a2..01a3e5dfcce0ecaa6c1dd5c4b096c25f9cdcbd5b 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-appmgr\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privilegemgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appsvc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/aul $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index e0f37dd5ef24b528c9433cb8b0dd35b726a9b216..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,4 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
index 31b96f142736ea20ebf6d87af7bc8fcbe75ccbb0..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
-/res/
diff --git a/setting-common/Build/appendix.mk b/setting-common/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-common/Build/basedef.mk b/setting-common/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-common/Build/build_c.mk b/setting-common/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-common/Build/build_edc.mk b/setting-common/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-common/Build/build_po.mk b/setting-common/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-common/Build/flags.mk b/setting-common/Build/flags.mk
new file mode 100644 (file)
index 0000000..7999c87
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = -shared -Wl,--no-undefined 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-common/Build/funcs.mk b/setting-common/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-common/Build/makefile b/setting-common/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-common/Build/makefile.mk b/setting-common/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-common/Build/platform.mk b/setting-common/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-common/Build/tooldef.mk b/setting-common/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 03069ef1d3976da8137e684236d8ada0948ff167..a6917bac49db963a823cc6c183402e038bd7f03f 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING _TZ_SYS_RO_APP=TZ_SYS_RO_APP 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-connectivity/Build/appendix.mk b/setting-connectivity/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-connectivity/Build/basedef.mk b/setting-connectivity/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-connectivity/Build/build_c.mk b/setting-connectivity/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-connectivity/Build/build_edc.mk b/setting-connectivity/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-connectivity/Build/build_po.mk b/setting-connectivity/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-connectivity/Build/flags.mk b/setting-connectivity/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-connectivity/Build/funcs.mk b/setting-connectivity/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-connectivity/Build/makefile b/setting-connectivity/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-connectivity/Build/makefile.mk b/setting-connectivity/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-connectivity/Build/platform.mk b/setting-connectivity/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-connectivity/Build/tooldef.mk b/setting-connectivity/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 2a683ea5421c477f8bdcc49afb237a45edbe6d47..b52c3195c02a40e468b5b8c45e2b7f4785c4755f 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-connectivity\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-display/Build/appendix.mk b/setting-display/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-display/Build/basedef.mk b/setting-display/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-display/Build/build_c.mk b/setting-display/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-display/Build/build_edc.mk b/setting-display/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-display/Build/build_po.mk b/setting-display/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-display/Build/flags.mk b/setting-display/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-display/Build/funcs.mk b/setting-display/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-display/Build/makefile b/setting-display/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-display/Build/makefile.mk b/setting-display/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-display/Build/platform.mk b/setting-display/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-display/Build/tooldef.mk b/setting-display/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 59ab811ea44c82295e8616d9a50d4a9177eae2d5..5d42dcda388c3eb58f11e2154652d01a5d65669b 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-display\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/deviced /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-fileview/Build/appendix.mk b/setting-fileview/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-fileview/Build/basedef.mk b/setting-fileview/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-fileview/Build/build_c.mk b/setting-fileview/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-fileview/Build/build_edc.mk b/setting-fileview/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-fileview/Build/build_po.mk b/setting-fileview/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-fileview/Build/flags.mk b/setting-fileview/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-fileview/Build/funcs.mk b/setting-fileview/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-fileview/Build/makefile b/setting-fileview/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-fileview/Build/makefile.mk b/setting-fileview/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-fileview/Build/platform.mk b/setting-fileview/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-fileview/Build/tooldef.mk b/setting-fileview/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 8f42c7aaaa107739fdbce717e3dc7a18ff71a173..32a978540de984a869502ca319adcdd9a8231794 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-fileview\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-flightmode/Build/appendix.mk b/setting-flightmode/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-flightmode/Build/basedef.mk b/setting-flightmode/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-flightmode/Build/build_c.mk b/setting-flightmode/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-flightmode/Build/build_edc.mk b/setting-flightmode/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-flightmode/Build/build_po.mk b/setting-flightmode/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-flightmode/Build/flags.mk b/setting-flightmode/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-flightmode/Build/funcs.mk b/setting-flightmode/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-flightmode/Build/makefile b/setting-flightmode/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-flightmode/Build/makefile.mk b/setting-flightmode/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-flightmode/Build/platform.mk b/setting-flightmode/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-flightmode/Build/tooldef.mk b/setting-flightmode/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 1cf5f78f7f7d46aa6c4a8c41198a69525d184c7c..f353b54af2f096fbf76c70e31339f8852543bbf5 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-flightmode\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony-client $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-font/Build/appendix.mk b/setting-font/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-font/Build/basedef.mk b/setting-font/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-font/Build/build_c.mk b/setting-font/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-font/Build/build_edc.mk b/setting-font/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-font/Build/build_po.mk b/setting-font/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-font/Build/flags.mk b/setting-font/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-font/Build/funcs.mk b/setting-font/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-font/Build/makefile b/setting-font/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-font/Build/makefile.mk b/setting-font/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-font/Build/platform.mk b/setting-font/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-font/Build/tooldef.mk b/setting-font/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index c6d7087df77816fe872bb8cc1e829942db539900..b0bb005bb4b2dd21d6090798ea0ea4998799da7f 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-font\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 5ddee39cc0c6aa7343b0a8aafe8d9d8a4222b4ba..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
diff --git a/setting-language-and-input/Build/appendix.mk b/setting-language-and-input/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-language-and-input/Build/basedef.mk b/setting-language-and-input/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-language-and-input/Build/build_c.mk b/setting-language-and-input/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-language-and-input/Build/build_edc.mk b/setting-language-and-input/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-language-and-input/Build/build_po.mk b/setting-language-and-input/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-language-and-input/Build/flags.mk b/setting-language-and-input/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-language-and-input/Build/funcs.mk b/setting-language-and-input/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-language-and-input/Build/makefile b/setting-language-and-input/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-language-and-input/Build/makefile.mk b/setting-language-and-input/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-language-and-input/Build/platform.mk b/setting-language-and-input/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-language-and-input/Build/tooldef.mk b/setting-language-and-input/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 0df1f8bf248ddb375cc788ad9687fa28f0553f61..52c3c5c047644fe32c6b7f03d35a5932e2a2b6dc 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-language-and-input\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony-client $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-license/Build/appendix.mk b/setting-license/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-license/Build/basedef.mk b/setting-license/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-license/Build/build_c.mk b/setting-license/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-license/Build/build_edc.mk b/setting-license/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-license/Build/build_po.mk b/setting-license/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-license/Build/flags.mk b/setting-license/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-license/Build/funcs.mk b/setting-license/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-license/Build/makefile b/setting-license/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-license/Build/makefile.mk b/setting-license/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-license/Build/platform.mk b/setting-license/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-license/Build/tooldef.mk b/setting-license/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 7141b78e347f6acd8a24e8f587baa0b454284489..d5d0840418b80dd75702a4c7560cefea1fe01a1f 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-license\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
diff --git a/setting-locktype/Build/appendix.mk b/setting-locktype/Build/appendix.mk
new file mode 100644 (file)
index 0000000..2e06c34
--- /dev/null
@@ -0,0 +1 @@
+# Appendix\r
diff --git a/setting-locktype/Build/basedef.mk b/setting-locktype/Build/basedef.mk
new file mode 100644 (file)
index 0000000..e2646b7
--- /dev/null
@@ -0,0 +1,34 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+
+OS_NAME := $(shell $(UNAME))
+
+
+#ifeq ($(origin BUILD_CONFIG), undefined)
+BUILD_CONFIG ?= Release
+#endif
+
+#ifeq ($(origin ARCH), undefined)
+ARCH ?= i386
+#endif
+
+#ifeq ($(origin PROJPATH), undefined)
+PROJPATH ?= .
+#endif
+
+
+#ifeq ($(origin PROJ_PATH), undefined)
+PROJ_PATH ?= $(PROJPATH)
+#endif
+
+#ifeq ($(strip $(OUTPUT_DIR)),)
+#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG)
+#endif
+
+#ifeq ($(strip $(BUILD_ARCH)),)
+BUILD_ARCH ?= $(ARCH)
+#endif
+
+#ifeq ($(strip $(ENVENTOR_PATH)),)
+ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor
+#endif
diff --git a/setting-locktype/Build/build_c.mk b/setting-locktype/Build/build_c.mk
new file mode 100644 (file)
index 0000000..5fffeea
--- /dev/null
@@ -0,0 +1,113 @@
+# C/C++ build script
+
+
+_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2))
+_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c)
+_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - C/C++ soruce file
+#  $(2) - output path
+#  $(3) - .ext
+#  $(4) - unique id
+CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1))))
+
+#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c)
+#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp)
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - ext title (C/C++)
+#  $(4) - ext (c/cpp)
+#  $(5) - compiler ($(CC)/$(CXX))
+#  $(6) - build opt
+#  $(7) - build opt file
+# output :
+#  $(8) - output files list
+define C_BUILD_PROC_RAW
+$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7)
+       @echo '  Building file: $$<'
+       @echo '  Invoking: $(3) Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7)
+       @echo '  Finished building: $$<'
+$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - inc paths
+#  $(4) - inc files
+#  $(5) - Defs
+#  $(6) - UnDefs
+#  $(7) - compiler opt
+#  $(8) - compiler opt file
+#  $(9) - ext title (C/C++)
+#  $(10) - ext (c/cpp)
+#  $(11) - compiler ($(CC)/$(CXX))
+# output :
+#  $(12) - OBJS
+# return :
+#  none
+define C_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)#
+_INCS := $(3)#
+_INC_FILES := $(4)#
+_DEFS := $(5)#
+_UNDEFS := $(6)#
+
+_OPT := $(7)
+_OPT_FILE := $(8)
+
+_EXT_TITLE := $(9)
+_EXT := $(10)
+_COMPILER := $(11)
+
+#_OUTPUT_FILES := $(12)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS))
+_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS))
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS))
+
+_CDEFS := $$(CDEFS)
+_CDEFS += $$(addprefix -D,$$(_DEFS))
+_CDEFS += $$(addprefix -U,$$(_UNDEFS))
+
+_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS))
+_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS))
+
+_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES))
+_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES))
+
+_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES))
+
+_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT)
+
+_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM)))
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+
+endef
diff --git a/setting-locktype/Build/build_edc.mk b/setting-locktype/Build/build_edc.mk
new file mode 100644 (file)
index 0000000..6f85fdd
--- /dev/null
@@ -0,0 +1,81 @@
+# EDC build script
+
+
+FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - build opt
+# output :
+#  $(4) - output files list
+define EDJ_BUILD_PROC_RAW
+$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: EDC Resource Compiler'
+       $$(call MAKEDIRS,$$(@D))
+       $$(EDJE_CC) $(3) "$$<" "$$@"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2))
+endef
+
+
+# parameter :
+#  $(1) - output paths
+#  $(2) - src paths
+#  $(3) - image inc paths
+#  $(4) - sound inc paths
+#  $(5) - font inc paths
+# output :
+#  $(6) - OBJS 
+# return :
+#  none
+define EDJ_PROC_RAW
+
+_OUTPUT_DIR := $$(strip $(1))#
+_SRCS := $(2)# 
+_IMAGE_DIRS := $(3)# 
+_SOUND_DIRS := $(4)# 
+_FONT_DIRS := $(5)# 
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images"
+_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds"
+_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts"
+
+ifneq ($$(strip $$(_IMAGE_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS))
+endif
+ifneq ($$(strip $$(_SOUND_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS))
+endif
+ifneq ($$(strip $$(_FONT_DIRS)),)
+_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS))
+endif
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-locktype/Build/build_po.mk b/setting-locktype/Build/build_po.mk
new file mode 100644 (file)
index 0000000..d88d71a
--- /dev/null
@@ -0,0 +1,64 @@
+# PO build script
+
+
+_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).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)))
+
+
+# parameter :
+#  $(1) - encoded one C/C++ soruce file
+#  $(2) - output path
+#  $(3) - app name
+# output :
+#  $(4) - output files list
+define MO_BUILD_PROC_RAW
+$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1))
+       @echo '  Building file: $$<'
+       @echo '  Invoking: msgfmt String Formatter'
+       $$(call MAKEDIRS,$$(@D))
+       $$(MSGFMT) -o "$$@" "$$<"
+       @echo '  Finished building: $$<'
+$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3))
+endef
+
+# parameter :
+#  $(1) - output dir
+#  $(2) - src paths
+#  $(3) - app name
+# output :
+#  $(4) - OBJS 
+
+define MO_PROC_RAW
+
+_OUTPUT_DIR := $(1)
+_SRCS := $(2)
+_APPNAME := $(3)
+
+ifneq ($$(strip $$(_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) 
+
+_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS))
+_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS))
+
+_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \
+             $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var))))
+
+ifneq ($$(strip $$(_ALL_SRCS)),)
+
+_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) 
+
+$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4))))
+
+endif  # (_(strip _(_ALL_SRCS)),)
+
+endif  # (_(strip _(_SRCS)),)
+
+endef
diff --git a/setting-locktype/Build/flags.mk b/setting-locktype/Build/flags.mk
new file mode 100644 (file)
index 0000000..422ce2a
--- /dev/null
@@ -0,0 +1,24 @@
+
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
+
+OPTIMIZATION_OP = -O0 
+CPP_OPTIMIZATION_OP = 
+
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
+
+CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
+
+LINK_FLAGS = 
+
+ifeq ($(STRIP_INFO),off)
+LINK_FLAGS = 
+else
+ifeq ($(STRIP_INFO),on)
+LINK_FLAGS = -s
+endif
+endif
+
+AR_FLAGS = 
+
+EDC_COMPILE_FLAGS = 
\ No newline at end of file
diff --git a/setting-locktype/Build/funcs.mk b/setting-locktype/Build/funcs.mk
new file mode 100644 (file)
index 0000000..3ba778b
--- /dev/null
@@ -0,0 +1,50 @@
+
+BSLASH := \\#
+NULL_CHAR := #
+SPACE := \ #
+COLON := :#
+DOTDOT := ..#
+SPACE_ESC := &sp;#
+COLON_ESC := &co;#
+SPACE_OUT := ~sp~#
+COLON_OUT := ~co~#
+DOTDOT_OUT := ~dtdt~#
+
+BSLASH2SLASH = $(subst $(BSLASH),/,$(1))
+
+REMOVE_TAIL = $(patsubst %/,%,$(1))
+
+#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4))
+LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z])
+
+#ifneq ($(findstring Windows,$(OS)),)
+# ...
+#endif
+
+FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///')
+
+FIND_FILES_ABS = $(shell $(FIND) $(1))
+FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+
+FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g')
+
+#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g')
+#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g')
+ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1)))
+DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1)))
+ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1))
+DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1))
+
+CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1))))
+CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1))))
+
+PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1)))
+define MAKEDIRS0
+       @echo '  Building directory: $(1)'
+       @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1))
+endef
+MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0)
diff --git a/setting-locktype/Build/makefile b/setting-locktype/Build/makefile
new file mode 100644 (file)
index 0000000..117b240
--- /dev/null
@@ -0,0 +1,34 @@
+# 
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root> 
+#
+BUILD_SCRIPT_VERSION := 1.1.0
+
+.PHONY : app_version app_build app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+#PROJ_ROOT = .
+#BUILD_ROOT := $(PROJ_PATH)/Build#
+
+ifeq ($(MAKE_NAME),mingw32-make)
+ifneq ($(SHELL),)
+OPTIONS += --eval="SHELL=$(SHELL)"
+endif
+endif
+
+app_build :
+       @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
+       @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
+
+app_clean :
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
+
+build_version :
+       @echo makefile : $(BUILD_SCRIPT_VERSION)
+       @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
diff --git a/setting-locktype/Build/makefile.mk b/setting-locktype/Build/makefile.mk
new file mode 100644 (file)
index 0000000..ffe7594
--- /dev/null
@@ -0,0 +1,218 @@
+#
+# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
+#
+
+BUILD_SCRIPT_VERSION := 1.2.3
+
+.PHONY : app_version app_clean build_version
+
+
+all : app_build
+
+clean : app_clean
+
+version : build_version
+
+_BLANK :=#
+_SPACE := $(_BLANK) $(_BLANK)#
+_SPACE_4MAKE := \$(_SPACE)#
+
+NULL_CHAR :=#
+SPACE := $(NULL_CHAR) $(NULL_CHAR)#
+
+PROJ_ROOT := .
+_PROJ_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(PROJ_ROOT))#
+PROJ_ROOT=$(_PROJ_ROOT_4MAKE)
+_BUILD_ROOT_4MAKE := $(subst $(_SPACE),$(_SPACE_4MAKE),$(BUILD_ROOT))#
+BUILD_ROOT=$(_BUILD_ROOT_4MAKE)
+
+include $(BUILD_ROOT)/basedef.mk
+
+include $(PROJ_ROOT)/project_def.prop
+-include $(PROJ_ROOT)/build_def.prop
+
+include $(BUILD_ROOT)/funcs.mk
+
+-include $(BUILD_ROOT)/tooldef.mk
+-include $(BUILD_ROOT)/flags.mk
+-include $(BUILD_ROOT)/platform.mk
+
+
+APPTYPE := $(type)
+
+OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG)
+OBJ_OUTPUT := $(OUTPUT_DIR)/objs
+
+LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME))
+APPID2 := $(subst $(basename $(APPID)).,,$(APPID))
+
+ifeq ($(strip $(APPTYPE)),app)
+APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME)
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so
+endif
+
+ifneq ($(strip $(PLATFORM_INCS)),)
+PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc
+endif
+
+ifneq ($(strip $(RS_LIBRARIES)),)
+RS_LIBRARIES_FILE := $(OBJ_OUTPUT)/platform_libs.file
+endif
+
+OBJS_FILE := $(OBJ_OUTPUT)/target_objs.file
+
+include $(BUILD_ROOT)/build_c.mk
+
+
+ifeq ($(strip $(APPTYPE)),app)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+EXT_OP := -fPIE
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+EXT_OP := -fPIC
+endif
+
+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 := #
+
+# Global C/C++
+ifeq ($(strip $(USER_ROOT)),)
+USER_ROOT := $(PROJ_ROOT)
+endif
+$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))
+$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),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),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))))
+endif
+
+
+ifneq ($(strip $(USER_LIB_DIRS)),)
+_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS))
+_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS))
+LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS))
+endif
+
+LIBS += $(addprefix -l,$(USER_LIBS))
+
+UOBJS += $(USER_OBJS)
+
+M_OPT = -MMD -MP -MF"$(@:%.o=%.d)"
+
+DEPS := $(OBJS:.o=.d)
+
+ifneq ($(strip $(DEPS)),)
+-include $(PROJ_ROOT)/Build/$(DEPS)
+endif
+
+# create platform_libs_files.lib to pass the libraries to ld
+$(RS_LIBRARIES_FILE) :
+       @echo $(RS_LIBRARIES) > $@
+
+# create objs_file.obj to pass the obj files to ld or ar
+$(OBJS_FILE) : $(OBJS)
+       @echo $(OBJS) > $@
+
+ifeq ($(strip $(APPTYPE)),app)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) -Xlinker -rpath='$$ORIGIN/../lib' -Werror-implicit-function-declaration $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),staticLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS)
+       @echo '  Building target: $@'
+       @echo '  Invoking: Archive utility'
+       $(call MAKEDIRS,$(@D))
+       $(AR) -r $(APPFILE) @$(OBJS_FILE) $(AR_FLAGS) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+ifeq ($(strip $(APPTYPE)),sharedLib)
+$(APPFILE) : $(OBJS_FILE) $(UOBJS) $(RS_LIBRARIES_FILE)
+       @echo '  Building target: $@'
+       @echo '  Invoking: C/C++ Linker'
+       $(call MAKEDIRS,$(@D))
+       $(CXX) -o $(APPFILE) @$(OBJS_FILE) $(UOBJS) $(LIBS) $(LIBPATHS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -Xlinker --as-needed -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) @$(RS_LIBRARIES_FILE) $(USER_LINK_OPTS)
+       @echo '  Finished building target: $@'
+endif
+
+
+$(OBJ_OUTPUT) :
+       $(call MAKEDIRS,$@)
+
+$(OUTPUT_DIR) :
+       $(call MAKEDIRS,$@)
+
+
+#ifneq ($(strip $(PLATFORM_INCS)),)
+#$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT)
+#      @echo '  Building inc file: $@'
+#ifneq ($(findstring Windows,$(OS)),)
+#ifneq ($(findstring 3.82,$(MAKE_VERSION)),)
+#      $(file > $@,$(PLATFORM_INCS))
+#else
+#      @echo $(PLATFORM_INCS) > $@
+#endif
+#else
+#      @echo '$(PLATFORM_INCS)' > $@
+#endif
+#endif
+
+
+include $(BUILD_ROOT)/build_edc.mk
+
+#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),)
+ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor
+#endif
+
+EDJ_FILES :=
+
+# Global EDCs
+ifneq ($(strip $(USER_EDCS)),)
+$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES))
+endif
+
+# Individual EDCs
+ifneq ($(strip $(USER_EXT_EDC_KEYS)),)
+$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES)))
+endif
+
+
+include $(BUILD_ROOT)/build_po.mk
+
+MO_FILES :=
+
+# Global POs
+ifneq ($(strip $(USER_POS)),)
+$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES))
+endif
+
+
+secondary-outputs : $(EDJ_FILES) $(MO_FILES)
+
+-include appendix.mk
+
+app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs
+       @echo ========= done =========
+
+
+app_clean :
+       rm -f $(APPFILE)
+       rm -rf $(OUTPUT_DIR)
+
+build_version :
+       @echo makefile.mk : $(BUILD_SCRIPT_VERSION)
\ No newline at end of file
diff --git a/setting-locktype/Build/platform.mk b/setting-locktype/Build/platform.mk
new file mode 100644 (file)
index 0000000..77c3ab0
--- /dev/null
@@ -0,0 +1,17 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+SYSROOT = $(SBI_SYSROOT)
+
+#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
+USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
+USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))
+
+ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
+RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
+else
+RS_LIB_PATHS := $(addprefix -L,$(PLATFORM_LIB_PATHS))
+endif
+
+RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
+
+PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"
diff --git a/setting-locktype/Build/tooldef.mk b/setting-locktype/Build/tooldef.mk
new file mode 100644 (file)
index 0000000..c62243c
--- /dev/null
@@ -0,0 +1,70 @@
+# Add inputs and outputs from these tool invocations to the build variables
+
+ifneq ($(strip $(SHELL_BIN)),)
+SHELL = $(SHELL_BIN)
+else
+SHELL = sh
+endif
+
+ifneq ($(strip $(MKDIR_BIN)),)
+MKDIR = $(MKDIR_BIN)
+MKDIR_OP = -p
+else
+MKDIR = mkdir
+MKDIR_OP = -p
+endif
+
+ifneq ($(strip $(UNAME_BIN)),)
+UNAME = $(UNAME_BIN)
+else
+UNAME = uname
+endif
+
+ifneq ($(strip $(M4_BIN)),)
+M4 = $(M4_BIN)
+else
+M4 = m4
+endif
+
+ifneq ($(strip $(TR_BIN)),)
+TR = $(TR_BIN)
+else
+TR = tr
+endif
+
+ifneq ($(strip $(FIND_BIN)),)
+FIND = $(FIND_BIN)
+else
+FIND = find
+endif
+
+ifneq ($(strip $(SED_BIN)),)
+SED = $(SED_BIN)
+else
+SED = sed
+endif
+
+ifneq ($(strip $(GREP_BIN)),)
+GREP = $(GREP_BIN)
+else
+GREP = grep
+endif
+
+ifneq ($(strip $(EDJE_CC_BIN)),)
+EDJE_CC = $(EDJE_CC_BIN)
+else
+EDJE_CC = edje_cc
+endif
+
+ifneq ($(strip $(MSGFMT_BIN)),)
+MSGFMT = $(MSGFMT_BIN)
+else
+MSGFMT = msgfmt
+endif
+
+ifneq ($(strip $(CKSUM_BIN)),)
+CKSUM = $(CKSUM_BIN)
+else
+CKSUM = cksum
+endif
+
index 3bb8869f4ae6ce3fd38ecc18f9b2a23ce96b906e..1eebaec35855a131022b431c057f86cb2ac0d4ce 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-locktype\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/auth-fw $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 81570db499eec99322b2c061a7049eeba2fa896b..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/SA_Report/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 075cdcb0e422e72f3fa51ce9e7aef27a6a7a5337..7455f782f574654f012e0b44b0573f911ed82e8e 100644 (file)
@@ -15,10 +15,10 @@ USER_SRCS = src/setting.c src/setting-main.c
 USER_EDCS =  
 
 # PO Sources
-USER_POS = res/po/de.po res/po/fi.po res/po/en_GB.po res/po/en_US.po res/po/zh_HK.po res/po/es_ES.po res/po/bg.po res/po/zh_TW.po res/po/cs.po res/po/fr_CA.po res/po/hr.po res/po/pl.po res/po/uk.po res/po/gl.po res/po/hy.po res/po/ro.po res/po/es_US.po res/po/lt.po res/po/nb.po res/po/sl.po res/po/ja_JP.po res/po/et.po res/po/fr.po res/po/sk.po res/po/az.po res/po/ga.po res/po/lv.po res/po/it_IT.po res/po/eu.po res/po/kk.po res/po/ru_RU.po res/po/el_GR.po res/po/pt_BR.po res/po/sv.po res/po/uz.po res/po/zh_CN.po res/po/ko_KR.po res/po/is.po res/po/ka.po res/po/da.po res/po/en.po res/po/en_PH.po res/po/mk.po res/po/tr_TR.po res/po/ca.po res/po/nl.po res/po/pt_PT.po res/po/sr.po res/po/ar.po res/po/hu.po 
+USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-profile-common/inc $(workspace_loc)/setting-smartmanager/inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-profile-common/inc $(workspace_loc)/setting-smartmanager/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-profile-common/inc $(workspace_loc)/setting-smartmanager/inc $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-profile-common/Release $(workspace_loc)/setting-smartmanager/Release $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-profile-common/Debug $(workspace_loc)/setting-smartmanager/Debug $(workspace_loc)/setting-common/Debug 
+USER_LIB_DIRS = $(workspace_loc)/setting-profile-common/$(BUILD_CONFIG) $(workspace_loc)/setting-smartmanager/$(BUILD_CONFIG) $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index b95427e7dd00a764d774611d19634276cfbda7a7..7ce233a00108da2de14df9ec1b8955c078e6657d 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-network\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony-client /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/call-manager $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 3ece68cc15501a73441e73ef4fc92760725c027c..357e07b8dc62fc8c35a956c73d7994217c060ee8 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-password\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony-client /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/auth-fw $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 0114c95efa06452de42291c0504162d5335c27bd..53f2933247697b52fa67a0e86932cc362be09636 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"org.tizen.setting-privacy\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index e085110c849d7ca6c7deee7f27a085183e158ed7..7999c8794d86e53d83b7372fc6140fffcaa6d1f2 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s -shared -Wl,--no-undefined 
+LINK_FLAGS = -shared -Wl,--no-undefined 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 33e6c4d1f007f35458fe3753937baa7968ea5e85..620e37bf6ca8fa547ff606b6eee1f0d64658f66c 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -26,14 +26,14 @@ USER_UNDEFS =
 USER_CPP_UNDEFS = 
 
 # User Libraries
-USER_LIBS = setting-common 
+USER_LIBS = setting-common vconf setting-common 
 
 # User Objects
 USER_OBJS = 
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/call-manager $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 0a1cdfea51a2d972981a666977642ed2d2b48177..43eeb721af3e447d61cd765360f5f391158ee53c 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-profile\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-profile-common/inc 
+USER_C_INC_DIRS = /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/call-manager $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-profile-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-profile-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-profile-common/Release $(workspace_loc)/setting-common/Debug $(workspace_loc)/setting-profile-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) $(workspace_loc)/setting-profile-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 31b96f142736ea20ebf6d87af7bc8fcbe75ccbb0..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
-/res/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 8cbb527f4831732faccf4b48f51b12d50d764af4..e1307788473855a19f2098bafe7ad31650322070 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-ringtone\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/call-manager $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 55cefc151da24144584708ebfa18d7cf46288778..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,6 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/res/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index e085110c849d7ca6c7deee7f27a085183e158ed7..7999c8794d86e53d83b7372fc6140fffcaa6d1f2 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s -shared -Wl,--no-undefined 
+LINK_FLAGS = -shared -Wl,--no-undefined 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 3ca061d0e086491689260779e81271c6573bf17b..78b46b27a97eb71ebf8ac7f6740f1dc107b8d180 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING "PACKAGE=\"\"" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 5ddee39cc0c6aa7343b0a8aafe8d9d8a4222b4ba..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 1d316a6059f2bcd0f3d244d8300584d1b2f77728..20785019d5ff2857b9a1d34e67aa6a5fa20102d7 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-storage\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/deviced /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/aul /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 5ddee39cc0c6aa7343b0a8aafe8d9d8a4222b4ba..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 3fbbd36e8f447114447ae2f16623bba7338aa83b..148b96ce53ac6b557300d69ad07826d2e8f4b26b 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-time\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/deviced /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-common/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc 
@@ -42,10 +42,10 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-common/Debug
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) 
 
 # EDC Resource Path
-USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images 
+USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images res/images 
 USER_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds 
 USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts 
 
@@ -53,7 +53,7 @@ USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts
 USER_EXT_EDC_KEYS = EDC0 
 
 USER_EXT_EDC0_EDCS = res/edje/gl-item-entry-main.edc 
-USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images 
+USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images res/images 
 USER_EXT_EDC0_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds 
 USER_EXT_EDC0_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts 
 
index 0626b2f046b4d4a5422d899cd4f41789477c6b11..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,3 +1,4 @@
 /Debug/
-/SA_Report/
 /Release/
+/SA_Report/
+/crash-info/
index a762983068f2597282350bd7d10d11e42e954bc8..e2646b7b0e0d8fb09ebc45ec1a0d0da60aeade1c 100644 (file)
@@ -5,7 +5,7 @@ OS_NAME := $(shell $(UNAME))
 
 
 #ifeq ($(origin BUILD_CONFIG), undefined)
-BUILD_CONFIG ?= Debug
+BUILD_CONFIG ?= Release
 #endif
 
 #ifeq ($(origin ARCH), undefined)
index 9035eeaa2ef394c41e51db20f617a6f452dcc4cd..2a4686fcce40fe82899d1ea95ff25d2515ab9541 100644 (file)
@@ -42,7 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = lib $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-profile-common/Release $(workspace_loc)/setting-common/Debug $(workspace_loc)/setting-profile-common/Debug
+USER_LIB_DIRS = lib $(workspace_loc)/setting-common/$(BUILD_CONFIG) $(workspace_loc)/setting-profile-common/$(BUILD_CONFIG)
 
 
 # EDC Resource Path
index 55cefc151da24144584708ebfa18d7cf46288778..01415837f4746677c28c9c0f02f301439294552a 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/Build/
 /SA_Report/
 /crash-info/
 /res/
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index 847fb52328e21cb331ebb9b6a4d55160bf0e5863..b129faa9d64aefb0a780f13a2df074fd0c8dc32c 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-battery\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include $(workspace_loc)/setting-smartmanager/inc $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
@@ -42,8 +42,7 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-smartmanager/Release $(workspace_loc)/setting-common/Debug $(workspace_loc)/setting-smartmanager/Debug
-
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) $(workspace_loc)/setting-smartmanager/$(BUILD_CONFIG) 
 
 # EDC Resource Path
 USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} 
index 5ddee39cc0c6aa7343b0a8aafe8d9d8a4222b4ba..3fbef45afcf1a5ab4c82a0f0fd6f500c8ce9dbfd 100644 (file)
@@ -1,5 +1,4 @@
 /Debug/
-/Build/
+/Release/
 /SA_Report/
 /crash-info/
-/Release/
index b15a358fb9bdc001f5cef80f91d60596a8bdff1c..422ce2aa0a5ed9c43cae32cb9fb91a85fe216a4f 100644 (file)
@@ -1,15 +1,15 @@
 
-DEBUG_OP = 
-CPP_DEBUG_OP = 
+DEBUG_OP = -g3 -D_DEBUG 
+CPP_DEBUG_OP = -D_DEBUG 
 
-OPTIMIZATION_OP = -O3 
+OPTIMIZATION_OP = -O0 
 CPP_OPTIMIZATION_OP = 
 
 COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 
 
 CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) 
 
-LINK_FLAGS = -s 
+LINK_FLAGS = 
 
 ifeq ($(STRIP_INFO),off)
 LINK_FLAGS = 
index e4dd61620043e7418c5204f6313a2a0d1db1238e..818df06ef19612d88012aaa2165b73425c3a6b9c 100644 (file)
@@ -18,7 +18,7 @@ USER_EDCS =
 USER_POS = 
 
 # User Defines
-USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING 
+USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING PACKAGE=\"org.tizen.setting-data\" 
 USER_CPP_DEFS = 
 
 # User Undefines
@@ -33,7 +33,7 @@ USER_OBJS =
 
 # User Includes
 ## C Compiler
-USER_C_INC_DIRS = inc $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
+USER_C_INC_DIRS = inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vconf $(workspace_loc)/setting-common/inc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/libxml2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appcore-agent /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/appfw /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/asp/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/attach-panel /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/badge /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/base /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cairo /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/calendar-service2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/cbhm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/chromium-ewk /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ckm /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/contacts-svc /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/context-service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/csr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dali-toolkit /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dbus-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/device /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/dlog /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-buffer-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-con-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-file-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-imf-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-input-evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ecore-ipc-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ector-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/e_dbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/edje-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efl-extension /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/efreet-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eina-1/eina /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eio-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eldbus-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/elementary-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/embryo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/emile-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eo-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/eom /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ethumb-client-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/evas-1 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/feedback /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/fontconfig /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/freetype2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/geofence /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/gio-unix-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/glib-2.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/harfbuzz /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/iotcon /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/json-glib-1.0 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/location /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/maps /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/media-content /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/messaging /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/metadata-editor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minicontrol /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/minizip /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/network /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/notification /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/nsd/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/phonenumber-utils /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/privacy-privilege-manager/ /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/SDL2 /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/sensor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/service-adaptor /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/shortcut /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/storage /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/system /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tef /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/telephony /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/tzsh /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/ui-viewmgr /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/vulkan /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/web /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_service /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_dali /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/widget_viewer_evas /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/wifi-direct /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/include/yaca /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/dbus-1.0/include /home/l.stanislaws/tizen-studio/tools/smart-build-interface/../../platforms/tizen-5.0/mobile/rootstraps/mobile-5.0-device.core.private/usr/lib/glib-2.0/include $(workspace_loc)/setting-smartmanager/inc $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
 USER_INC_FILES = 
 ## C++ Compiler
 USER_CPP_INC_DIRS = $(workspace_loc)/setting-common/inc $(workspace_loc)/setting-smartmanager/inc 
@@ -42,11 +42,10 @@ USER_CPP_INC_FILES =
 USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS)
 
 # User Library Path
-USER_LIB_DIRS = $(workspace_loc)/setting-common/Release $(workspace_loc)/setting-smartmanager/Release $(workspace_loc)/setting-common/Debug $(workspace_loc)/setting-smartmanager/Debug
-
+USER_LIB_DIRS = $(workspace_loc)/setting-common/$(BUILD_CONFIG) $(workspace_loc)/setting-smartmanager/$(BUILD_CONFIG) 
 
 # EDC Resource Path
-USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images 
+USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images res/images 
 USER_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds 
 USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts 
 
@@ -54,7 +53,7 @@ USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts
 USER_EXT_EDC_KEYS = EDC0 
 
 USER_EXT_EDC0_EDCS = res/edje/genlist_item_mobile_data_usage.edc 
-USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images 
+USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images res/images 
 USER_EXT_EDC0_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds 
 USER_EXT_EDC0_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts