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

Diff for /pegasus/mak/BuildMakefile between version 1.1.2.5 and 1.35

version 1.1.2.5, 2002/01/28 07:30:52 version 1.35, 2005/02/11 00:30:41
Line 15 
Line 15 
  
 ############################################################################### ###############################################################################
 ## ##
 ## Platform specific settings for HP-UX  ## Platform specific settings for several platforms.
 ## ##
 ## NOTE: Please add platform specific environment variables as appropriate. ## NOTE: Please add platform specific environment variables as appropriate.
 ## ##
 ############################################################################### ###############################################################################
 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)  
   CIMSERVER_START_SERVICE =  
   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)  include $(PEGASUS_ROOT)/mak/config.mak
   CIMSERVER_START_SERVICE = cimserver -d  include $(PEGASUS_ROOT)/mak/commands.mak
   CIMSERVER_STOP_SERVICE = /usr/bin/ps -ef | /usr/bin/grep cimserver | /usr/bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/usr/bin/sh"}'  
   SLEEP = sleep 5  
   REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old  
   MUEXE = mu  
   COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) /usr/local/bin/$(MUEXE)  
   MKDIR = pegasus/src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
   
   ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
     CVS = socksify cvs
   else
     CVS = cvs
 endif endif
  
 error: error:
         @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"         @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"
  
 buildmu: buildmu:
         $(MAKE) --directory=pegasus/src/utils/mu -f Makefile          $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
         $(COPYMU)          $(MKDIRHIER) $(BIN_DIR)
  
 cleanbuild: removeall recheckout buildmu all $(TESTS) cleanbuild: removeall recheckout buildmu all $(TESTS)
  
Line 57 
Line 47 
         $(REMOVE_PEGASUS_DIRECTORY)         $(REMOVE_PEGASUS_DIRECTORY)
  
 checkout: checkout:
         cvs checkout -r dev pegasus          $(CVS) checkout pegasus
  
 rebuild: clean buildmu all tests rebuild: clean buildmu all tests
  
   rebuild-notest: clean buildmu all
   
   build: all tests
   
   build-notest: all
   
 all: buildmu all: buildmu
         $(MAKE) --directory=pegasus -f Makefile depend          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
         $(MAKE) --directory=pegasus -f Makefile all          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile all
   
   doc:
           $(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
           $(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
  
 clean: clean:
         $(MAKE) --directory=pegasus -f Makefile clean          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
  
   repositoryServer:
           $(CIMSERVER_STOP_SERVICE)
           $(SLEEP) 5
           $(RMDIRHIER) $(REPOSITORY_ROOT)
           $(CIMSERVER_START_SERVICE)
           $(SLEEP) 5
           $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
           $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
  
 prestarttests: prestarttests:
         $(MAKE) --directory=pegasus -f Makefile repository          $(CIMSERVER_STOP_SERVICE)
         $(MAKE) --directory=pegasus -f Makefile config          $(SLEEP) 5
         $(MAKE) --directory=pegasus -f Makefile user          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
         $(MAKE) --directory=pegasus -f Makefile shutdownService          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
         $(MAKE) --directory=pegasus -f Makefile registration          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
         $(MAKE) --directory=pegasus -f Makefile tests          $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
         $(MAKE) --directory=pegasus/src/Server -f Makefile install  
         $(MAKE) --directory=pegasus/test -f Makefile clean  
  
 poststarttests: poststarttests:
           $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
           $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
           $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
         $(CIMSERVER_START_SERVICE)         $(CIMSERVER_START_SERVICE)
         $(SLEEP)          $(SLEEP) 5
         TestClient          $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
         Client          $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
         $(MAKE) --directory=pegasus/test -f Makefile tests  
         @ echo Terminating cimserver...  ###############################################################################
         @ $(CIMSERVER_STOP_SERVICE)  
  
 tests: $(TESTS) tests: $(TESTS)
   ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
           $(CIMSERVER_STOP_SERVICE)
           $(MAKE) --directory=$(PEGASUS_ROOT)src/Server -f Makefile uninstall
   endif
         @ echo Finished Tests         @ echo Finished Tests
  
 ############################################################################### ###############################################################################


Legend:
Removed from v.1.1.2.5  
changed lines
  Added in v.1.35

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2