diff options
author | Vitezslav Crhonek <vcrhonek@redhat.com> | 2014-04-08 12:31:36 +0200 |
---|---|---|
committer | Vitezslav Crhonek <vcrhonek@redhat.com> | 2014-04-08 12:31:36 +0200 |
commit | 5f780e8c3e4de8866af4a71e22b956533ffca9ca (patch) | |
tree | 47ea4d9acd8fb18e0535d3928f2fbeb965620bbd /src/service/CMakeLists.txt | |
parent | 0a787ccd00a0de14940c347a368c2bee3b60c6f9 (diff) | |
download | openlmi-providers-5f780e8c3e4de8866af4a71e22b956533ffca9ca.tar.gz openlmi-providers-5f780e8c3e4de8866af4a71e22b956533ffca9ca.tar.xz openlmi-providers-5f780e8c3e4de8866af4a71e22b956533ffca9ca.zip |
Service (non d-bus): Use mkstemp instead of mktemp and minor updates
Diffstat (limited to 'src/service/CMakeLists.txt')
-rw-r--r-- | src/service/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt index 34d766e..11ac5c8 100644 --- a/src/service/CMakeLists.txt +++ b/src/service/CMakeLists.txt @@ -2,6 +2,7 @@ set(PROVIDER_NAME Service) set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF 60_LMI_Service.mof) +set(CIMPROVAGT_SCRIPT cmpiLMI_${PROVIDER_NAME}-cimprovagt) set(provider_SRCS util/serviceutil.c @@ -10,6 +11,7 @@ set(provider_SRCS konkretcmpi_generate(${MOF} CIM_PROVIDERS CIM_HEADERS + CIM_CLASSES ) add_library(${LIBRARY_NAME} SHARED @@ -24,6 +26,10 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES}) # Create registration file cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) -install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION libexec) +set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Service_Profile.mof") +profile_mof_generate("90_LMI_Service_Profile.mof.skel" "${TARGET_MOF}" "LMI_Service") +install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION libexec) +install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus) install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi) +install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/) |