(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / Attic

Diff for /pegasus/Schemas/Attic/Makefile between version 1.5 and 1.6

version 1.5, 2002/07/15 06:22:11 version 1.6, 2003/03/12 17:08:52
Line 8 
Line 8 
 ROOT = $(PEGASUS_ROOT) ROOT = $(PEGASUS_ROOT)
 include $(ROOT)/mak/config.mak include $(ROOT)/mak/config.mak
  
 # The following two variables determine which CIM Schema is compiled  
 # from the CIMSchemas Directory.  
 # To Change the CIM Schema used, change the following two environment  
 # variables.  
   
 SCHEMA_VER=25  
 SCHEMA_DIR=CIM$(SCHEMA_VER)  
   
 #SCHEMA_VER=26  
 #SCHEMA_DIR=CIM26  
   
 # Define Namespace in which the CIM Schemas are to be Loaded. # Define Namespace in which the CIM Schemas are to be Loaded.
 # Note that by default, the CORE is also loaded into root. # Note that by default, the CORE is also loaded into root.
 NAMESPACE=root/cimv2 NAMESPACE=root/cimv2
  
 MOF_PATH = $(ROOT)/Schemas/$(SCHEMA_DIR)  
   
 all: all:
  
 # Delete and rebuild the repository using the MOF compiler. # Delete and rebuild the repository using the MOF compiler.
Line 33 
Line 20 
         @ echo +++++ Removing existing repository named $(REPOSITORY_ROOT)         @ echo +++++ Removing existing repository named $(REPOSITORY_ROOT)
         @ $(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$(CIM_SCHEMA_VER).mof into root namespace...
         @ cimmofl -R$(REPOSITORY_DIR) -I$(MOF_PATH) -nroot $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof          @ cimmofl -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -nroot $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof
         @ echo +++++ Loading CIM_Schema$(SCHEMA_VER).mof into $(NAMESPACE) namespace...          @ echo +++++ Loading CIM_Schema$(CIM_SCHEMA_VER).mof into $(NAMESPACE) namespace...
         @ cimmofl -R$(REPOSITORY_DIR) -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof          @ cimmofl -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(CIM_SCHEMA_DIR)/CIM_Schema$(CIM_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
Line 45 
Line 32 
         @ 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 -R$(REPOSITORY_DIR) -I$(MOF_PATH) -n$(NAMESPACE) $(MOF_PATH)/CIM_Core$(SCHEMA_VER).mof          cimmofl -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof
  
 clean: clean:
         @ echo +++++ Removing existing CIM Repository named $(REPOSITORY_ROOT)         @ echo +++++ Removing existing CIM Repository named $(REPOSITORY_ROOT)
Line 65 
Line 52 
 general: general:
  
 # 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...          @ $(RMREPOSITORY) $(TMP_DIR)/repository
         @ cimmofl -R$(REPOSITORY_DIR) --xml -I$(MOF_PATH) -nroot/cimv2 $(MOF_PATH)/CIM_Schema$(SCHEMA_VER).mof >CIM_Schema$(SCHEMA_VER).XML          @ echo +++++ Temporarily loading CIM_Core$(CIM_SCHEMA_VER) into xml/cimv2 namespace ...
           @ cimmofl -R$(TMP_DIR) -I$(CIM_SCHEMA_DIR) -nxml/cimv2 $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof
           @ echo +++++ Creating XML for CIM Schema$(CIM_SCHEMA_VER).mof in file $(TMP_DIR)/CIM_Schema$(CIM_SCHEMA_VER).xml
           @ cimmofl  -R$(TMP_DIR) --xml -I$(CIM_SCHEMA_DIR) -nxml/cimv2 $(CIM_SCHEMA_DIR)/CIM_Schema$(CIM_SCHEMA_VER).mof > $(TMP_DIR)/CIM_Schema$(CIM_SCHEMA_VER).xml
           @ $(RMREPOSITORY) $(TMP_DIR)/repository


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2