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

Diff for /pegasus/Schemas/Attic/Makefile between version 1.7 and 1.8

version 1.7, 2003/04/29 20:29:10 version 1.8, 2004/06/30 16:03:23
Line 7 
Line 7 
  
 ROOT = $(PEGASUS_ROOT) ROOT = $(PEGASUS_ROOT)
 include $(ROOT)/mak/config.mak include $(ROOT)/mak/config.mak
   include $(ROOT)/mak/configschema.mak
  
 # 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.
Line 14 
Line 15 
  
 all: all:
  
   messages:
   
 # Delete and rebuild the repository using the MOF compiler. # Delete and rebuild the repository using the MOF compiler.
  
 repository: repository:
Line 21 
Line 24 
         @ $(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$(CIM_SCHEMA_VER).mof into root namespace...         @ echo +++++ Loading CIM_Core$(CIM_SCHEMA_VER).mof into root namespace...
         @ cimmofl -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -nroot $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof          @ $(CIMMOFCLI) -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -nroot $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof
         @ echo +++++ Loading CIM_Schema$(CIM_SCHEMA_VER).mof into $(NAMESPACE) namespace...         @ echo +++++ Loading CIM_Schema$(CIM_SCHEMA_VER).mof into $(NAMESPACE) namespace...
         @ cimmofl -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Schema$(CIM_SCHEMA_VER).mof          @ $(CIMMOFCLI) -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Schema$(CIM_SCHEMA_VER).mof
   
   install:
           $(MKDIRHIER) $(LOCAL_STATE_PREFIX)
           $(MAKE) REPOSITORY_DIR=$(LOCAL_STATE_PREFIX) repository
  
 # 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 32 
Line 39 
         @ 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$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof          $(CIMMOFCLI) -R$(REPOSITORY_DIR) -I$(CIM_SCHEMA_DIR) -n$(NAMESPACE) $(ALLOW_EXPERIMENTAL) $(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 56 
Line 63 
 xml: xml:
         @ $(RMREPOSITORY) $(TMP_DIR)/repository         @ $(RMREPOSITORY) $(TMP_DIR)/repository
         @ echo +++++ Temporarily loading CIM_Core$(CIM_SCHEMA_VER) into xml/cimv2 namespace ...         @ 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          @ $(CIMMOFCLI) -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         @ 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          @ $(CIMMOFCLI)  -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         @ $(RMREPOSITORY) $(TMP_DIR)/repository


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2