version 1.4, 2002/04/02 17:43:45
|
version 1.5, 2002/07/15 06:22:11
|
|
|
@ $(RMREPOSITORY) $(REPOSITORY_ROOT) | @ $(RMREPOSITORY) $(REPOSITORY_ROOT) |
@ echo +++++ Populating CIM repository - this will take a while | @ echo +++++ Populating CIM repository - this will take a while |
@ echo +++++ Loading CIM_Core$(SCHEMA_VER).mof into root namespace... | @ echo +++++ Loading CIM_Core$(SCHEMA_VER).mof into root namespace... |
@ cimmofl -I$(MOF_PATH) -nroot $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof |
@ cimmofl -R$(REPOSITORY_DIR) -I$(MOF_PATH) -nroot $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof |
@ echo +++++ Loading CIM_Schema$(SCHEMA_VER).mof into $(NAMESPACE) namespace... | @ echo +++++ Loading CIM_Schema$(SCHEMA_VER).mof into $(NAMESPACE) namespace... |
@ cimmofl -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof |
@ cimmofl -R$(REPOSITORY_DIR) -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof |
| |
# The following is a hangover from previous testing and simply loads the | # The following is a hangover from previous testing and simply loads the |
# core into the namespace defined by NAMESPACE. It should probably be | # core into the namespace defined by NAMESPACE. It should probably be |
|
|
@ echo +++++ Populating CIM repository - this will take a minute | @ echo +++++ Populating CIM repository - this will take a minute |
$(RMREPOSITORY) $(REPOSITORY_ROOT) | $(RMREPOSITORY) $(REPOSITORY_ROOT) |
echo +++++ Loading CIM_Core.mof into root namespace... | echo +++++ Loading CIM_Core.mof into root namespace... |
cimmofl -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof |
cimmofl -R$(REPOSITORY_DIR) -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof |
| |
clean: | clean: |
@ echo +++++ Removing existing CIM Repository named $(REPOSITORY_ROOT) | @ echo +++++ Removing existing CIM Repository named $(REPOSITORY_ROOT) |
|
|
# used to generate xml output from the schema | # used to generate xml output from the schema |
xml: | xml: |
@ echo +++++ Loading CIM_Schema$(SCHEMA_VER).mof into root/cimv2 namespace... | @ echo +++++ Loading CIM_Schema$(SCHEMA_VER).mof into root/cimv2 namespace... |
@ cimmofl --xml -I$(MOF_PATH) -nroot/cimv2 $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof >CIM_Schema$(SCHEMA_VER).XML |
@ cimmofl -R$(REPOSITORY_DIR) --xml -I$(MOF_PATH) -nroot/cimv2 $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof >CIM_Schema$(SCHEMA_VER).XML |