1 martin 1.44 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.45 #//
|
3 martin 1.44 #// Licensed to The Open Group (TOG) under one or more contributor license
4 #// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 #// this work for additional information regarding copyright ownership.
6 #// Each contributor licenses this file to you under the OpenPegasus Open
7 #// Source License; you may not use this file except in compliance with the
8 #// License.
|
9 martin 1.45 #//
|
10 martin 1.44 #// Permission is hereby granted, free of charge, to any person obtaining a
11 #// copy of this software and associated documentation files (the "Software"),
12 #// to deal in the Software without restriction, including without limitation
13 #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 #// and/or sell copies of the Software, and to permit persons to whom the
15 #// Software is furnished to do so, subject to the following conditions:
|
16 martin 1.45 #//
|
17 martin 1.44 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.45 #//
|
20 martin 1.44 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.45 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.44 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.45 #//
|
28 martin 1.44 #//////////////////////////////////////////////////////////////////////////
|
29 mike 1.2 ###############################################################################
30 ##
|
31 kumpf 1.39 ## Makefile for managing a Pegasus source tree
|
32 mike 1.2 ##
|
33 kumpf 1.37 ## NOTE: This Makefile should be executed from the parent directory of the
34 ## pegasus directory because it may remove and recheckout the pegasus source
35 ## tree.
|
36 mike 1.2 ##
37 ## Options:
|
38 kumpf 1.39 ## cleanbuild - Remove the existing pegasus directory, perform a CVS
|
39 kumpf 1.46 ## checkout of the pegasus source, build, and run tests.
|
40 kumpf 1.39 ## removeall - Remove the existing pegasus directory.
41 ## checkout - Perform a CVS checkout of the pegasus source.
42 ## recheckout - Remove the existing pegasus directory and perform a CVS
43 ## checkout of the pegasus source.
|
44 kumpf 1.46 ##
|
45 kumpf 1.39 ## All pegasus/TestMakefile options are also supported by this Makefile.
46 ##
|
47 mike 1.2 ###############################################################################
48
|
49 kumpf 1.39 include $(PEGASUS_ROOT)/TestMakefile
|
50 kumpf 1.14
|
51 kumpf 1.12 ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
52 CVS = socksify cvs
53 else
54 CVS = cvs
55 endif
56
|
57 kumpf 1.43 # Explicitly invoke the TestMakefile so that the re-checked-out copy is used.
58 cleanbuild: recheckout
59 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile build
60 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile alltests
|
61 mike 1.2
62 recheckout: removeall checkout
63
64 removeall:
65 $(REMOVE_PEGASUS_DIRECTORY)
66
67 checkout:
|
68 kumpf 1.36 $(CVS) checkout -P pegasus
|