os-cmpi-xen

annotate Makefile.am @ 121:4868ace2726b

Add initial consistence checks in test suite for Xen_MemoryPool, Xen_ProcessorPool and Xen_VirtualSystemManagementService.

Signed-off-by: Luke Szymanski <Lukasz.Szymanski@Unisys.com>
author Jim Fehlig <jfehlig@novell.com>
date Fri Jun 08 10:22:05 2007 -0600 (2007-06-08)
parents 060610260121
children be22f410b2a3
rev   line source
jbulpin@0 1 # =============================================================================
jbulpin@0 2 # (C) Copyright IBM Corp. 2006
jbulpin@0 3 #
jbulpin@0 4 # This library is free software; you can redistribute it and/or
jbulpin@0 5 # modify it under the terms of the GNU Lesser General Public
jbulpin@0 6 # License as published by the Free Software Foundation; either
jbulpin@0 7 # version 2.1 of the License, or (at your option) any later version.
jbulpin@0 8 #
jbulpin@0 9 # This library is distributed in the hope that it will be useful,
jbulpin@0 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
jbulpin@0 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
jbulpin@0 12 # Lesser General Public License for more details.
jbulpin@0 13 #
jbulpin@0 14 # You should have received a copy of the GNU Lesser General Public
jbulpin@0 15 # License along with this library; if not, write to the Free Software
jbulpin@0 16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
jbulpin@0 17 # =============================================================================
jbulpin@0 18 # Author: Dr. Gareth S. Bestor <bestor@us.ibm.com>
jbulpin@0 19 # Contributors: Tokunbo Adeshiyan <tokunbo@us.ibm.com>
jfehlig@25 20 # Jim Fehlig <jfehlig@novell.com>
jfehlig@83 21 # Rajagopalan Subrahmanian <raj.subrahmanian@unisys.com>
jbulpin@0 22 # Description:
jbulpin@0 23 # Automake input file for the CMPI Xen CIM provider.
jbulpin@0 24 # =============================================================================
jbulpin@0 25
jfehlig@17 26 AUTOMAKE_OPTIONS=dist-bzip2
jfehlig@17 27
jbulpin@0 28 # Start with an empty extra distribution file list
jbulpin@0 29 EXTRA_DIST=
jbulpin@0 30
jbulpin@0 31 # Add the RPM spec file to the distribution file list
jbulpin@0 32 EXTRA_DIST+=$(PACKAGE).spec
jbulpin@0 33
jfehlig@32 34 # Remove hg directories when building a distribution package
jbulpin@0 35 dist-hook:
jfehlig@32 36 test -d "$(distdir)" && (find $(distdir) -type d -name .hg | xargs -i rm -rf {})
jbulpin@0 37
jbulpin@0 38
jbulpin@0 39 # -----------------------------------------------------------------------------
jbulpin@0 40 # Automake instructions for documentation
jbulpin@0 41 # -----------------------------------------------------------------------------
jbulpin@0 42
jbulpin@0 43 # MAKE CHANGES HERE TO INSTALL THE DOCUMENTATION FILES FOR YOUR PROVIDER
jbulpin@0 44 # docdir specifies where the documentation will be installed
jfehlig@17 45 docdir=$(datadir)/doc/packages/$(PACKAGE)
jbulpin@0 46
jbulpin@0 47 # Add standard package doc files
jbulpin@0 48 doc_DATA=README AUTHORS COPYING
jbulpin@0 49
jbulpin@0 50 # ADD ANY EXTRA DOCUMENTATION FILES HERE
jfehlig@1 51 #doc_DATA+=README.RPM README.DEBUG
jfehlig@1 52 #EXTRA_DIST+=doc README.RPM README.DEBUG
jbulpin@0 53
jbulpin@0 54
jbulpin@0 55 # -----------------------------------------------------------------------------
jbulpin@0 56 # Automake instructions for source
jbulpin@0 57 # -----------------------------------------------------------------------------
jbulpin@0 58 # MAKE CHANGES HERE TO COMPILE ALL THE SOURCE FILES FOR YOUR PROVIDER
jbulpin@0 59
jbulpin@0 60 # providerdir specifies where provider libraries will be installed.
jbulpin@0 61 # @PROVIDERDIR@ is set by the configure script.
jbulpin@0 62 providerdir=@PROVIDERDIR@
jbulpin@0 63
jfehlig@1 64
jfehlig@12 65 SUBDIRS = src
jfehlig@9 66
jbulpin@0 67 # -----------------------------------------------------------------------------
jbulpin@0 68 # Automake instructions for schema
jbulpin@0 69 # -----------------------------------------------------------------------------
jbulpin@0 70
jbulpin@0 71 # LIST ALL THE CLASS DEFINITION FILES (MOFS) HERE
jfehlig@18 72 XEN_MOFS = \
jbulpin@0 73 schema/Xen_ComputerSystem.mof \
jbulpin@0 74 schema/Xen_HostedComputerSystem.mof \
jfehlig@9 75 schema/Xen_VirtualSystemManagementService.mof \
jfehlig@10 76 schema/Xen_HostedVirtualSystemManagementService.mof \
jbulpin@0 77 schema/Xen_Memory.mof \
jbulpin@0 78 schema/Xen_HostedMemory.mof \
jbulpin@0 79 schema/Xen_ComputerSystemMemory.mof \
jbulpin@0 80 schema/Xen_Processor.mof \
jbulpin@0 81 schema/Xen_ComputerSystemProcessor.mof \
jbulpin@0 82 schema/Xen_Disk.mof \
jbulpin@0 83 schema/Xen_HostedDisk.mof \
jbulpin@0 84 schema/Xen_ComputerSystemDisk.mof \
jbulpin@0 85 schema/Xen_NetworkPort.mof \
jbulpin@0 86 schema/Xen_ComputerSystemNetworkPort.mof \
jfehlig@83 87 schema/Xen_Console.mof \
jfehlig@83 88 schema/Xen_ComputerSystemConsole.mof \
jbulpin@0 89 schema/Xen_ComputerSystemIndication.mof \
jbulpin@0 90 schema/Xen_VirtualizationCapabilities.mof \
jbulpin@0 91 schema/Xen_HasVirtualizationCapabilities.mof \
jbulpin@0 92 schema/Xen_ComputerSystemSettingData.mof \
jbulpin@0 93 schema/Xen_CSElementSettingData.mof \
jfehlig@51 94 schema/Xen_CSSettingsDefineState.mof \
jbulpin@0 95 schema/Xen_ProcessorSettingData.mof \
jfehlig@51 96 schema/Xen_ProcessorSettingsDefineState.mof \
jbulpin@0 97 schema/Xen_ProcessorElementSettingData.mof \
jbulpin@0 98 schema/Xen_MemorySettingData.mof \
jfehlig@51 99 schema/Xen_MemorySettingsDefineState.mof \
jbulpin@0 100 schema/Xen_MemoryElementSettingData.mof \
jbulpin@0 101 schema/Xen_NetworkPortSettingData.mof \
jfehlig@51 102 schema/Xen_NPSettingsDefineState.mof \
jbulpin@0 103 schema/Xen_NetworkPortElementSettingData.mof \
jbulpin@0 104 schema/Xen_DiskSettingData.mof \
jfehlig@51 105 schema/Xen_DiskSettingsDefineState.mof \
jbulpin@0 106 schema/Xen_DiskElementSettingData.mof \
jfehlig@85 107 schema/Xen_ConsoleSettingData.mof \
jbulpin@0 108 schema/Xen_MemoryPool.mof \
jbulpin@0 109 schema/Xen_HostedMemoryPool.mof \
jfehlig@25 110 schema/Xen_MemoryPoolComponent.mof \
jbulpin@0 111 schema/Xen_ProcessorPool.mof \
jbulpin@0 112 schema/Xen_HostedProcessorPool.mof \
jfehlig@24 113 schema/Xen_ProcessorPoolComponent.mof \
jbulpin@0 114 schema/Xen_CSSettingDataComponent.mof \
jbulpin@0 115 schema/Xen_ProcessorCapabilitiesSettingData.mof \
jfehlig@14 116 schema/Xen_MemoryCapabilitiesSettingData.mof \
jfehlig@14 117 schema/Xen_ProcessorAllocatedFromPool.mof \
jfehlig@21 118 schema/Xen_ProcessorSettingAllocationFromPool.mof \
jfehlig@25 119 schema/Xen_MemoryAllocatedFromPool.mof \
jfehlig@25 120 schema/Xen_MemorySettingAllocationFromPool.mof \
jfehlig@21 121 schema/Xen_RegisteredSVProfile.mof \
jfehlig@21 122 schema/Xen_ElementConformsToSVProfile.mof \
jfehlig@21 123 schema/Xen_RegisteredVSProfile.mof \
jfehlig@29 124 schema/Xen_ElementConformsToVSProfile.mof \
jfehlig@29 125 schema/Xen_ComputerSystemCapabilities.mof \
jfehlig@29 126 schema/Xen_VirtualSystemManagementCapabilities.mof \
jfehlig@29 127 schema/Xen_CSElementCapabilities.mof \
jfehlig@29 128 schema/Xen_VSMSElementCapabilities.mof
jfehlig@14 129 # schema/Xen_HostedProcessor.mof
jfehlig@77 130 # schema/Xen_HostedNetworkPort.mof
jbulpin@0 131
jbulpin@0 132 # LIST ALL THE CLASS CIMOM REGISTRATION FILES HERE
jfehlig@18 133 XEN_REGS = \
jbulpin@0 134 schema/Xen_ComputerSystem.registration \
jbulpin@0 135 schema/Xen_HostedComputerSystem.registration \
jfehlig@9 136 schema/Xen_VirtualSystemManagementService.registration \
jfehlig@10 137 schema/Xen_HostedVirtualSystemManagementService.registration \
jbulpin@0 138 schema/Xen_Memory.registration \
jbulpin@0 139 schema/Xen_HostedMemory.registration \
jbulpin@0 140 schema/Xen_ComputerSystemMemory.registration \
jbulpin@0 141 schema/Xen_Processor.registration \
jbulpin@0 142 schema/Xen_ComputerSystemProcessor.registration \
jbulpin@0 143 schema/Xen_Disk.registration \
jbulpin@0 144 schema/Xen_HostedDisk.registration \
jbulpin@0 145 schema/Xen_ComputerSystemDisk.registration \
jbulpin@0 146 schema/Xen_NetworkPort.registration \
jbulpin@0 147 schema/Xen_ComputerSystemNetworkPort.registration \
jfehlig@83 148 schema/Xen_Console.registration \
jfehlig@83 149 schema/Xen_ComputerSystemConsole.registration \
jbulpin@0 150 schema/Xen_ComputerSystemIndication.registration \
jbulpin@0 151 schema/Xen_VirtualizationCapabilities.registration \
jbulpin@0 152 schema/Xen_HasVirtualizationCapabilities.registration \
jbulpin@0 153 schema/Xen_ComputerSystemSettingData.registration \
jbulpin@0 154 schema/Xen_CSElementSettingData.registration \
jfehlig@51 155 schema/Xen_CSSettingsDefineState.registration \
jbulpin@0 156 schema/Xen_ProcessorSettingData.registration \
jfehlig@51 157 schema/Xen_ProcessorSettingsDefineState.registration \
jbulpin@0 158 schema/Xen_ProcessorElementSettingData.registration \
jbulpin@0 159 schema/Xen_MemorySettingData.registration \
jfehlig@51 160 schema/Xen_MemorySettingsDefineState.registration \
jbulpin@0 161 schema/Xen_MemoryElementSettingData.registration \
jbulpin@0 162 schema/Xen_NetworkPortSettingData.registration \
jfehlig@51 163 schema/Xen_NPSettingsDefineState.registration \
jbulpin@0 164 schema/Xen_NetworkPortElementSettingData.registration \
jbulpin@0 165 schema/Xen_DiskSettingData.registration \
jfehlig@51 166 schema/Xen_DiskSettingsDefineState.registration \
jbulpin@0 167 schema/Xen_DiskElementSettingData.registration \
jfehlig@85 168 schema/Xen_ConsoleSettingData.registration \
jbulpin@0 169 schema/Xen_MemoryPool.registration \
jbulpin@0 170 schema/Xen_HostedMemoryPool.registration \
jfehlig@25 171 schema/Xen_MemoryPoolComponent.registration \
jbulpin@0 172 schema/Xen_ProcessorPool.registration \
jbulpin@0 173 schema/Xen_HostedProcessorPool.registration \
jfehlig@24 174 schema/Xen_ProcessorPoolComponent.registration \
jbulpin@0 175 schema/Xen_CSSettingDataComponent.registration \
jbulpin@0 176 schema/Xen_ProcessorCapabilitiesSettingData.registration \
jfehlig@14 177 schema/Xen_MemoryCapabilitiesSettingData.registration \
jfehlig@14 178 schema/Xen_ProcessorAllocatedFromPool.registration \
jfehlig@21 179 schema/Xen_ProcessorSettingAllocationFromPool.registration \
jfehlig@25 180 schema/Xen_MemoryAllocatedFromPool.registration \
jfehlig@25 181 schema/Xen_MemorySettingAllocationFromPool.registration \
jfehlig@21 182 schema/Xen_RegisteredSVProfile.registration \
jfehlig@21 183 schema/Xen_ElementConformsToSVProfile.registration \
jfehlig@21 184 schema/Xen_RegisteredVSProfile.registration \
jfehlig@29 185 schema/Xen_ElementConformsToVSProfile.registration \
jfehlig@29 186 schema/Xen_ComputerSystemCapabilities.registration \
jfehlig@29 187 schema/Xen_VirtualSystemManagementCapabilities.registration \
jfehlig@29 188 schema/Xen_CSElementCapabilities.registration \
jfehlig@29 189 schema/Xen_VSMSElementCapabilities.registration
jfehlig@14 190 # schema/Xen_HostedProcessor.registration
jfehlig@77 191 # schema/Xen_HostedNetworkPort.registration
jfehlig@14 192
jbulpin@0 193
jfehlig@18 194 # Until the SPVC schema is public, we keep associated mof files in
jfehlig@18 195 # the project.
jfehlig@18 196 SPVC_MOFS = \
jfehlig@18 197 schema/dmtf/CIM_AffectedJobElement.mof \
jfehlig@18 198 schema/dmtf/CIM_ResourcePool.mof \
jfehlig@18 199 schema/dmtf/CIM_ElementAllocatedFromPool.mof \
jfehlig@18 200 schema/dmtf/CIM_AllocationCapabilities.mof \
jfehlig@18 201 schema/dmtf/CIM_HostedResourcePool.mof \
jfehlig@18 202 schema/dmtf/CIM_ResourceAllocationSettingData.mof \
jfehlig@18 203 schema/dmtf/CIM_ResourcePoolConfigurationService.mof \
jfehlig@18 204 schema/dmtf/CIM_VirtualSystemSettingData.mof \
jfehlig@18 205 schema/dmtf/CIM_VirtualSystemManagementService.mof \
jfehlig@26 206 schema/dmtf/CIM_AggregatedVirtualSystemManagementService.mof \
jfehlig@18 207 schema/dmtf/CIM_ResourcePoolConfigurationCapabilities.mof \
jfehlig@18 208 schema/dmtf/CIM_VirtualSystemManagementCapabilities.mof \
jfehlig@18 209 schema/dmtf/CIM_ResourceAllocationFromPool.mof \
jfehlig@51 210 schema/dmtf/CIM_SettingsDefineState.mof
jfehlig@18 211
jfehlig@18 212 # Until the SPVC schema is public, we keep associated registration
jfehlig@18 213 # files in the project.
jfehlig@18 214 SPVC_REGS = \
jfehlig@18 215 schema/dmtf/CIM_AffectedJobElement.registration \
jfehlig@18 216 schema/dmtf/CIM_AggregatedVirtualSystemManagementService.registration \
jfehlig@18 217 schema/dmtf/CIM_ResourcePool.registration \
jfehlig@18 218 schema/dmtf/CIM_ElementAllocatedFromPool.registration \
jfehlig@18 219 schema/dmtf/CIM_AllocationCapabilities.registration \
jfehlig@18 220 schema/dmtf/CIM_HostedResourcePool.registration \
jfehlig@18 221 schema/dmtf/CIM_ResourceAllocationSettingData.registration \
jfehlig@18 222 schema/dmtf/CIM_ResourcePoolConfigurationService.registration \
jfehlig@18 223 schema/dmtf/CIM_VirtualSystemSettingData.registration \
jfehlig@18 224 schema/dmtf/CIM_VirtualSystemManagementService.registration \
jfehlig@18 225 schema/dmtf/CIM_ResourcePoolConfigurationCapabilities.registration \
jfehlig@18 226 schema/dmtf/CIM_VirtualSystemManagementCapabilities.registration \
jfehlig@18 227 schema/dmtf/CIM_ResourceAllocationFromPool.registration \
jfehlig@51 228 schema/dmtf/CIM_SettingsDefineState.registration
jfehlig@18 229
jfehlig@28 230 # Some classes must reside in multiple namespaces. We list these here.
jfehlig@28 231 INTEROP_MOFS = \
jfehlig@113 232 schema/Xen_ComputerSystem.mof \
jfehlig@28 233 schema/Xen_RegisteredSVProfile.mof \
jfehlig@28 234 schema/Xen_RegisteredVSProfile.mof \
jfehlig@28 235 schema/Xen_ElementConformsToSVProfile.mof \
jfehlig@28 236 schema/Xen_ElementConformsToVSProfile.mof
jfehlig@28 237
jfehlig@28 238
jfehlig@28 239 HOST_NS_MOFS = \
jfehlig@28 240 schema/dmtf/CIM_VirtualSystemManagementService.mof \
jfehlig@28 241 schema/Xen_VirtualSystemManagementService.mof \
jfehlig@28 242 schema/Xen_HostedVirtualSystemManagementService.mof \
jfehlig@28 243 schema/dmtf/CIM_ResourcePool.mof \
jfehlig@28 244 schema/dmtf/CIM_HostedResourcePool.mof \
jfehlig@28 245 schema/Xen_MemoryPool.mof \
jfehlig@28 246 schema/Xen_MemoryPoolComponent.mof \
jfehlig@32 247 schema/Xen_HostedMemoryPool.mof \
jfehlig@28 248 schema/Xen_ProcessorPool.mof \
jfehlig@32 249 schema/Xen_ProcessorPoolComponent.mof \
jfehlig@32 250 schema/Xen_HostedProcessorPool.mof \
jfehlig@28 251 schema/Xen_ComputerSystem.mof \
jfehlig@32 252 schema/Xen_HostedComputerSystem.mof \
jfehlig@28 253 schema/Xen_RegisteredSVProfile.mof \
jfehlig@28 254 schema/Xen_ElementConformsToSVProfile.mof
jfehlig@28 255
jfehlig@28 256
jfehlig@18 257 MOFS = $(SPVC_MOFS) $(XEN_MOFS)
jfehlig@18 258 REGS = $(XEN_REGS)
jfehlig@18 259
jbulpin@0 260 # Un/Register the providers and class definitions from/to the current CIMOM.
jbulpin@0 261 # @CIMSERVER@ is set by the configure script
jbulpin@0 262 postinstall:
jbulpin@0 263 sh provider-register.sh -t @CIMSERVER@ -r $(REGS) -m $(MOFS)
jfehlig@28 264 sh provider-register.sh -t @CIMSERVER@ -n Interop -m $(INTEROP_MOFS) \
jfehlig@28 265 -r schema/Xen_RegisteredSVProfile.registration
jfehlig@28 266 sh provider-register.sh -t @CIMSERVER@ -n @HOST_INSTRUMENTATION_NS@ \
jfehlig@28 267 -m $(HOST_NS_MOFS) -r schema/Xen_ComputerSystem.registration
jbulpin@0 268
jbulpin@0 269 preuninstall:
jbulpin@0 270 sh provider-register.sh -d -t @CIMSERVER@ -r $(REGS) -m $(MOFS)
jbulpin@0 271
jbulpin@0 272 # Add the schema files to the distribution file list
jbulpin@0 273 pkgdata_DATA=$(MOFS) $(REGS)
jbulpin@0 274 pkgdata_SCRIPTS=provider-register.sh
jbulpin@0 275 EXTRA_DIST+=schema $(pkgdata_DATA) $(pkgdata_SCRIPTS)
jbulpin@0 276
jbulpin@0 277 # -----------------------------------------------------------------------------
jbulpin@0 278 # Automake instructions to generate source tarball for cmpi-xen
jbulpin@0 279 # -----------------------------------------------------------------------------
jbulpin@0 280
jfehlig@17 281 #dist:
jfehlig@17 282 # sh make-srcpkg.sh