Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
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 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 25 #
26 26
27 27 include ../Makefile.master
28 28
29 29 # Bootstrap problem --
30 30 # 'cw' must be built before anything else can be built.
31 31
32 32 BOOT_SUBDIRS= \
33 33 cw
34 34
35 35 COMMON_SUBDIRS= \
36 36 codereview \
37 37 codesign \
38 38 cscope-fast \
39 39 ctf \
40 40 depcheck \
41 41 env \
42 42 findunref \
43 43 gk \
44 44 install.bin \
45 45 lintdump \
46 46 make \
47 47 ndrgen \
48 48 onbld \
49 49 pmodes \
50 50 protocmp \
51 51 protolist \
52 52 scripts
53 53
54 54 #
55 55 # special versions of commands for use only in build
56 56 #
57 57 UNSHIPPED_SUBDIRS = \
58 58 elfsign \
59 59 mandoc
60 60
61 61 sparc_SUBDIRS= \
62 62 chk4ubin \
63 63 stabs \
64 64 tokenize
65 65
66 66 i386_SUBDIRS= \
67 67 aw \
68 68 elfextract \
69 69 mbh_patch
70 70
71 71 LINTSUBDIRS= \
72 72 codereview \
73 73 ctf \
74 74 cw \
75 75 findunref \
76 76 lintdump \
77 77 ndrgen \
78 78 protocmp \
79 79 protolist
80 80
81 81 SUBDIRS= \
82 82 $($(MACH)_SUBDIRS) \
83 83 $(COMMON_SUBDIRS) \
84 84 $(UNSHIPPED_SUBDIRS)
85 85
86 86 include Makefile.tools
87 87
88 88 ROOTDIRS= \
89 89 $(ROOTOPT) \
90 90 $(ROOTONBLD) \
91 91 $(ROOTONBLD)/bin \
92 92 $(ROOTONBLD)/bin/$(MACH) \
93 93 $(ROOTONBLD)/lib \
94 94 $(ROOTONBLD)/lib/$(MACH) \
95 95 $(ROOTONBLD)/lib/$(MACH)/64 \
96 96 $(ROOTONBLD)/lib/perl \
97 97 $(ROOTONBLD)/lib/python2.6 \
↓ open down ↓ |
97 lines elided |
↑ open up ↑ |
98 98 $(ROOTONBLD)/lib/python2.6/onbld \
99 99 $(ROOTONBLD)/lib/python2.6/onbld/Checks \
100 100 $(ROOTONBLD)/lib/python2.6/onbld/hgext \
101 101 $(ROOTONBLD)/lib/python2.6/onbld/Scm \
102 102 $(ROOTONBLD)/env \
103 103 $(ROOTONBLD)/etc \
104 104 $(ROOTONBLD)/etc/exception_lists \
105 105 $(ROOTONBLD)/share \
106 106 $(ROOTONBLD)/gk \
107 107 $(ROOTONBLD)/man \
108 - $(ROOTONBLD)/man/man1
108 + $(ROOTONBLD)/man/man1onbld
109 109
110 110 all := TARGET= install
111 111 install := TARGET= install
112 112 clean := TARGET= clean
113 113 clobber := TARGET= clobber
114 114 lint := TARGET= lint
115 115 _msg := TARGET= _msg
116 116
117 117 .KEEP_STATE:
118 118
119 119 #
120 120 # Only create directories in the tools proto area when doing an actual
121 121 # build, not a clean or clobber.
122 122 #
123 123 DOROOTDIRS= $(ROOTDIRS)
124 124 clobber:= DOROOTDIRS=
125 125 clean:= DOROOTDIRS=
126 126
127 127 all install: $(SUBDIRS)
128 128
129 129 clean: $(SUBDIRS)
130 130
131 131 clobber: $(SUBDIRS)
132 132 $(RM) -rf $(TOOLS_PROTO)
133 133
134 134 lint: $(LINTSUBDIRS)
135 135
136 136 _msg: $(MSGSUBDIRS)
137 137
138 138 .PARALLEL: $(SUBDIRS) $(CLOSED_SUBDIRS)
139 139
140 140 $(SUBDIRS) $(CLOSED_SUBDIRS): $(BOOT_SUBDIRS)
141 141
142 142 $(BOOT_SUBDIRS) $(SUBDIRS): $$(DOROOTDIRS) $(ROOTONBLDLIBPY) FRC
143 143 @cd $@; pwd; $(MAKE) $(TARGET)
144 144
145 145 $(ROOTDIRS):
146 146 $(INS.dir)
147 147
148 148 $(ROOTONBLDLIBPY): $(ROOTDIRS)
149 149 $(RM) -r $@; $(SYMLINK) python2.6 $@
150 150
151 151 make: ctf
152 152
153 153 FRC:
↓ open down ↓ |
35 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX