modify service name. livebox -> appwidget
[platform/framework/native/appwidget-service.git] / CMakeLists.txt
index 0f632ec..e1587e1 100644 (file)
@@ -1,6 +1,6 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 
-SET (this_target osp-livebox-service)
+SET (this_target osp-appwidget-service)
 SET (PACKAGEID gi2qxenosh)
 
 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")
@@ -19,18 +19,19 @@ INCLUDE_DIRECTORIES (
        /usr/include/osp/system
        /usr/include/osp/security
        /usr/include/osp/shell
+       /usr/include/osp/server
        /usr/include/chromium
        inc
        )
 
 SET (${this_target}_SOURCE_FILES
-       src/OspLiveboxService.cpp
-       src/OspLiveboxServiceEntry.cpp
-       src/FShell_LiveboxContext.cpp
-       src/FShell_LiveboxContextBase.cpp
-       src/FShell_LiveboxManagerService.cpp
-       src/FShell_LiveboxManagerStub.cpp
-       src/FShell_LiveboxPopupContext.cpp
+       src/OspAppWidgetService.cpp
+       src/OspAppWidgetServiceEntry.cpp
+       src/FShell_AppWidgetContext.cpp
+       src/FShell_AppWidgetContextBase.cpp
+       src/FShell_AppWidgetManagerService.cpp
+       src/FShell_AppWidgetManagerStub.cpp
+       src/FShell_AppWidgetPopupContext.cpp
        )
 
 ## SET EXTRA COMPILER FLAGS
@@ -44,12 +45,18 @@ SET(CMAKE_C_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_
 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
 SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
 
+SET(CMAKE_SKIP_BUILD_RPATH FALSE)
+SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+SET(CMAKE_INSTALL_RPATH "/usr/lib/osp-server")
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
+
 ## Create Library
 ADD_EXECUTABLE (${this_target} ${${this_target}_SOURCE_FILES})
 
 TARGET_LINK_LIBRARIES(${this_target} -Xlinker --no-undefined -Xlinker --as-needed -pie)
 TARGET_LINK_LIBRARIES(${this_target} -Xlinker --version-script=${CMAKE_CURRENT_SOURCE_DIR}/system-service-export.ver)
 TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lchromium -lprovider -losp-shell -lbundle")
+TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp-server -losp-appfw-server")
 
 
 ## Cory additional info