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 include $(ROOT)/mak/config.mak
11
|
12 karl 1.11 # This is a recurse make file
|
13 karl 1.6 # Defines subdirectorys to go to recursively
14
|
15 mike 1.3 # DIRS = src cgi
|
16 kumpf 1.16 DIRS = src test
|
17 mike 1.1
|
18 karl 1.11 # Define the inclusion of the recurse.mak file to execute the next
19 # level of makefiles defined by the DIRS variable
|
20 karl 1.6
|
21 mike 1.1 include $(ROOT)/mak/recurse.mak
22
|
23 karl 1.6 # rebuild target cleans, setup dependencies, compiles all and builds
24 # repository
25
|
26 kumpf 1.14 rebuild: clean depend all repository
|
27 mike 1.8 @ $(MAKE) -s tests
|
28 mike 1.1
|
29 kumpf 1.14 world: depend all repository
|
30 mike 1.8 @ $(MAKE) -s tests
|
31 karl 1.6
32 # The repository Target removes and rebuilds the CIM repository
|
33 mike 1.4
34 repository:
|
35 kumpf 1.13 @ $(MAKE) -SC Schemas/Pegasus repository
|
36 mike 1.9
|
37 kumpf 1.16 testrepository:
38 @ $(MAKE) -SC src/Providers/sample/Load repository
39 @ $(MAKE) -SC test/wetest repository
40
41 removetestrepository:
42 @ $(MAKE) -SC src/Providers/sample/Load removerepository
43 @ $(MAKE) -SC test/wetest removerepository
|
44 karl 1.15
45 # the collections of tests that we run with the server active.
46 # For now, these are centralized and do not include startup
47 # and shutdown of the server.
48
49 activetests:
50 $(MAKE) --directory=pegasus/test -f Makefile clean
51 TestClient
52 Client
53 $(MAKE) --directory=test -f Makefile tests
|