summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authors.kodali <s.kodali>2009-09-07 13:43:46 +0000
committers.kodali <s.kodali>2009-09-07 13:43:46 +0000
commit768b07d939a41f3857c371659a8339bc930ecdcf (patch)
tree9c507e5708c896269ed3a4551f187c03c835957f /Schemas
parent2d22cdd27e0a41c99231a13a65fce47df9889be4 (diff)
downloadtog-pegasus-768b07d939a41f3857c371659a8339bc930ecdcf.zip
tog-pegasus-768b07d939a41f3857c371659a8339bc930ecdcf.tar.gz
tog-pegasus-768b07d939a41f3857c371659a8339bc930ecdcf.tar.xz
BUG#: 8612
TITLE: make repository failure when Interop Provider is disabled
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/Pegasus/InterOp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Schemas/Pegasus/InterOp/Makefile b/Schemas/Pegasus/InterOp/Makefile
index d8f4583..bb067de 100644
--- a/Schemas/Pegasus/InterOp/Makefile
+++ b/Schemas/Pegasus/InterOp/Makefile
@@ -59,7 +59,7 @@ endif
# Bug 1222
# The following code is temporary. These classes should be incorporated into PG_InteropSchema
# however, this cannot be done now because we cannot conditionally compile MOF.
-ifdef PEGASUS_ENABLE_INTEROP_PROVIDER
+ifeq ($(PEGASUS_ENABLE_INTEROP_PROVIDER),true)
@$(ECHO) +++++ Loading PG_CIMXMLCommunicationMechanism$(PG_INTEROP_SCHEMA_VER) into $(INTEROPNS) namespace ...
@$(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_INTEROP_MOF_PATH)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(PG_INTEROP_MOF_PATH)/PG_CIMXMLCommunicationMechanism$(PG_INTEROP_SCHEMA_VER).mof"
@$(ECHO) +++++ Loading PG_Namespace$(PG_INTEROP_SCHEMA_VER) into $(INTEROPNS) namespace ...
@@ -77,7 +77,7 @@ repositoryServer:
@$(ECHO) +++++ Loading CIM_Event$(CIM_SCHEMA_VER) into $(INTEROPNS) namespace ...
@cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(CIM_SCHEMA_DIR)/CIM_Event$(CIM_SCHEMA_VER).mof"
-ifdef PEGASUS_ENABLE_INTEROP_PROVIDER
+ifeq ($(PEGASUS_ENABLE_INTEROP_PROVIDER),true)
@$(ECHO) +++++ Loading CIM_Interop$(CIM_SCHEMA_VER) into $(INTEROPNS) namespace ...
@cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(CIM_SCHEMA_DIR)/CIM_Interop$(CIM_SCHEMA_VER).mof"
@$(ECHO) +++++ Loading Computer System schema into $(INTEROPNS) namespace ...
@@ -89,8 +89,8 @@ endif
#
# Bug 1222
# The following code is temporary. Eventually this class should be incorporated into PG_InteropSchema
-# however, this cannot be done now because we cannot conditionally compile MOF.
-ifdef PEGASUS_ENABLE_INTEROP_PROVIDER
+# however, this cannot be done now because we cannot conditionally compile MOF.
+ifeq ($(PEGASUS_ENABLE_INTEROP_PROVIDER),true)
@$(ECHO) +++++ Loading Loading PG_CIMXMLCommunicationMechanism$(PG_INTEROP_SCHEMA_VER) into $(INTEROPNS) namespace ...
@cimmof "-I$(PG_INTEROP_MOF_PATH)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(PG_INTEROP_MOF_PATH)/PG_CIMXMLCommunicationMechanism$(PG_INTEROP_SCHEMA_VER).mof"
@$(ECHO) +++++ Loading Loading PG_Namespace$(PG_INTEROP_SCHEMA_VER) into $(INTEROPNS) namespace ...