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