Print this page
tools: build a tools copy of make (which the build will automatically use)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/Makefile.tools
+++ new/usr/src/tools/Makefile.tools
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 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # Definitions common to tool source.
25 25 #
26 26 include $(SRC)/Makefile.master
27 27
28 28 FILEMODE= 0555
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
29 29
30 30 TOOLS= $(SRC)/tools
31 31 TOOLS_PROTO= $(TOOLS)/proto/root_$(MACH)-nd
32 32 ROOTOPT= $(TOOLS_PROTO)/opt
33 33 ROOTONBLD= $(ROOTOPT)/onbld
34 34 ROOTONBLDBIN= $(ROOTONBLD)/bin
35 35 ROOTONBLDBINMACH= $(ROOTONBLD)/bin/$(MACH)
36 36 ROOTONBLDETC= $(ROOTONBLD)/etc
37 37 ROOTONBLDLIB= $(ROOTONBLD)/lib
38 38 ROOTONBLDLIBMACH= $(ROOTONBLD)/lib/$(MACH)
39 +ROOTONBLDLIBMACH64= $(ROOTONBLD)/lib/$(MACH)/64
39 40 ROOTONBLDLIBPERL= $(ROOTONBLD)/lib/perl
40 41 ROOTONBLDLIBPY= $(ROOTONBLD)/lib/python
41 42 ROOTONBLDLIBPY_26= $(ROOTONBLD)/lib/python2.6
42 43 ROOTONBLDENV= $(ROOTONBLD)/env
43 44 ROOTONBLDGK= $(ROOTONBLD)/gk
44 45 ROOTONBLDMAN= $(ROOTONBLD)/man
45 46 ROOTONBLDMAN1= $(ROOTONBLD)/man/man1
46 47 ROOTONBLDETCABI= $(ROOTONBLD)/etc/abi
47 48 ROOTONBLDETCEXCEPT= $(ROOTONBLD)/etc/exception_lists
49 +ROOTONBLDSHARE= $(ROOTONBLD)/share
48 50
49 51 CPPFLAGS= -D_TS_ERRNO
50 52 ELFSIGN_O= $(TRUE)
51 53 LDLIBS=
52 54 LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
53 55 $(MAPFILE.PGA:%=-M%)
54 56
55 57 ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
56 58 ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
57 59 ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)
58 60 ROOTONBLDMAKEFILES= $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
59 61 ROOTONBLDMACHSHFILES= $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
60 62 ROOTONBLDMACHBINARIES= $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
61 63 ROOTONBLDETCFILES= $(ETCFILES:%=$(ROOTONBLDETC)/%)
62 64 ROOTONBLDENVFILES= $(ENVFILES:%=$(ROOTONBLDENV)/%)
63 65 ROOTONBLDGKFILES= $(GKFILES:%=$(ROOTONBLDGK)/.%)
64 66 ROOTONBLDGKSHFILES= $(SHFILES:%=$(ROOTONBLDGK)/%)
65 67 ROOTONBLDPERLFILES= $(PERLFILES:%=$(ROOTONBLDBIN)/%)
66 68 ROOTONBLDPERLMODULES= $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
67 69 ROOTONBLDPYFILES= $(PYFILES:%=$(ROOTONBLDBIN)/%)
68 70 ROOTONBLDMAN1FILES= $(MAN1FILES:%=$(ROOTONBLDMAN1)/%)
69 71 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
70 72 ROOTONBLDEXCEPTFILES= $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
71 73
72 74 # Break a chicken-and-egg dependency cycle for the tools build
73 75 SCCSCHECK=@echo would sccscheck
74 76
75 77 $(ROOTONBLDETCABI)/%: %
76 78 $(INS.file)
77 79
78 80 $(ROOTONBLDETCEXCEPT)/%: $(CODEMGR_WS)/exception_lists/%
79 81 $(INS.file)
80 82
81 83 $(ROOTONBLDBIN)/%: %
82 84 $(INS.file)
83 85
84 86 $(ROOTONBLDBINMACH)/%: %
85 87 $(INS.file)
86 88
87 89 $(ROOTONBLDETC)/%: %
88 90 $(INS.file)
89 91
90 92 $(ROOTONBLDLIBPERL)/%: %
91 93 $(INS.file)
92 94
93 95 $(ROOTONBLDMAN1)/%: %
94 96 $(INS.file)
95 97
96 98 $(ROOTONBLDENV)/%: %
97 99 $(INS.file)
98 100
99 101 $(ROOTONBLDGK)/.%: %
100 102 $(INS.rename)
101 103
102 104 $(ROOTONBLDGK)/%: %
103 105 $(INS.file)
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX