Print this page
4525 remove last vestiges of tonic
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/scripts/Makefile
+++ new/usr/src/tools/scripts/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
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
20 20 #
21 21 #
22 22 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # Copyright 2010, Richard Lowe
25 25
26 26 SHELL=/usr/bin/ksh93
27 27
28 28 SHFILES= \
29 29 Install \
30 - bindrop \
31 30 bldenv \
32 31 build_cscope \
33 32 bringovercheck \
34 33 checkpaths \
35 34 checkproto \
36 - cryptodrop \
37 35 cstyle \
38 36 elfcmp \
39 37 flg.flp \
40 38 genoffsets \
41 39 hgsetup \
42 40 nightly \
43 41 onu \
44 42 protocmp.terse \
45 43 sccscheck \
46 44 webrev \
47 45 which_scm \
48 46 ws \
49 47 xref
50 48
51 49 PERLFILES= \
52 50 check_rtime \
53 51 find_elf \
54 52 interface_check \
55 53 interface_cmp \
56 54 jstyle \
57 - mkreadme_osol \
58 - mktpl \
59 55 validate_flg \
60 56 validate_paths \
61 57 wdiff
62 58
63 59 PERLMODULES= \
64 60 onbld_elfmod.pm \
65 61 onbld_elfmod_vertype.pm
66 62
67 63
68 64 PYFILES= \
69 65 cddlchk \
70 66 copyrightchk \
71 67 git-pbchk \
72 68 hdrchk \
73 69 hg-active \
74 70 mapfilechk \
75 71 validate_pkg \
76 72 wsdiff
77 73
78 74 SCRIPTLINKS= \
79 75 git-nits
80 76
81 77 MAN1FILES= \
82 78 Install.1 \
83 79 bldenv.1 \
84 80 bringovercheck.1 \
85 81 cddlchk.1 \
86 82 checkpaths.1 \
87 83 check_rtime.1 \
88 84 cstyle.1 \
89 85 find_elf.1 \
90 86 flg.flp.1 \
91 87 git-pbchk.1 \
92 88 hdrchk.1 \
93 89 interface_check.1 \
94 90 interface_cmp.1 \
95 91 hgsetup.1 \
96 92 jstyle.1 \
97 93 mapfilechk.1 \
98 94 nightly.1 \
99 95 onu.1 \
100 96 sccscheck.1 \
101 97 webrev.1 \
102 98 which_scm.1 \
103 99 ws.1 \
104 100 wsdiff.1 \
105 101 xref.1
106 102
107 103 MAN1LINKS= \
108 104 git-nits.1
109 105
110 106 MAKEFILES= \
111 107 xref.mk
112 108
113 109 ETCFILES= \
114 110 hgstyle \
115 111 its.conf \
116 112 its.reg
117 113
118 114 EXCEPTFILES= \
119 115 check_rtime \
120 116 interface_check \
121 117 interface_cmp
122 118
123 119 CLEANFILES = $(SHFILES) $(PERLFILES) $(PYFILES) bldenv.1
124 120
125 121 include ../Makefile.tools
126 122
127 123 ROOTONBLDSCRIPTLINKS = $(SCRIPTLINKS:%=$(ROOTONBLDBIN)/%)
128 124 ROOTONBLDMAN1LINKS = $(MAN1LINKS:%=$(ROOTONBLDMAN1)/%)
129 125
130 126 $(ROOTONBLDETCFILES) := FILEMODE= 644
131 127 $(ROOTONBLDEXCEPTFILES) := FILEMODE= 644
132 128 $(ROOTONBLDPERLMODULES) := FILEMODE= 644
133 129 $(ROOTONBLDMAKEFILES) := FILEMODE= 644
134 130 $(ROOTONBLDMAN1FILES) := FILEMODE= 644
135 131
136 132 .KEEP_STATE:
137 133
138 134 all: $(SHFILES) $(PERLFILES) $(PERLMODULES) $(PYFILES) \
139 135 $(MAN1FILES) $(MAKEFILES)
140 136
141 137 $(ROOTONBLDBIN)/git-nits:
142 138 $(RM) $(ROOTONBLDBIN)/git-nits
143 139 $(SYMLINK) git-pbchk $(ROOTONBLDBIN)/git-nits
144 140
145 141 $(ROOTONBLDMAN1)/git-nits.1:
146 142 $(RM) $(ROOTONBLDMAN1)/git-nits.1
147 143 $(SYMLINK) git-pbchk.1 $(ROOTONBLDMAN1)/git-nits.1
148 144
149 145 install: all .WAIT $(ROOTONBLDSHFILES) $(ROOTONBLDPERLFILES) \
150 146 $(ROOTONBLDPERLMODULES) $(ROOTONBLDPYFILES) \
151 147 $(ROOTONBLDSCRIPTLINKS) $(ROOTONBLDMAN1FILES) \
152 148 $(ROOTONBLDMAKEFILES) $(ROOTONBLDETCFILES) \
153 149 $(ROOTONBLDEXCEPTFILES) $(ROOTONBLDMAN1LINKS)
154 150
155 151 clean:
156 152 $(RM) $(CLEANFILES)
157 153
158 154 bldenv: bldenv.sh stdenv.sh
159 155 $(RM) "$@"
160 156 sed -e '/# STDENV_START/ r stdenv.sh' bldenv.sh > "$@"
161 157 # Check for shell lint and fail if we hit warnings
162 158 shlintout="$$( /usr/bin/ksh93 -n "$@" 2>&1 )" ; \
163 159 [[ "$${shlintout}" != "" ]] && \
164 160 { print -r -- "$${shlintout}" ; false ; } || true
165 161 $(CHMOD) +x "$@"
166 162
167 163 bldenv.1: bldenv
168 164 $(RM) "$@"
169 165 (set +o errexit ; ksh93 $? --nroff ; true) 2>&1 | \
170 166 sed 's/\.DS/.nf/g;s/\.DE/.fi/' > "$@"
171 167
172 168 nightly: nightly.sh stdenv.sh
173 169 $(RM) "$@"
174 170 sed -e '/# STDENV_START/ r stdenv.sh' nightly.sh > nightly
175 171 $(CHMOD) +x "$@"
176 172
177 173 include ../Makefile.targ
178 174
↓ open down ↓ |
110 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX