1 karl 1.6 # Pegasus top level make file
2 # options are
3 # Make rebuild
4 # Make world
5 # Make tests - Executes the complete test suite
6 # Make repository - Rebuilds the Pegasus repository
7 #
|
8 mike 1.1 ROOT = .
9
|
10 konrad.r 1.24 include $(ROOT)/env_var.status
|
11 mike 1.1 include $(ROOT)/mak/config.mak
12
|
13 karl 1.11 # This is a recurse make file
|
14 karl 1.6 # Defines subdirectorys to go to recursively
15
|
16 mike 1.3 # DIRS = src cgi
|
17 konrad.r 1.23 DIRS = src test rpm Schemas
|
18 mike 1.1
|
19 karl 1.11 # Define the inclusion of the recurse.mak file to execute the next
20 # level of makefiles defined by the DIRS variable
|
21 karl 1.6
|
22 mike 1.1 include $(ROOT)/mak/recurse.mak
23
|
24 karl 1.6 # rebuild target cleans, setup dependencies, compiles all and builds
25 # repository
26
|
27 kumpf 1.18 FORCE:
28
|
29 kumpf 1.14 rebuild: clean depend all repository
|
30 mike 1.8 @ $(MAKE) -s tests
|
31 mike 1.1
|
32 kumpf 1.14 world: depend all repository
|
33 mike 1.8 @ $(MAKE) -s tests
|
34 karl 1.6
35 # The repository Target removes and rebuilds the CIM repository
|
36 mike 1.4
|
37 kumpf 1.25 # Note: Arguments must be quoted to preserve upper case characters in VMS.
|
38 kumpf 1.18 repository: FORCE
|
39 kumpf 1.25 @ $(MAKE) "-SC" Schemas/Pegasus repository
|
40 mike 1.9
|
41 kumpf 1.18 repositoryServer: FORCE
|
42 kumpf 1.25 @ $(MAKE) "-SC" Schemas/Pegasus repositoryServer
|
43 kumpf 1.17
|
44 kumpf 1.18 testrepository: FORCE
|
45 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load repository
46 @ $(MAKE) "-SC" test/wetest repository
47 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository
|
48 kumpf 1.17
|
49 kumpf 1.18 testrepositoryServer: FORCE
|
50 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer
51 @ $(MAKE) "-SC" test/wetest repositoryServer
52 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer
|
53 kumpf 1.16
|
54 kumpf 1.18 removetestrepository: FORCE
|
55 kumpf 1.25 @ $(MAKE) "-SC" src/Providers/sample/Load removerepository
56 @ $(MAKE) "-SC" test/wetest removerepository
57 @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository
|
58 karl 1.15
|
59 konrad.r 1.24 config:
60 @ $(ROOT)/SetConfig_EnvVar
61
|
62 humberto 1.21 all: messages
63
64 messages: rootbundle
65
66 rootbundle:
67 $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile
68
|
69 karl 1.15 # the collections of tests that we run with the server active.
70 # For now, these are centralized and do not include startup
71 # and shutdown of the server.
72
|
73 kumpf 1.18 activetests: FORCE
|
74 mday 1.19 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
75 $(PEGASUS_ROOT)/bin/TestClient
76 $(PEGASUS_ROOT)/bin/Client
77 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests
|