(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                     build: all setupdevserver
 66                     	@ $(MAKE) -s tests 
 67                     
 68                     #-----------------------
 69                     # rebuild target: cleans and and then builds everything and runs tests
 70                     #
 71                     
 72                     
 73                     rebuild: clean repositoryclean world
 74                     
 75                     #-----------------------
 76                     # world target: builds everything and runs tests
 77                     #
 78                     #       Typically used after a fresh checkout from CVS 
 79 jim.wunderlich 1.32 #
 80                     #                 builds mu utility, 
 81                     #                 builds dependencies, 
 82                     #                 compiles all
 83                     #                 sets up the dev server env, 
 84                     #                 builds repository,
 85                     #                 runs the unit tests
 86                     
 87                     world: buildmu depend all setupdevserver repository
 88 mike           1.8  	@ $(MAKE) -s tests
 89 mike           1.1  
 90 jim.wunderlich 1.32 #---------------------
 91                     # buildmu target: build mu the make utility that among other things
 92                     #                 includes depend
 93                     buildmu: FORCE
 94                     	$(MKDIRHIER) $(BIN_DIR)
 95                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
 96                     
 97                     #----------------------
 98                     # setupdevserver and cleandevserver are used to setup and clear the 
 99                     # server configuration files needed to run the server in a development
100                     # environment. 
101                     #
102                     setupdevserver: FORCE
103                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
104                     	@$(ECHO) "PEGASUS Development Server Runtime Environment configured "
105                     
106                     cleandevserver: FORCE
107                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run_clean
108 karl           1.6  
109                     # The repository Target removes and rebuilds the CIM repository
110 mike           1.4  
111 kumpf          1.25 # Note: Arguments must be quoted to preserve upper case characters in VMS.
112 kumpf          1.18 repository: FORCE
113 kumpf          1.25 	@ $(MAKE) "-SC" Schemas/Pegasus repository
114 mike           1.9  
115 jim.wunderlich 1.29 repositoryclean: FORCE
116                     	@ $(RMREPOSITORY) $(REPOSITORY_ROOT)
117                     
118 kumpf          1.18 repositoryServer: FORCE
119 kumpf          1.25 	@ $(MAKE) "-SC" Schemas/Pegasus repositoryServer
120 kumpf          1.17 
121 kumpf          1.18 testrepository: FORCE
122 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load repository
123                     	@ $(MAKE) "-SC" test/wetest repository
124                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository
125 chuck          1.26 	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository
126 chuck          1.27 	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository
127 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load repository
128 a.arora        1.30 	@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository
129 kumpf          1.17 
130 kumpf          1.18 testrepositoryServer: FORCE
131 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer
132                     	@ $(MAKE) "-SC" test/wetest repositoryServer
133                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer
134 chuck          1.26 	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer
135 chuck          1.27 	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer
136 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer
137 a.arora        1.30 	@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer
138 kumpf          1.16 
139 kumpf          1.18 removetestrepository: FORCE
140 kumpf          1.25 	@ $(MAKE) "-SC" src/Providers/sample/Load removerepository
141                     	@ $(MAKE) "-SC" test/wetest removerepository
142                     	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository
143 kumpf          1.28 	@ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository
144 karl           1.15 
145 konrad.r       1.24 config:
146                     	@ $(ROOT)/SetConfig_EnvVar
147                     
148 humberto       1.21 messages: rootbundle
149                     
150                     rootbundle: 
151                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile
152                     
153 karl           1.15 # the collections of tests that we run with the server active.
154                     # For now, these are centralized and do not include startup
155                     # and shutdown of the server.
156                     
157 kumpf          1.18 activetests: FORCE
158 mday           1.19 	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
159                     	$(PEGASUS_ROOT)/bin/TestClient
160                     	$(PEGASUS_ROOT)/bin/Client
161                     	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2