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.18 FORCE:
27
|
28 kumpf 1.14 rebuild: clean depend all repository
|
29 mike 1.8 @ $(MAKE) -s tests
|
30 mike 1.1
|
31 kumpf 1.14 world: depend all repository
|
32 mike 1.8 @ $(MAKE) -s tests
|
33 karl 1.6
34 # The repository Target removes and rebuilds the CIM repository
|
35 mike 1.4
|
36 kumpf 1.18 repository: FORCE
|
37 kumpf 1.13 @ $(MAKE) -SC Schemas/Pegasus repository
|
38 mike 1.9
|
39 kumpf 1.18 repositoryServer: FORCE
|
40 kumpf 1.17 @ $(MAKE) -SC Schemas/Pegasus repositoryServer
41
|
42 kumpf 1.18 testrepository: FORCE
|
43 kumpf 1.16 @ $(MAKE) -SC src/Providers/sample/Load repository
44 @ $(MAKE) -SC test/wetest repository
|
45 kumpf 1.17
|
46 kumpf 1.18 testrepositoryServer: FORCE
|
47 kumpf 1.17 @ $(MAKE) -SC src/Providers/sample/Load repositoryServer
48 @ $(MAKE) -SC test/wetest repositoryServer
|
49 kumpf 1.16
|
50 kumpf 1.18 removetestrepository: FORCE
|
51 kumpf 1.16 @ $(MAKE) -SC src/Providers/sample/Load removerepository
52 @ $(MAKE) -SC test/wetest removerepository
|
53 karl 1.15
54 # the collections of tests that we run with the server active.
55 # For now, these are centralized and do not include startup
56 # and shutdown of the server.
57
|
58 kumpf 1.18 activetests: FORCE
|
59 mday 1.19 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
60 $(PEGASUS_ROOT)/bin/TestClient
61 $(PEGASUS_ROOT)/bin/Client
62 $(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests
|