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

Diff for /pegasus/mak/BuildMakefile between version 1.19 and 1.36

version 1.19, 2002/07/15 06:22:11 version 1.36, 2005/02/11 01:44:47
Line 13 
Line 13 
 ## ##
 ############################################################################### ###############################################################################
  
 ###############################################################################  include $(PEGASUS_ROOT)/mak/config.mak
 ##  include $(PEGASUS_ROOT)/mak/commands.mak
 ## Platform specific settings for several platforms.  
 ##  
 ## NOTE: Please add platform specific environment variables as appropriate.  
 ##  
 ###############################################################################  
  
 include pegasus/mak/config.mak  
   
 # There is a start command for cimserver but no stop today.  Because of problems with  
 # the use of cimserver as a service, we simply used the start command to allow us to  
 # get on with testing. I know of no CLI to stop a window started with start so that  
 # field is blank.  ks 7 April 2002  
 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)  
   CIMSERVER_START_SERVICE = start cimserver  
   CIMSERVER_STOP_SERVICE =  
   SLEEP =  
   REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus  
   MUEXE = mu.exe  
   COPYMU = copy pegasus\src\utils\mu\$(MUEXE) /y $(MUEXE)  
   MKDIR = pegasus/src/utils/mu/mu mkdirhier  
   TESTS = prestarttests  
 endif  
   
 ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)  
   CIMSERVER_START_SERVICE = cimserver  
   CIMSERVER_STOP_SERVICE = cimserver -s  
   SLEEP = sleep 5  
   REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old  
   MUEXE = mu  
   COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)  
   MKDIR = pegasus/src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
 endif  
   
 ifeq ($(PEGASUS_PLATFORM),LINUX_IX86_GNU)  
   CIMSERVER_START_SERVICE = cimserver  
   CIMSERVER_STOP_SERVICE = /bin/ps -ef | /bin/grep cimserver | /bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/bin/bash"}'  
   SLEEP = sleep 5  
   REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old  
   MUEXE = mu  
   COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)  
   MKDIR = pegasus/src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests  
 endif  
   
 ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU)  
   CIMSERVER_START_SERVICE = cimserver  
   CIMSERVER_STOP_SERVICE = /bin/ps -ef | /bin/grep cimserver | /bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/bin/bash"}'  
   SLEEP = sleep 5  
   REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old  
   MUEXE = mu  
   COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)  
   MKDIR = pegasus/src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests  
 endif  
  
 ifeq ($(DYNAMIC_SOCKSIFY),TRUE) ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
   CVS = socksify cvs   CVS = socksify cvs
Line 80 
Line 27 
 error: error:
         @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"         @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"
  
 buildmu:  
         $(MAKE) --directory=pegasus/src/utils/mu -f Makefile  
         $(MKDIR) $(BIN_DIR)  
         $(COPYMU)  
   
 cleanbuild: removeall recheckout buildmu all $(TESTS) cleanbuild: removeall recheckout buildmu all $(TESTS)
  
 recheckout: removeall checkout recheckout: removeall checkout
Line 93 
Line 35 
         $(REMOVE_PEGASUS_DIRECTORY)         $(REMOVE_PEGASUS_DIRECTORY)
  
 checkout: checkout:
         $(CVS) checkout pegasus          $(CVS) checkout -P pegasus
  
 rebuild: clean buildmu all tests rebuild: clean buildmu all tests
  
 build: all tests  rebuild-notest: clean buildmu all
  
 all: buildmu  build: all tests
         $(MAKE) --directory=pegasus -f Makefile depend  
         $(MAKE) --directory=pegasus -f Makefile all  
  
 doc:  build-notest: all
         $(MAKE) --directory=pegasus/doc/ProviderSpec -f Makefile  
         $(MAKE) --directory=pegasus/doc/DevManual -f Makefile  
  
 clean: clean:
         $(MAKE) --directory=pegasus -f Makefile clean          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile clean
  
 repositoryServer:  buildmu:
         $(CIMSERVER_STOP_SERVICE)          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile buildmu
         $(SLEEP)  
         $(RMDIRHIER) $(REPOSITORY_ROOT)  
         $(CIMSERVER_START_SERVICE)  
         $(SLEEP)  
         $(MAKE) --directory=pegasus -f Makefile repositoryServer  
         $(MAKE) --directory=pegasus -f Makefile testrepositoryServer  
  
 prestarttests:  all:
         $(CIMSERVER_STOP_SERVICE)          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile all
         $(SLEEP)  
         $(MAKE) --directory=pegasus -f Makefile repository  
         $(MAKE) --directory=pegasus -f Makefile testrepository  
         $(MAKE) --directory=pegasus -f Makefile tests  
         $(MAKE) --directory=pegasus/src/Server -f Makefile install  
  
 poststarttests:  doc:
         $(MAKE) --directory=pegasus/test/wetest -f Makefile clean          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile doc
         $(CIMSERVER_START_SERVICE)  
         $(SLEEP)  
         $(MAKE) --directory=pegasus -f Makefile poststarttests  
  
 tests: $(TESTS)  repositoryServer:
         @ echo Finished Tests          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile repositoryServer
  
 ###############################################################################  prestarttests:
 ##          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile prestarttests
 ## Trace Configuration  
 ##  
 ## Options:  
 ##      XMLTraceOn: Enables XML request and response tracing.  
 ##      ProviderLoadTraceOn: Enables Provider load tracing.  
 ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider  
 ##                                 load tracing.  
 ##      AllTraceOn: Enables all tracing.  
 ##      AllTraceOff: Disables all tracing.  
 ##      list: Lists trace settings.  
 ##  
 ###############################################################################  
  
 XMLTraceOn:  poststarttests:
         cimconfig -s traceComponents=XmlIO -c          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile poststarttests
         cimconfig -s traceLevel=3 -c  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
   
 ProviderLoadTraceOn:  
         cimconfig -s traceComponents=ProvManager,OsAbstraction  
         cimconfig -s traceLevel=3 -c  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
   
 XML+ProviderLoadTraceOn:  
         cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction  
         cimconfig -s traceLevel=3 -c  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
   
 AllTraceOn:  
         cimconfig -s traceComponents=ALL  
         cimconfig -s traceLevel=3 -c  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
   
 AllTraceOff:  
         cimconfig -s traceComponents=  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
   
 list:  
         cimconfig -g traceComponents  
         cimconfig -g traceLevel  
         cimconfig -g traceFilePath  
  
 # DO NOT DELETE  tests:
           $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2