From 01c5e898fdfb2dc71fec1b2082ca186e24616a6d Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Thu, 29 Jan 2015 13:12:25 +0900 Subject: [PATCH] Move internal header to src directory use quotes instead of angle brackets to include app-manager headers Change-Id: Ie0771e85d328ba931c9c29cda6b786cdf6de71f5 Signed-off-by: Sangyoon Jang --- CMakeLists.txt | 7 +------ src/app_context.c | 6 +++--- src/app_info.c | 6 +++--- src/app_manager.c | 4 ++-- {include => src}/app_manager_internal.h | 0 5 files changed, 9 insertions(+), 14 deletions(-) rename {include => src}/app_manager_internal.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e032fc..d938740 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,12 +44,7 @@ SET_TARGET_PROPERTIES(${fw_name} ) INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR}) -INSTALL( - DIRECTORY ${INC_DIR}/ DESTINATION include/appfw - FILES_MATCHING - PATTERN "*_private.h" EXCLUDE - PATTERN "${INC_DIR}/*.h" - ) +INSTALL(DIRECTORY ${INC_DIR}/ DESTINATION include/appfw) SET(PC_NAME ${fw_name}) SET(PC_REQUIRED ${pc_requires}) diff --git a/src/app_context.c b/src/app_context.c index bbdc980..65bc80b 100755 --- a/src/app_context.c +++ b/src/app_context.c @@ -26,9 +26,9 @@ #include #include -#include -#include -#include +#include "app_context.h" +#include "app_manager.h" +#include "app_manager_internal.h" #ifdef LOG_TAG #undef LOG_TAG diff --git a/src/app_info.c b/src/app_info.c index cdd0304..9da7057 100755 --- a/src/app_info.c +++ b/src/app_info.c @@ -24,9 +24,9 @@ #include #include -#include -#include -#include +#include "app_info.h" +#include "app_manager.h" +#include "app_manager_internal.h" #ifdef LOG_TAG #undef LOG_TAG diff --git a/src/app_manager.c b/src/app_manager.c index 11f1343..6e38647 100755 --- a/src/app_manager.c +++ b/src/app_manager.c @@ -23,8 +23,8 @@ #include #include -#include -#include +#include "app_manager.h" +#include "app_manager_internal.h" #ifdef LOG_TAG #undef LOG_TAG diff --git a/include/app_manager_internal.h b/src/app_manager_internal.h similarity index 100% rename from include/app_manager_internal.h rename to src/app_manager_internal.h -- 2.7.4