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

Diff for /pegasus/mak/BuildMakefile between version 1.4 and 1.5

version 1.4, 2002/01/14 03:48:59 version 1.5, 2002/01/28 05:54:29
Line 21 
Line 21 
 ## ##
 ############################################################################### ###############################################################################
  
   ROOT = ..
   
   include $(ROOT)/mak/test.mak
   
 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
   CIMSERVER_START_SERVICE = cimserver -install  
   CIMSERVER_STOP_SERVICE = cimserver -remove  
   REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus   REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus
   SLEEP =  
   MUEXE = mu.exe   MUEXE = mu.exe
   COPYMU = copy pegasus\src\utils\mu\$(MUEXE) /y $(MUEXE)    COPYMU = copy $(ROOT)\src\utils\mu\$(MUEXE) /y $(MUEXE)
   MKDIR = pegasus/src/utils/mu/mu mkdirhier    MKDIR = $(ROOT)/src/utils/mu/mu mkdirhier
   TESTS = prestarttests   TESTS = prestarttests
 endif endif
  
 ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC) ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)
   CIMSERVER_START_SERVICE = cimserver -d    REMOVE_PEGASUS_DIRECTORY = rm -Rf $(ROOT)/../pegasus.old; mv $(ROOT)/../pegasus $(ROOT)/../pegasus.old
   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"}'  
   REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old  
   SLEEP = sleep 2  
   MUEXE = mu   MUEXE = mu
   COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) /usr/local/bin/$(MUEXE)    COPYMU = cp -f $(ROOT)/src/utils/mu/$(MUEXE) /usr/local/bin/$(MUEXE)
   MKDIR = pegasus/src/utils/mu/mu mkdirhier    MKDIR = $(ROOT)/src/utils/mu/mu mkdirhier
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
 endif endif
  
Line 47 
Line 45 
         @ 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=$(ROOT)/src/utils/mu -f Makefile
         $(COPYMU)         $(COPYMU)
  
 cleanbuild: removeall recheckout buildmu all $(TESTS) cleanbuild: removeall recheckout buildmu all $(TESTS)
Line 55 
Line 53 
 recheckout: removeall checkout recheckout: removeall checkout
  
 removeall: removeall:
           $(MAKE) -f BuildMakefile -i cimstop
         $(REMOVE_PEGASUS_DIRECTORY)         $(REMOVE_PEGASUS_DIRECTORY)
  
 checkout: checkout:
Line 63 
Line 62 
 rebuild: clean buildmu all tests rebuild: clean buildmu all tests
  
 all: buildmu all: buildmu
         $(MAKE) --directory=pegasus -f Makefile depend          $(MAKE) --directory=$(ROOT) -f Makefile depend
         $(MAKE) --directory=pegasus -f Makefile all          $(MAKE) --directory=$(ROOT) -f Makefile all
  
 clean: clean:
         $(MAKE) --directory=pegasus -f Makefile clean          $(MAKE) --directory=$(ROOT) -f Makefile clean
  
  
 prestarttests: prestarttests:
         $(MAKE) --directory=pegasus -f Makefile repository          $(MAKE) -f BuildMakefile -i cimstop
         $(MAKE) --directory=pegasus -f Makefile config          $(MAKE) --directory=$(ROOT) -f Makefile repository
         $(MAKE) --directory=pegasus -f Makefile user          $(MAKE) --directory=$(ROOT) -f Makefile config
         $(MAKE) --directory=pegasus -f Makefile shutdownService          $(MAKE) --directory=$(ROOT) -f Makefile user
         $(MAKE) --directory=pegasus -f Makefile registration          $(MAKE) --directory=$(ROOT) -f Makefile shutdownService
         $(MAKE) --directory=pegasus -f Makefile tests          $(MAKE) --directory=$(ROOT) -f Makefile registration
         $(MAKE) --directory=pegasus/src/Server -f Makefile install          $(MAKE) --directory=$(ROOT) -f Makefile tests
         $(MAKE) --directory=pegasus/test -f Makefile clean          $(MAKE) --directory=$(ROOT)/src/Server -f Makefile install
           $(MAKE) --directory=$(ROOT)/test -f Makefile clean
  
 poststarttests: poststarttests:
         $(CIMSERVER_START_SERVICE)          $(MAKE) -f BuildMakefile -i cimstop
         $(SLEEP)          $(MAKE) -f BuildMakefile -i cimstart
         TestClient         TestClient
         Client         Client
         $(MAKE) --directory=pegasus/test -f Makefile tests          $(MAKE) --directory=$(ROOT)/test -f Makefile tests
         @ echo Terminating cimserver...         @ echo Terminating cimserver...
         @ $(CIMSERVER_STOP_SERVICE)          $(MAKE) -f BuildMakefile -i cimstop
  
 tests: $(TESTS) tests: $(TESTS)
         @ echo Finished Tests         @ echo Finished Tests


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2