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

  1 martin 1.31 #//%2005////////////////////////////////////////////////////////////////////////
  2             #//
  3             #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4             #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5             #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6             #// IBM Corp.; EMC Corporation, The Open Group.
  7             #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8             #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9             #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10             #// EMC Corporation; VERITAS Software Corporation; The Open Group.
 11             #//
 12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
 13             #// of this software and associated documentation files (the "Software"), to
 14             #// deal in the Software without restriction, including without limitation the
 15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16             #// sell copies of the Software, and to permit persons to whom the Software is
 17             #// furnished to do so, subject to the following conditions:
 18             #// 
 19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22 martin 1.31 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27             #//
 28             #//==============================================================================
 29 karl   1.6  # Pegasus top level make file
 30             # options are
 31             # Make rebuild
 32             # Make world
 33             # Make tests - Executes the complete test suite
 34             # Make repository - Rebuilds the Pegasus repository
 35             #
 36 mike   1.1  ROOT = .
 37             
 38 konrad.r 1.24 include $(ROOT)/env_var.status
 39 mike     1.1  include $(ROOT)/mak/config.mak
 40               
 41 karl     1.11 # This is a recurse make file
 42 karl     1.6  # Defines subdirectorys to go to recursively
 43               
 44 mike     1.3  # DIRS = src cgi
 45 konrad.r 1.23 DIRS = src test rpm Schemas
 46 mike     1.1  
 47 karl     1.11 # Define the inclusion of the recurse.mak file to execute the next
 48               # level of makefiles defined by the DIRS variable
 49 karl     1.6  
 50 mike     1.1  include $(ROOT)/mak/recurse.mak
 51               
 52 jim.wunderlich 1.32 
 53                     
 54                     .PHONY: FORCE
 55 karl           1.6  
 56 kumpf          1.18 FORCE:
 57                     
 58 jim.wunderlich 1.32 #-----------------------
 59                     # build target: builds all source and runs the test
 60                     #
 61                     #                 builds mu utility, 
 62                     #                 compiles all, 
 63                     #                 sets up the dev server env  
 64                     
 65 jim.wunderlich 1.33 build: buildmu depend all setupdevserver
 66 jim.wunderlich 1.32 
 67                     #-----------------------
 68                     # rebuild target: cleans and and then builds everything and runs tests
 69                     #
 70                     
 71                     
 72                     rebuild: clean repositoryclean world
 73                     
 74                     #-----------------------
 75                     # world target: builds everything and runs tests
 76                     #
 77                     #       Typically used after a fresh checkout from CVS 
 78                     #
 79                     #                 builds mu utility, 
 80                     #                 builds dependencies, 
 81                     #                 compiles all
 82                     #                 sets up the dev server env, 
 83                     #                 builds repository,
 84                     #                 runs the unit tests
 85                     
 86                     world: buildmu depend all setupdevserver repository
 87 mike           1.8  	@ $(MAKE) -s tests
 88 mike           1.1  
 89 jim.wunderlich 1.32 #---------------------
 90                     # buildmu target: build mu the make utility that among other things
 91                     #                 includes depend
 92                     buildmu: FORCE
 93                     	$(MKDIRHIER) $(BIN_DIR)
 94                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
 95                     
 96                     #----------------------
 97                     # setupdevserver and cleandevserver are used to setup and clear the 
 98                     # server configuration files needed to run the server in a development
 99                     # environment. 
100                     #
101                     setupdevserver: FORCE
102                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
103                     	@$(ECHO) "PEGASUS Development Server Runtime Environment configured "
104                     
105                     cleandevserver: FORCE
106                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run_clean
107 karl           1.6  
108                     # The repository Target removes and rebuilds the CIM repository
109 mike           1.4  
110 kumpf          1.25 # Note: Arguments must be quoted to preserve upper case characters in VMS.
111 kumpf          1.18 repository: FORCE
112 kumpf          1.25 	@ $(MAKE) "-SC" Schemas/Pegasus repository
113 mike           1.9  
114 jim.wunderlich 1.29 repositoryclean: FORCE
115                     	@ $(RMREPOSITORY) $(REPOSITORY_ROOT)
116                     
117 kumpf          1.18 repositoryServer: FORCE
118 kumpf          1.25 	@ $(MAKE) "-SC" Schemas/Pegasus repositoryServer
119 kumpf          1.17 
120 kumpf          1.18 testrepository: FORCE
121 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load repository
122                     	@ $(MAKE) "-SC" test/wetest repository
123                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository
124 chuck          1.26 	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository
125 chuck          1.27 	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository
126 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load repository
127 a.arora        1.30 	@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository
128 kumpf          1.17 
129 kumpf          1.18 testrepositoryServer: FORCE
130 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer
131                     	@ $(MAKE) "-SC" test/wetest repositoryServer
132                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer
133 chuck          1.26 	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer
134 chuck          1.27 	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer
135 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer
136 a.arora        1.30 	@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer
137 kumpf          1.16 
138 kumpf          1.18 removetestrepository: FORCE
139 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load removerepository
140                     	@ $(MAKE) "-SC" test/wetest removerepository
141                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository
142 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository
143 karl           1.15 
144 konrad.r       1.24 config:
145                     	@ $(ROOT)/SetConfig_EnvVar
146                     
147 humberto       1.21 messages: rootbundle
148                     
149                     rootbundle: 
150                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile
151                     
152 karl           1.15 # the collections of tests that we run with the server active.
153                     # For now, these are centralized and do not include startup
154                     # and shutdown of the server.
155                     
156 kumpf          1.18 activetests: FORCE
157 mday           1.19 	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
158                     	$(PEGASUS_ROOT)/bin/TestClient
159                     	$(PEGASUS_ROOT)/bin/Client
160                     	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2