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 karl 1.6 # rebuild target cleans, setup dependencies, compiles all and builds
53 # repository
54
|
55 kumpf 1.18 FORCE:
56
|
57 kumpf 1.14 rebuild: clean depend all repository
|
58 mike 1.8 @ $(MAKE) -s tests
|
59 mike 1.1
|
60 kumpf 1.14 world: depend all repository
|
61 mike 1.8 @ $(MAKE) -s tests
|
62 karl 1.6
63 # The repository Target removes and rebuilds the CIM repository
|
64 mike 1.4
|
65 kumpf 1.25 # Note: Arguments must be quoted to preserve upper case characters in VMS.
|
66 kumpf 1.18 repository: FORCE
|
67 kumpf 1.25 @ $(MAKE) "-SC" Schemas/Pegasus repository
|
68 mike 1.9
|
69 jim.wunderlich 1.29 repositoryclean: FORCE
70 @ $(RMREPOSITORY) $(REPOSITORY_ROOT)
71
|
72 kumpf 1.18 repositoryServer: FORCE
|
73 kumpf 1.25 @ $(MAKE) "-SC" Schemas/Pegasus repositoryServer
|
74 kumpf 1.17
|
75 kumpf 1.18 testrepository: FORCE
|
76 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load repository
77 @ $(MAKE) "-SC" test/wetest repository
78 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository
|
79 chuck 1.26 @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository
|
80 chuck 1.27 @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository
|
81 kumpf 1.28 @ $(MAKE) "-SC" src/Providers/TestProviders/Load repository
|
82 a.arora 1.30 @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository
|
83 kumpf 1.17
|
84 kumpf 1.18 testrepositoryServer: FORCE
|
85 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer
86 @ $(MAKE) "-SC" test/wetest repositoryServer
87 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer
|
88 chuck 1.26 @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer
|
89 chuck 1.27 @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer
|
90 kumpf 1.28 @ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer
|
91 a.arora 1.30 @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer
|
92 kumpf 1.16
|
93 kumpf 1.18 removetestrepository: FORCE
|
94 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load removerepository
95 @ $(MAKE) "-SC" test/wetest removerepository
96 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository
|
97 kumpf 1.28 @ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository
|
98 karl 1.15
|
99 konrad.r 1.24 config:
100 @ $(ROOT)/SetConfig_EnvVar
101
|
102 humberto 1.21 all: messages
103
104 messages: rootbundle
105
106 rootbundle:
107 $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile
108
|
109 karl 1.15 # the collections of tests that we run with the server active.
110 # For now, these are centralized and do not include startup
111 # and shutdown of the server.
112
|
113 kumpf 1.18 activetests: FORCE
|
114 mday 1.19 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
115 $(PEGASUS_ROOT)/bin/TestClient
116 $(PEGASUS_ROOT)/bin/Client
117 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests
|