diff options
Diffstat (limited to 'src/account')
-rw-r--r-- | src/account/90_LMI_Account_Profile.mof.skel | 28 | ||||
-rw-r--r-- | src/account/CMakeLists.txt | 11 |
2 files changed, 39 insertions, 0 deletions
diff --git a/src/account/90_LMI_Account_Profile.mof.skel b/src/account/90_LMI_Account_Profile.mof.skel new file mode 100644 index 0000000..ff0bdee --- /dev/null +++ b/src/account/90_LMI_Account_Profile.mof.skel @@ -0,0 +1,28 @@ +instance of PG_ProviderProfileCapabilities +{ + CapabilityID = "@CLASS@"; + + ProviderModuleName = "cmpiLMI_Account"; + + ProviderName = "@CLASS@"; + + RegisteredProfile = 0; + + OtherRegisteredProfile = "OpenLMI-Account"; + OtherProfileOrganization = "OpenLMI"; + + ProfileVersion = "0.0.1"; + + RegisteredSubProfiles = { + 3025 + }; + + SubprofileVersions = { + "1.0.1" + }; + + ConformingElements = { + "@CLASS@" + }; +}; + diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt index 61075a1..d839565 100644 --- a/src/account/CMakeLists.txt +++ b/src/account/CMakeLists.txt @@ -30,6 +30,16 @@ add_library(${LIBRARY_NAME} SHARED ${CIM_HEADERS} ) +set(CIM_PROVIDERS_CLASSES "") +foreach(CIM_CLASS ${CIM_CLASSES}) + if(NOT ${CIM_CLASS} MATCHES "Indication") + set(CIM_PROVIDERS_CLASSES ${CIM_PROVIDERS_CLASSES} ${CIM_CLASS}) + endif(NOT ${CIM_CLASS} MATCHES "Indication") +endforeach(CIM_CLASS ${CIM_CLASSES}) + +set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Account_Profile.mof") +profile_mof_generate("90_LMI_Account_Profile.mof.skel" "${TARGET_MOF}" "${CIM_PROVIDERS_CLASSES}") + # Require GLib-2.0 and libuser pkg_check_modules(GLIB REQUIRED glib-2.0) pkg_check_modules(LIBUSER REQUIRED libuser) @@ -43,3 +53,4 @@ cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus) +install(FILES ${TARGET_MOF} DESTINATION share/openlmi/providers/) |