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