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

  1 mike  1.2 ###############################################################################
  2           ##
  3           ## Makefile for Pegasus CIMOM
  4           ##
  5           ## NOTE: Makefile needs to be executed from the parent directory of 
  6           ## pegasus directory because the path settings are relative and this
  7           ## Makefile may remove and recheckout the pegasus source tree.
  8           ##
  9           ## Options:
 10           ##      cleanbuild - Removes the existing pegasus directory contents, performs
 11           ##                   checkout, build and runs tests. 
 12           ##      rebuild    - Rebuild and execute tests.
 13           ## 
 14           ###############################################################################
 15           
 16           ###############################################################################
 17           ##
 18 karl  1.16 ## Platform specific settings for several platforms.
 19 mike  1.2  ##
 20            ## NOTE: Please add platform specific environment variables as appropriate. 
 21            ##
 22            ###############################################################################
 23            
 24 kumpf 1.31 include $(PEGASUS_ROOT)/mak/config.mak
 25 kumpf 1.34 include $(PEGASUS_ROOT)/mak/commands.mak
 26 kumpf 1.14 
 27 kumpf 1.34 TESTS = prestarttests poststarttests
 28 david.eger 1.23 
 29 kumpf      1.12 ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
 30                   CVS = socksify cvs
 31                 else
 32                   CVS = cvs
 33                 endif
 34                 
 35 mike       1.2  error: 
 36                 	@ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"
 37                 
 38                 buildmu:
 39 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
 40 kumpf      1.34 	$(MKDIRHIER) $(BIN_DIR)
 41 david.eger 1.24 
 42 mike       1.2  cleanbuild: removeall recheckout buildmu all $(TESTS) 
 43                 
 44                 recheckout: removeall checkout
 45                 
 46                 removeall:
 47                 	$(REMOVE_PEGASUS_DIRECTORY)
 48                 
 49                 checkout:
 50 kumpf      1.12 	$(CVS) checkout pegasus
 51 david.eger 1.24 
 52 mike       1.2  rebuild: clean buildmu all tests
 53                 
 54 kumpf      1.28 rebuild-notest: clean buildmu all
 55                 
 56 kumpf      1.13 build: all tests
 57 kumpf      1.28 
 58                 build-notest: all
 59 kumpf      1.13 
 60 mike       1.2  all: buildmu
 61 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
 62                 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile all
 63 mike       1.2  
 64 kumpf      1.8  doc:
 65 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
 66                 	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
 67 kumpf      1.8  
 68 mike       1.2  clean:
 69 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
 70 mike       1.2  
 71 kumpf      1.17 repositoryServer: 
 72                 	$(CIMSERVER_STOP_SERVICE)
 73 kumpf      1.34 	$(SLEEP) 5
 74 kumpf      1.17 	$(RMDIRHIER) $(REPOSITORY_ROOT)
 75                 	$(CIMSERVER_START_SERVICE)
 76 kumpf      1.34 	$(SLEEP) 5
 77 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
 78                 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
 79                 
 80 mike       1.2  prestarttests: 
 81 kumpf      1.7  	$(CIMSERVER_STOP_SERVICE)
 82 kumpf      1.34 	$(SLEEP) 5
 83 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
 84                 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
 85                 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
 86 kumpf      1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 87 mike       1.2  
 88                 poststarttests:
 89 lucier     1.32 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
 90                 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
 91 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
 92 kumpf      1.6  	$(CIMSERVER_START_SERVICE)
 93 kumpf      1.34 	$(SLEEP) 5
 94 david.eger 1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
 95 mike       1.2  
 96 denise.eckstein 1.33 ###############################################################################
 97                      
 98 mike            1.2  tests: $(TESTS)
 99 tony            1.21 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
100                      	$(CIMSERVER_STOP_SERVICE)
101 david.eger      1.24 	$(MAKE) --directory=$(PEGASUS_ROOT)src/Server -f Makefile uninstall
102 tony            1.21 endif
103 mike            1.2  	@ echo Finished Tests
104                      
105                      ###############################################################################
106                      ##
107                      ## Trace Configuration
108                      ##
109                      ## Options:
110                      ##      XMLTraceOn: Enables XML request and response tracing.
111                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
112                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
113                      ##                                 load tracing.
114                      ##      AllTraceOn: Enables all tracing.
115                      ##      AllTraceOff: Disables all tracing.
116                      ##      list: Lists trace settings.
117                      ##
118                      ###############################################################################
119                      
120                      XMLTraceOn:
121                      	cimconfig -s traceComponents=XmlIO -c
122                      	cimconfig -s traceLevel=3 -c
123                      	cimconfig -g traceComponents
124 mike            1.2  	cimconfig -g traceLevel
125                      
126                      ProviderLoadTraceOn:
127                      	cimconfig -s traceComponents=ProvManager,OsAbstraction
128                      	cimconfig -s traceLevel=3 -c
129                      	cimconfig -g traceComponents
130                      	cimconfig -g traceLevel
131                      
132                      XML+ProviderLoadTraceOn:
133                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
134                      	cimconfig -s traceLevel=3 -c
135                      	cimconfig -g traceComponents
136                      	cimconfig -g traceLevel
137                      
138                      AllTraceOn:
139                      	cimconfig -s traceComponents=ALL
140                      	cimconfig -s traceLevel=3 -c
141                      	cimconfig -g traceComponents
142                      	cimconfig -g traceLevel
143                      
144                      AllTraceOff:
145 mike            1.2  	cimconfig -s traceComponents=
146                      	cimconfig -g traceComponents
147                      	cimconfig -g traceLevel
148                      
149                      list:
150                      	cimconfig -g traceComponents
151                      	cimconfig -g traceLevel
152                      	cimconfig -g traceFilePath
153                      
154                      # DO NOT DELETE

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2