Cross Reference: /solaris-userland/components/bash/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
110N/A# The contents of this file are subject to the terms of the 110N/A# Common Development and Distribution License (the "License"). 110N/A# You may not use this file except in compliance with the License. 110N/A# See the License for the specific language governing permissions 110N/A# and limitations under the License. 110N/A# When distributing Covered Code, include this CDDL HEADER in each 110N/A# If applicable, add the following below this CDDL HEADER, with the 110N/A# fields enclosed by brackets "[]" replaced with your own identifying 110N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5516N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 5680N/A# Avoid running configure again during the build due to patches to 5680N/A# configure-related files by running autoconf before we run configure. 5680N/A# Enable C99 mode + -Xc for its additional warnings. 110N/A# Use the maximum number of registers on sparc since we have no libraries 110N/A# 8 byte memory alignment + interpretation of non-alignment instead of SIGBUS 110N/A# -xinline=%auto -- we like inlining where appropriate 110N/A# -xbuiltin=%none -- builtins have been known to be buggy 110N/A# configure checks for some functions, but doesn't seem to want to link in 110N/A# just because we pass -mt, by explicitly passing -lc. 110N/A# -z redlocsym -- let's shrink the SHT_SYMTAB as much as we can 5516N/A# Results output is slightly different on Intel vs. SPARC. 3823N/A# Do not change the order of these regexp transforms. 3823N/A '-e "s/^[0-9]\{1,\}[a-z]\{1,\}[0-9]\{1,\}//g"' \
3823N/A '-e "s/^[0-9]\{1,\},[0-9]\{1,\}[a-z]\{1,\}[0-9]\{1,\},[0-9]\{1,\}//g"' \
110N/A# The bash test harness needs the GNU userland utilities 5680N/A# This avoids the need to patch configure or other files for these dependencies. 5680N/A# Ignore tgetent() checks in configure and use libncurses on Solaris. 5680N/A# bash will trigger an autoconf during the build; so apply above again 5680N/A# XXX just apply configure_env? 5680N/A# COMPONENT_BUILD_ENV += $(CONFIGURE_ENV) 4708N/A# The tests use /tmp/xx, and there can only be one user running 5516N/A# the them at a time. Need to remove /tmp/xx after testing to 4708N/A# avoid permission issues for other users running these tests