Print this page
*** NO COMMENTS ***
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/Makefile
+++ new/usr/src/tools/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25
26 26 include ../Makefile.master
27 27
28 28 # Bootstrap problem --
29 29 # 'cw' must be built before anything else can be built.
30 30
31 31 BOOT_SUBDIRS= \
32 32 cw
33 33
34 34 COMMON_SUBDIRS= \
35 35 codereview \
36 36 codesign \
37 37 cscope-fast \
38 38 ctf \
39 39 depcheck \
40 40 env \
41 41 findunref \
42 42 ndrgen \
43 43 onbld \
44 44 pmodes \
45 45 gk \
46 46 install.bin \
47 47 lintdump \
48 48 protocmp \
49 49 protolist \
50 50 scripts
51 51
52 52 #
53 53 # special versions of commands for use only in build
54 54 #
55 55 UNSHIPPED_SUBDIRS = \
56 56 elfsign
57 57
58 58 sparc_SUBDIRS= \
59 59 chk4ubin \
60 60 stabs \
61 61 tokenize
62 62
63 63 i386_SUBDIRS= \
64 64 aw \
65 65 elfextract \
66 66 mbh_patch
67 67
68 68 LINTSUBDIRS= \
69 69 codereview \
70 70 ctf \
71 71 cw \
72 72 findunref \
73 73 lintdump \
74 74 ndrgen \
75 75 protocmp \
76 76 protolist
77 77
78 78 SUBDIRS= \
79 79 $($(MACH)_SUBDIRS) \
80 80 $(COMMON_SUBDIRS) \
81 81 $(UNSHIPPED_SUBDIRS)
82 82
↓ open down ↓ |
82 lines elided |
↑ open up ↑ |
83 83 include Makefile.tools
84 84
85 85 ROOTDIRS= \
86 86 $(ROOTOPT) \
87 87 $(ROOTONBLD) \
88 88 $(ROOTONBLD)/bin \
89 89 $(ROOTONBLD)/bin/$(MACH) \
90 90 $(ROOTONBLD)/lib \
91 91 $(ROOTONBLD)/lib/$(MACH) \
92 92 $(ROOTONBLD)/lib/perl \
93 - $(ROOTONBLD)/lib/python2.4 \
94 - $(ROOTONBLD)/lib/python2.4/onbld \
95 - $(ROOTONBLD)/lib/python2.4/onbld/Checks \
96 - $(ROOTONBLD)/lib/python2.4/onbld/hgext \
97 - $(ROOTONBLD)/lib/python2.4/onbld/Scm \
98 93 $(ROOTONBLD)/lib/python2.6 \
99 94 $(ROOTONBLD)/lib/python2.6/onbld \
100 95 $(ROOTONBLD)/lib/python2.6/onbld/Checks \
101 96 $(ROOTONBLD)/lib/python2.6/onbld/hgext \
102 97 $(ROOTONBLD)/lib/python2.6/onbld/Scm \
103 98 $(ROOTONBLD)/env \
104 99 $(ROOTONBLD)/etc \
105 100 $(ROOTONBLD)/etc/exception_lists \
106 101 $(ROOTONBLD)/gk \
107 102 $(ROOTONBLD)/man \
108 103 $(ROOTONBLD)/man/man1
109 104
110 105 all := TARGET= install
111 106 install := TARGET= install
112 107 clean := TARGET= clean
113 108 clobber := TARGET= clobber
114 109 lint := TARGET= lint
115 110 _msg := TARGET= _msg
116 111
117 112 .KEEP_STATE:
118 113
119 114 #
120 115 # Only create directories in the tools proto area when doing an actual
121 116 # build, not a clean or clobber.
122 117 #
123 118 DOROOTDIRS= $(ROOTDIRS)
124 119 clobber:= DOROOTDIRS=
125 120 clean:= DOROOTDIRS=
126 121
127 122 all install: $(SUBDIRS)
128 123
129 124 clean: $(SUBDIRS)
130 125
131 126 clobber: $(SUBDIRS)
132 127 $(RM) -rf $(TOOLS_PROTO)
133 128
134 129 lint: $(LINTSUBDIRS)
135 130
136 131 _msg: $(MSGSUBDIRS)
137 132
138 133 .PARALLEL: $(SUBDIRS) $(CLOSED_SUBDIRS)
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
139 134
140 135 $(SUBDIRS) $(CLOSED_SUBDIRS): $(BOOT_SUBDIRS)
141 136
142 137 $(BOOT_SUBDIRS) $(SUBDIRS): $$(DOROOTDIRS) $(ROOTONBLDLIBPY) FRC
143 138 @cd $@; pwd; $(MAKE) $(TARGET)
144 139
145 140 $(ROOTDIRS):
146 141 $(INS.dir)
147 142
148 143 $(ROOTONBLDLIBPY): $(ROOTDIRS)
149 - $(RM) -r $@; $(SYMLINK) python2.4 $@
144 + $(RM) -r $@; $(SYMLINK) python2.6 $@
150 145
151 146 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX