Print this page
Use onbld mandoc.
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 \
↓ open down ↓ |
45 lines elided |
↑ open up ↑ |
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 - elfsign
56 + elfsign \
57 + mandoc
57 58
58 59 sparc_SUBDIRS= \
59 60 chk4ubin \
60 61 stabs \
61 62 tokenize
62 63
63 64 i386_SUBDIRS= \
64 65 aw \
65 66 elfextract \
66 67 mbh_patch
67 68
68 69 LINTSUBDIRS= \
69 70 codereview \
70 71 ctf \
71 72 cw \
72 73 findunref \
73 74 lintdump \
74 75 ndrgen \
75 76 protocmp \
76 77 protolist
77 78
78 79 SUBDIRS= \
79 80 $($(MACH)_SUBDIRS) \
80 81 $(COMMON_SUBDIRS) \
81 82 $(UNSHIPPED_SUBDIRS)
82 83
83 84 include Makefile.tools
84 85
85 86 ROOTDIRS= \
86 87 $(ROOTOPT) \
87 88 $(ROOTONBLD) \
88 89 $(ROOTONBLD)/bin \
89 90 $(ROOTONBLD)/bin/$(MACH) \
90 91 $(ROOTONBLD)/lib \
91 92 $(ROOTONBLD)/lib/$(MACH) \
92 93 $(ROOTONBLD)/lib/perl \
93 94 $(ROOTONBLD)/lib/python2.6 \
94 95 $(ROOTONBLD)/lib/python2.6/onbld \
95 96 $(ROOTONBLD)/lib/python2.6/onbld/Checks \
96 97 $(ROOTONBLD)/lib/python2.6/onbld/hgext \
97 98 $(ROOTONBLD)/lib/python2.6/onbld/Scm \
98 99 $(ROOTONBLD)/env \
99 100 $(ROOTONBLD)/etc \
100 101 $(ROOTONBLD)/etc/exception_lists \
101 102 $(ROOTONBLD)/gk \
102 103 $(ROOTONBLD)/man \
103 104 $(ROOTONBLD)/man/man1
104 105
105 106 all := TARGET= install
106 107 install := TARGET= install
107 108 clean := TARGET= clean
108 109 clobber := TARGET= clobber
109 110 lint := TARGET= lint
110 111 _msg := TARGET= _msg
111 112
112 113 .KEEP_STATE:
113 114
114 115 #
115 116 # Only create directories in the tools proto area when doing an actual
116 117 # build, not a clean or clobber.
117 118 #
118 119 DOROOTDIRS= $(ROOTDIRS)
119 120 clobber:= DOROOTDIRS=
120 121 clean:= DOROOTDIRS=
121 122
122 123 all install: $(SUBDIRS)
123 124
124 125 clean: $(SUBDIRS)
125 126
126 127 clobber: $(SUBDIRS)
127 128 $(RM) -rf $(TOOLS_PROTO)
128 129
129 130 lint: $(LINTSUBDIRS)
130 131
131 132 _msg: $(MSGSUBDIRS)
132 133
133 134 .PARALLEL: $(SUBDIRS) $(CLOSED_SUBDIRS)
134 135
135 136 $(SUBDIRS) $(CLOSED_SUBDIRS): $(BOOT_SUBDIRS)
136 137
137 138 $(BOOT_SUBDIRS) $(SUBDIRS): $$(DOROOTDIRS) $(ROOTONBLDLIBPY) FRC
138 139 @cd $@; pwd; $(MAKE) $(TARGET)
139 140
140 141 $(ROOTDIRS):
141 142 $(INS.dir)
142 143
143 144 $(ROOTONBLDLIBPY): $(ROOTDIRS)
144 145 $(RM) -r $@; $(SYMLINK) python2.6 $@
145 146
146 147 FRC:
↓ open down ↓ |
80 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX