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

Diff for /pegasus/Makefile between version 1.42.14.4 and 1.48

version 1.42.14.4, 2007/08/13 10:57:29 version 1.48, 2008/09/02 17:37:16
Line 37 
Line 37 
 include $(ROOT)/mak/config.mak include $(ROOT)/mak/config.mak
  
 # This is a recurse make file # This is a recurse make file
 # Defines subdirectorys to go to recursively  # Defines subdirectories to go to recursively
  
 # DIRS = src cgi  DIRS = src
 DIRS = src test Schemas  
   TEST_DIRS = test
  
 # Define the inclusion of the recurse.mak file to execute the next # Define the inclusion of the recurse.mak file to execute the next
 # level of makefiles defined by the DIRS variable # level of makefiles defined by the DIRS variable
 ifneq ($(PEGASUS_USE_DIRECTACCESS_FOR_LOCAL),true)  
 defaultrule: all setupdevserver defaultrule: all setupdevserver
 else  
 defaultrule: all dacim setupdevserver  
 endif  
  
 include $(ROOT)/mak/recurse.mak include $(ROOT)/mak/recurse.mak
  
Line 89 
Line 87 
         $(USAGE)"repository          - builds the base repository. Does not remove other"         $(USAGE)"repository          - builds the base repository. Does not remove other"
         $(USAGE)"                      namespaces than the base namespaces."         $(USAGE)"                      namespaces than the base namespaces."
         $(USAGE)"testrepository      - builds items for the test suites into the repository"         $(USAGE)"testrepository      - builds items for the test suites into the repository"
         $(USAGE)"removetestrepository- removes test items from the repository"  
         $(USAGE)"repositoryclean     - removes the complete repository"         $(USAGE)"repositoryclean     - removes the complete repository"
         $(USAGE)"listplatforms       - List all valid platforms"         $(USAGE)"listplatforms       - List all valid platforms"
         $(USAGE)         $(USAGE)
Line 154 
Line 151 
 # build target: builds all source # build target: builds all source
 # #
 build: depend all setupdevserver build: depend all setupdevserver
 ifeq ($(PEGASUS_USE_DIRECTACCESS_FOR_LOCAL),true)  
         $(MAKE) --directory=$(PEGASUS_ROOT) dacim  
 endif  
   
  
 #------------------------ #------------------------
 # rebuild target is being deprecated instead use "make new build" # rebuild target is being deprecated instead use "make new build"
Line 234 
Line 227 
 # buildmu target: build mu the make utility that among other things # buildmu target: build mu the make utility that among other things
 #                 includes depend #                 includes depend
 buildmu: FORCE buildmu: FORCE
         $(MKDIRHIER) $(BIN_DIR)  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile         $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
  
 #---------------------- #----------------------
Line 254 
Line 246 
         - $(RMDIRHIER) $(PEGASUS_HOME)/lib         - $(RMDIRHIER) $(PEGASUS_HOME)/lib
         - $(RMDIRHIER) $(PEGASUS_HOME)/obj         - $(RMDIRHIER) $(PEGASUS_HOME)/obj
  
 dacim: FORCE  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client -f Makefile2 clean  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client -f Makefile2 depend  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client -f Makefile2  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Repository clean  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Repository -e PEGASUS_USE_DIRECTACCESS_FOR_LOCAL_DEPEND=true  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/ProviderManager2 clean  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/ProviderManager2 -e PEGASUS_USE_DIRECTACCESS_FOR_LOCAL_DEPEND=true  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/ProviderManagerService clean  
         $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/ProviderManagerService -e PEGASUS_USE_DIRECTACCESS_FOR_LOCAL_DEPEND=true  
         $(MAKE) --directory src/Clients/cimconfig clean  
         $(MAKE) --directory src/Clients/cimconfig -e PEGASUS_USE_DIRECTACCESS_FOR_LOCAL_DEPEND=true  
         @$(ECHO) "PEGASUS built with direct access CIM. "  
   
 removedacim: rmv_dacim build  
   
 rmv_dacim: FORCE  
         @$(TOUCH) $(PEGASUS_ROOT)/src/Pegasus/Client/CIMClientRep.cpp  
  
 #--------------------- #---------------------
 # The repository Target removes and rebuilds the base repository. It  # The repository target removes the entire repository and rebuilds the Pegasus
 # does not remove all possible namespaces.  See  # namespaces.  The repositoryServer target does not remove the repository
 # Schemas/Pegasus/Makefile for details. The repository clean has the  # before building the Pegasus namespaces.  (The repositoryServer target in
 # same limitation  # TestMakefile *does* remove the repository first.)
  
 # Note: Arguments must be quoted to preserve upper case characters in VMS. # Note: Arguments must be quoted to preserve upper case characters in VMS.
 repository: FORCE  repository: repositoryclean
         @ $(MAKE) "-SC" Schemas/Pegasus repository         @ $(MAKE) "-SC" Schemas/Pegasus repository
  
 repositoryclean: FORCE repositoryclean: FORCE
Line 289 
Line 263 
 repositoryServer: FORCE repositoryServer: FORCE
         @ $(MAKE) "-SC" Schemas/Pegasus repositoryServer         @ $(MAKE) "-SC" Schemas/Pegasus repositoryServer
  
   #---------------------
   # The testrepository and testrepositoryServer targets build the Pegasus test
   # namespaces.  A pre-existing repository is not removed.
   
 testrepository: FORCE testrepository: FORCE
         @ $(MAKE) "-SC" src/Providers/sample/Load repository         @ $(MAKE) "-SC" src/Providers/sample/Load repository
         @ $(MAKE) "-SC" test/wetest repository         @ $(MAKE) "-SC" test/wetest repository
Line 296 
Line 274 
         @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository         @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository
         @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository         @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository
         @ $(MAKE) "-SC" src/Providers/TestProviders/Load repository         @ $(MAKE) "-SC" src/Providers/TestProviders/Load repository
   ifeq ($(PEGASUS_ENABLE_CQL),true)
         @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository         @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository
   endif
 ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true)
         @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repository         @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repository
 endif endif
Line 310 
Line 290 
         @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer         @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer
         @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer         @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer
         @ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer         @ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer
   ifeq ($(PEGASUS_ENABLE_CQL),true)
         @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer         @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer
   endif
 ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true)
         @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repositoryServer         @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repositoryServer
 endif endif
         @ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \         @ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \
             -f Makefile repositoryServer             -f Makefile repositoryServer
  
 removetestrepository: FORCE  
         @ $(MAKE) "-SC" src/Providers/sample/Load removerepository  
         @ $(MAKE) "-SC" test/wetest removerepository  
         @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository  
         @ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository  
         @ $(MAKE) "-SC" src/Clients/cimsub/tests/testscript removerepository  
   
 config: config:
         @ $(ROOT)/SetConfig_EnvVar         @ $(ROOT)/SetConfig_EnvVar
  


Legend:
Removed from v.1.42.14.4  
changed lines
  Added in v.1.48

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2