1 mike 1.2 ###############################################################################
2 ##
3 ## Makefile for Pegasus CIMOM
4 ##
5 ## NOTE: Makefile needs to be executed from the parent directory of
6 ## pegasus directory because the path settings are relative and this
7 ## Makefile may remove and recheckout the pegasus source tree.
8 ##
9 ## Options:
10 ## cleanbuild - Removes the existing pegasus directory contents, performs
11 ## checkout, build and runs tests.
12 ## rebuild - Rebuild and execute tests.
13 ##
14 ###############################################################################
15
|
16 kumpf 1.31 include $(PEGASUS_ROOT)/mak/config.mak
|
17 kumpf 1.34 include $(PEGASUS_ROOT)/mak/commands.mak
|
18 kumpf 1.14
|
19 kumpf 1.34 TESTS = prestarttests poststarttests
|
20 david.eger 1.23
|
21 kumpf 1.12 ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
22 CVS = socksify cvs
23 else
24 CVS = cvs
25 endif
26
|
27 mike 1.2 error:
28 @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"
29
30 cleanbuild: removeall recheckout buildmu all $(TESTS)
31
32 recheckout: removeall checkout
33
34 removeall:
35 $(REMOVE_PEGASUS_DIRECTORY)
36
37 checkout:
|
38 kumpf 1.36 $(CVS) checkout -P pegasus
|
39 david.eger 1.24
|
40 mike 1.2 rebuild: clean buildmu all tests
41
|
42 kumpf 1.28 rebuild-notest: clean buildmu all
43
|
44 kumpf 1.13 build: all tests
|
45 kumpf 1.28
46 build-notest: all
|
47 kumpf 1.13
|
48 kumpf 1.36 clean:
49 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile clean
50
51 buildmu:
52 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile buildmu
53
54 all:
55 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile all
|
56 mike 1.2
|
57 kumpf 1.8 doc:
|
58 kumpf 1.36 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile doc
|
59 mike 1.2
|
60 kumpf 1.17 repositoryServer:
|
61 kumpf 1.36 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile repositoryServer
|
62 david.eger 1.24
|
63 mike 1.2 prestarttests:
|
64 kumpf 1.36 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile prestarttests
|
65 mike 1.2
66 poststarttests:
|
67 kumpf 1.36 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile poststarttests
|
68 mike 1.2
|
69 kumpf 1.36 tests:
70 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
|