1 martin 1.18 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.19 #//
|
3 martin 1.18 #// 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.19 #//
|
10 martin 1.18 #// 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.19 #//
|
17 martin 1.18 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.19 #//
|
20 martin 1.18 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.19 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.18 #// 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.19 #//
|
28 martin 1.18 #//////////////////////////////////////////////////////////////////////////
|
29 mike 1.1
30 CLEAN_DIRS = $(DIRS) $(RECURSE_EXTRA_CLEAN_DIRS)
31
|
32 mike 1.4 define NL
|
33 mike 1.1
34
35 endef
36
|
37 s.kodali 1.17 ##
38 ## PEGASUS_SKIP_MOST_TEST_DIRS -- disables building of tests if "true".
39 ##
40
41 ifdef PEGASUS_SKIP_MOST_TEST_DIRS
42 ifeq ($(PEGASUS_SKIP_MOST_TEST_DIRS),false)
43 DIRS += $(TEST_DIRS)
44 else
45 ifneq ($(PEGASUS_SKIP_MOST_TEST_DIRS),true)
46 $(error PEGASUS_SKIP_MOST_TEST_DIRS ($(PEGASUS_SKIP_MOST_TEST_DIRS)) invalid, must be true or false)
47 endif
48 endif
49 else
50 DIRS += $(TEST_DIRS)
51 endif
52
|
53 gs.keenan 1.14 #
54 # In VMS, arguments that must be in uppercase,
55 # need to be surrounded by double quotes.
56 #
57
|
58 mike 1.1 all: $(RECURSE_DEPENDS) $(ERROR)
|
59 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) $(NL) )
|
60 mike 1.1
61 depend: $(RECURSE_DEPENDS) $(ERROR)
|
62 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) depend $(NL) )
|
63 mike 1.1
64 tests: $(RECURSE_DEPENDS) $(ERROR)
|
65 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) tests $(NL) )
|
66 mike 1.1
|
67 kumpf 1.9 poststarttests: $(RECURSE_DEPENDS) $(ERROR)
|
68 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) poststarttests $(NL) )
|
69 kumpf 1.9
|
70 mike 1.1 clean: $(RECURSE_DEPENDS) $(ERROR)
|
71 gs.keenan 1.14 @ $(foreach i, $(CLEAN_DIRS), $(MAKESH) $(MAKE) "-SC" $(i) clean $(NL))
|
72 mike 1.1
|
73 mike 1.2 misc: $(RECURSE_DEPENDS) $(ERROR)
|
74 gs.keenan 1.14 @ $(foreach i, $(CLEAN_DIRS), $(MAKESH) $(MAKE) "-SC" $(i) misc $(NL))
|
75 mike 1.4
|
76 mike 1.5 docxx: $(RECURSE_DEPENDS) $(ERROR)
|
77 gs.keenan 1.14 @ $(foreach i, $(CLEAN_DIRS), $(MAKESH) $(MAKE) "-SC" $(i) docxx $(NL))
|
78 mike 1.6
79 sub: $(RECURSE_DEPENDS) $(ERROR)
|
80 gs.keenan 1.14 @ $(foreach i, $(CLEAN_DIRS), $(MAKESH) $(MAKE) "-SC" $(i) sub $(NL))
|
81 kumpf 1.8
82 general: $(RECURSE_DEPENDS) $(ERROR)
|
83 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) general OPTION=$(OPTION) $(NL))
|
84 kumpf 1.10
85 strip-license: $(RECURSE_DEPENDS) $(ERROR)
|
86 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) strip-license $(NL) )
|
87 kumpf 1.10
88 prepend-license: $(RECURSE_DEPENDS) $(ERROR)
|
89 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) prepend-license $(NL) )
|
90 chuck 1.11
91 #l10n
92 messages: $(RECURSE_DEPENDS) $(ERROR)
|
93 gs.keenan 1.14 @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) messages $(NL) )
94
|