Mercurial > illumos > illumos-gate
annotate usr/src/Makefile @ 1792:7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
6406667 cw should tell you its version
6409965 cw waitpid and gcc writing to stderr can deadlock
author | wesolows |
---|---|
date | Tue, 11 Apr 2006 13:06:32 -0700 |
parents | 78cca3d2cc4b |
children | 61bcd18fbe88 |
rev | line source |
---|---|
0 | 1 # |
2 # CDDL HEADER START | |
3 # | |
4 # The contents of this file are subject to the terms of the | |
1167 | 5 # Common Development and Distribution License (the "License"). |
6 # You may not use this file except in compliance with the License. | |
0 | 7 # |
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
9 # or http://www.opensolaris.org/os/licensing. | |
10 # See the License for the specific language governing permissions | |
11 # and limitations under the License. | |
12 # | |
13 # When distributing Covered Code, include this CDDL HEADER in each | |
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. | |
15 # If applicable, add the following below this CDDL HEADER, with the | |
16 # fields enclosed by brackets "[]" replaced with your own identifying | |
17 # information: Portions Copyright [yyyy] [name of copyright owner] | |
18 # | |
19 # CDDL HEADER END | |
20 # | |
21 # | |
1714
f7b00320e3a1
6393462 move lw8 to usr/src (fix export source build)
stevel
parents:
1167
diff
changeset
|
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
0 | 23 # Use is subject to license terms. |
24 # | |
25 # ident "%Z%%M% %I% %E% SMI" | |
26 # | |
27 # Makefile for system source | |
28 # | |
29 # include global definitions | |
30 include Makefile.master | |
31 # | |
32 # the Targetdirs file is the AT&T target.dirs file in a makefile format. | |
33 # it defines TARGETDIRS and ROOTDIRS. | |
34 include Targetdirs | |
35 | |
36 COMMON_SUBDIRS= uts lib cmd ucblib ucbcmd | |
37 | |
38 # | |
39 # sparc needs to build both stand and psm, in that order | |
40 # x86 needs to build psm and GRUB | |
41 # | |
42 sparc_SUBDIRS= stand psm | |
43 i386_SUBDIRS= psm grub | |
44 | |
45 SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) | |
46 | |
47 HDRSUBDIRS= uts head lib cmd ucbhead | |
48 | |
49 # UCB headers are bug-for-bug compatible and not checkable against the header | |
50 # standards. | |
51 # | |
52 CHKHDRSUBDIRS= head uts lib | |
53 | |
54 # The check target also causes smf(5) service manifests to be validated. | |
55 CHKMFSTSUBDIRS= cmd | |
56 | |
57 MSGSUBDIRS= cmd ucbcmd lib | |
58 DOMAINS= \ | |
59 SUNW_OST_ADMIN \ | |
60 SUNW_OST_NETRPC \ | |
61 SUNW_OST_OSCMD \ | |
62 SUNW_OST_OSLIB \ | |
63 SUNW_OST_UCBCMD \ | |
64 SUNW_OST_ZONEINFO | |
65 | |
66 MSGDDIRS= $(DOMAINS:%=$(MSGROOT)/%) | |
67 MSGDIRS= $(MSGROOT) $(MSGDDIRS) $(MSGROOT)/LC_TIME | |
68 | |
69 all all_xmod := TARGET= all | |
70 install install_xmod := TARGET= install | |
71 install_h := TARGET= install_h | |
72 clean := TARGET= clean | |
73 clobber := TARGET= clobber | |
74 check := TARGET= check | |
75 _msg := TARGET= _msg | |
76 | |
77 | |
78 .KEEP_STATE: | |
79 | |
80 # | |
81 # Note: install only builds the all target for the pkgdefs | |
82 # directory. We are not yet ready to have an install | |
83 # build create 'packages' also. To build packages | |
84 # cd pkgdefs and do a 'make install' | |
85 # | |
1167 | 86 all: closedbins sgs .WAIT $(SUBDIRS) pkg_all |
87 install: closedbins sgs .WAIT $(SUBDIRS) pkg_all .WAIT _msg | |
0 | 88 @cd pkgdefs/SUNW0on; pwd; $(MAKE) _msg |
89 @rm -rf "$(ROOT)/catalog" | |
90 | |
91 clean clobber: $(SUBDIRS) head pkgdefs | |
92 _msg: _msgdirs rootdirs $(MSGSUBDIRS) | |
93 | |
94 # for a complete build from scratch | |
95 crankturn: sgs uts pkg_all | |
96 @cd lib; pwd; $(MAKE) install | |
97 @cd cmd; pwd; $(MAKE) all | |
98 @cd ucblib; pwd; $(MAKE) install | |
99 @cd ucbcmd; pwd; $(MAKE) all | |
100 | |
101 pkg_all: | |
102 @cd pkgdefs; pwd; $(MAKE) all | |
103 | |
104 # | |
105 # target for building a proto area for reference via the ROOT macro | |
106 # | |
107 protolibs: rootlibs ucblibs | |
108 | |
109 # build all ucb libraries | |
110 # | |
111 ucblibs: | |
112 @cd ucblib; pwd; $(MAKE) install | |
113 | |
114 # Base subset of rootproto, excluding ucb libraries | |
115 # | |
116 rootlibs: sgs | |
117 @cd lib; pwd; $(MAKE) install | |
118 | |
1167 | 119 closedbins: FRC $(ROOTDIRS) |
120 @if [ "$$CLOSED_IS_PRESENT" = no ]; then \ | |
121 if [ ! -d "$$ON_CLOSED_BINS/root_$(MACH)" ]; then \ | |
122 $(ECHO) "Error: if closed sources are not present," \ | |
123 "ON_CLOSED_BINS must point to closed binaries."; \ | |
124 exit 1; \ | |
125 fi; \ | |
126 $(ECHO) "Copying closed binaries from $$ON_CLOSED_BINS"; \ | |
127 (cd $$ON_CLOSED_BINS/root_$(MACH); tar cf - .) | \ | |
128 (cd $(ROOT); tar xBf -); \ | |
129 fi | |
130 | |
0 | 131 $(SUBDIRS) head ucbhead pkgdefs: FRC |
132 @cd $@; pwd; $(MAKE) $(TARGET) | |
133 | |
429
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
134 .PARALLEL: sysheaders userheaders libheaders ucbheaders cmdheaders \ |
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
135 commonheaders |
0 | 136 |
137 # librpcsvc has a dependency on headers installed by | |
138 # userheaders, hence the .WAIT before libheaders. | |
139 sgs: rootdirs .WAIT sysheaders userheaders .WAIT \ | |
429
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
140 libheaders ucbheaders cmdheaders commonheaders |
0 | 141 |
142 # | |
143 # top-level setup target (headers/tools) | |
144 setup: sgs | |
145 @cd tools; pwd; $(MAKE) install | |
146 | |
147 # /var/mail/:saved is a special case because of the colon in the name. | |
148 # | |
149 rootdirs: $(ROOTDIRS) | |
150 $(INS) -d -m 775 $(ROOT)/var/mail/:saved | |
151 $(CH)$(CHOWN) root $(ROOT)/var/mail/:saved | |
152 $(CH)$(CHGRP) mail $(ROOT)/var/mail/:saved | |
153 | |
154 lint: FRC | |
155 $(MAKE) -f Makefile.lint | |
156 | |
157 _msgdirs: $(MSGDIRS) | |
158 | |
159 $(ROOTDIRS) $(MSGDIRS): | |
160 $(INS.dir) | |
161 | |
162 userheaders: FRC | |
163 @cd head; pwd; $(MAKE) install_h | |
164 | |
165 libheaders: FRC | |
166 @cd lib; pwd; $(MAKE) install_h | |
167 | |
168 sysheaders: FRC | |
169 @cd uts; pwd; $(MAKE) install_h | |
170 | |
171 ucbheaders: FRC | |
172 @cd ucbhead; pwd; $(MAKE) install_h | |
173 | |
174 cmdheaders: FRC | |
175 @cd cmd/fm; pwd; $(MAKE) install_h | |
176 @cd cmd/mdb; pwd; $(MAKE) install_h | |
177 | |
429
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
178 commonheaders: FRC |
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
179 @cd common/ipf; pwd; $(MAKE) install_h |
7fd0c7fcb712
PSARC/2005/233 IPFilter API for NAT entry duplicate detection
dr146992
parents:
411
diff
changeset
|
180 |
0 | 181 # each xmod target depends on a corresponding MACH-specific pseudotarget |
182 # before doing common xmod work | |
183 # | |
184 all_xmod install_xmod: $$@_$(MACH) | |
185 @cd uts/common/sys; pwd; $(MAKE) svvs_h | |
186 | |
187 all_xmod_sparc install_xmod_sparc: FRC | |
188 @cd uts/sparc; pwd; \ | |
189 $(MAKE) TARGET=$(TARGET) svvs pm wsdrv | |
190 | |
191 all_xmod_i386 install_xmod_i386: FRC | |
192 @cd uts/i86; pwd; $(MAKE) TARGET=$(TARGET) svvs | |
193 | |
194 check: $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS) | |
195 | |
196 # | |
197 # Cross-reference customization: skip all of the subdirectories that | |
198 # don't contain actual source code. | |
199 # | |
1167 | 200 $(CLOSED_BUILD)XRDIRS += ../closed |
0 | 201 XRPRUNE = spec pkgdefs prototypes xmod |
202 XRINCDIRS = uts/common head ucbhead | |
1167 | 203 $(CLOSED_BUILD)XRINCDIRS = uts/common ../closed/uts/common head ucbhead |
0 | 204 |
205 cscope.out tags: FRC | |
206 $(XREF) -f -x $@ | |
207 | |
208 FRC: | |
209 | |
210 # EXPORT DELETE START | |
211 | |
212 XMOD_DELETE_FILES:sh = cat xmod/xmod_files | |
213 | |
214 EXPORT_SRC: | |
1167 | 215 @cd $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked; pwd; $(MAKE) EXPORT_SRC |
216 @cd $(CLOSED)/cmd/cmd-inet/usr.lib/ike-certutils; pwd; \ | |
217 $(MAKE) EXPORT_SRC | |
0 | 218 @cd cmd/cmd-inet/usr.sbin; pwd; $(MAKE) EXPORT_SRC |
1167 | 219 @cd $(CLOSED)/cmd/cmd-crypto/etc; pwd; $(MAKE) EXPORT_SRC |
0 | 220 @cd cmd/crypt; pwd; $(MAKE) EXPORT_SRC |
221 @cd cmd/gss/gssd; pwd; $(MAKE) EXPORT_SRC | |
222 @cd cmd/krb5/kadmin; pwd; $(MAKE) EXPORT_SRC | |
223 @cd cmd/sendmail/src; pwd; $(MAKE) EXPORT_SRC | |
224 @cd cmd/xntpd; pwd; $(MAKE) EXPORT_SRC | |
225 @cd common/crypto/aes; pwd; $(MAKE) EXPORT_SRC | |
226 @cd common/crypto/arcfour; pwd; $(MAKE) EXPORT_SRC | |
227 @cd common/crypto/blowfish; pwd; $(MAKE) EXPORT_SRC | |
228 @cd common/crypto/des; pwd; $(MAKE) EXPORT_SRC | |
229 @cd common/crypto/rsa; pwd; $(MAKE) EXPORT_SRC | |
230 @cd lib/crypt_modules/bsdbf; pwd ; $(MAKE) EXPORT_SRC | |
231 @cd lib/gss_mechs/mech_dummy; pwd; $(MAKE) EXPORT_SRC | |
232 @cd lib/gss_mechs/mech_dh/backend; pwd; $(MAKE) EXPORT_SRC | |
233 @cd lib/gss_mechs/mech_krb5; pwd; $(MAKE) EXPORT_SRC | |
234 @cd lib/gss_mechs/mech_spnego; pwd; $(MAKE) EXPORT_SRC | |
235 @cd lib/libcrypt; pwd; $(MAKE) EXPORT_SRC | |
1167 | 236 @cd $(CLOSED)/lib/libelfsign; pwd; $(MAKE) EXPORT_SRC |
0 | 237 @cd lib/libgss; pwd; $(MAKE) EXPORT_SRC |
1167 | 238 @cd $(CLOSED)/lib/libike; pwd; $(MAKE) EXPORT_SRC |
0 | 239 @cd lib/libnsl; pwd; $(MAKE) EXPORT_SRC |
240 @cd lib/openssl; pwd; $(MAKE) EXPORT_SRC | |
241 @cd lib/pkcs11/pkcs11_softtoken/common; pwd; $(MAKE) EXPORT_SRC | |
242 @cd lib/pkcs11/libpkcs11; pwd; $(MAKE) EXPORT_SRC | |
243 @cd lib/pkcs11; pwd; $(MAKE) EXPORT_SRC | |
244 @cd lib/libsldap; pwd; $(MAKE) EXPORT_SRC | |
245 @cd lib/libsasl; pwd; $(MAKE) EXPORT_SRC | |
246 @cd lib/sasl_plugins; pwd; $(MAKE) EXPORT_SRC | |
1167 | 247 @cd $(CLOSED)/lib/smartcard; pwd; $(MAKE) EXPORT_SRC |
0 | 248 @cd lib/pam_modules/krb5; pwd; $(MAKE) EXPORT_SRC |
249 @cd lib/udapl; pwd; $(MAKE) EXPORT_SRC | |
250 @cd lib/libresolv2; pwd; $(MAKE) EXPORT_SRC | |
1167 | 251 @cd $(CLOSED)/tools/elfsign; pwd; $(MAKE) EXPORT_SRC |
0 | 252 @cd uts/common/crypto/io; pwd; $(MAKE) EXPORT_SRC |
253 @cd uts/common/des; pwd; $(MAKE) EXPORT_SRC | |
254 @cd uts/common/rpc; pwd; $(MAKE) EXPORT_SRC | |
255 @cd uts/common/sys; pwd; $(MAKE) EXPORT_SRC | |
256 @cd uts/common/gssapi/include; pwd; $(MAKE) EXPORT_SRC | |
257 @cd uts/common/gssapi; pwd; $(MAKE) EXPORT_SRC | |
258 @cd uts/common/gssapi/mechs/dummy; pwd; $(MAKE) EXPORT_SRC | |
259 @cd uts/common/gssapi/mechs/krb5; pwd; $(MAKE) EXPORT_SRC | |
260 @cd uts/common; pwd; $(MAKE) EXPORT_SRC | |
261 @cd uts/sparc; pwd; $(MAKE) EXPORT_SRC | |
1167 | 262 @cd $(CLOSED)/uts/sun4u/forthdebug; pwd; $(MAKE) EXPORT_SRC |
0 | 263 @cd uts/intel; pwd; $(MAKE) EXPORT_SRC |
264 @cd uts/sun4u; pwd; $(MAKE) EXPORT_SRC | |
1167 | 265 @cd $(CLOSED)/uts/sun4u/chalupa; pwd; $(MAKE) EXPORT_SRC |
0 | 266 @cd uts/sun4u/cherrystone; pwd; $(MAKE) EXPORT_SRC |
267 @cd uts/sun4u/daktari; pwd; $(MAKE) EXPORT_SRC | |
268 @cd uts/sun4u/enchilada; pwd; $(MAKE) EXPORT_SRC | |
1167 | 269 @cd $(CLOSED)/uts/sun4u/ents; pwd; $(MAKE) EXPORT_SRC |
0 | 270 @cd uts/sun4u/excalibur; pwd; $(MAKE) EXPORT_SRC |
271 @cd uts/sun4u/chicago; pwd; $(MAKE) EXPORT_SRC | |
920
5061227f5943
PSARC 2005/503 Boston and Seattle Platform Software Support
jbeloro
parents:
429
diff
changeset
|
272 @cd uts/sun4u/boston; pwd; $(MAKE) EXPORT_SRC |
5061227f5943
PSARC 2005/503 Boston and Seattle Platform Software Support
jbeloro
parents:
429
diff
changeset
|
273 @cd uts/sun4u/seattle; pwd; $(MAKE) EXPORT_SRC |
0 | 274 @cd uts/sun4u/littleneck; pwd; $(MAKE) EXPORT_SRC |
1167 | 275 @cd $(CLOSED)/uts/sun4u/lw2plus; pwd; $(MAKE) EXPORT_SRC |
1714
f7b00320e3a1
6393462 move lw8 to usr/src (fix export source build)
stevel
parents:
1167
diff
changeset
|
276 @cd uts/sun4u/lw8; pwd; $(MAKE) EXPORT_SRC |
0 | 277 @cd uts/sun4u/mpxu; pwd; $(MAKE) EXPORT_SRC |
1772 | 278 @cd uts/sun4u/opl; pwd; $(MAKE) EXPORT_SRC |
0 | 279 @cd uts/sun4u/serengeti; pwd; $(MAKE) EXPORT_SRC |
280 @cd uts/sun4u/starcat; pwd; $(MAKE) EXPORT_SRC | |
281 @cd uts/sun4u/taco; pwd; $(MAKE) EXPORT_SRC | |
1167 | 282 @cd $(CLOSED)/uts/sun4v/io/ncp; pwd; $(MAKE) EXPORT_SRC |
0 | 283 @cd pkgdefs; pwd; $(MAKE) EXPORT_SRC |
284 $(RM) -r $(XMOD_DELETE_FILES) | |
285 $(RM) Targetdirs+ | |
286 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
287 < Targetdirs > Targetdirs+ | |
288 $(MV) Targetdirs+ Targetdirs | |
289 $(CHMOD) 444 Targetdirs | |
290 $(RM) Makefile+ | |
291 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
292 < Makefile > Makefile+ | |
293 $(MV) Makefile+ Makefile | |
294 $(CHMOD) 444 Makefile | |
295 $(RM) Makefile.master+ | |
296 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
297 < Makefile.master > Makefile.master+ | |
298 $(MV) Makefile.master+ Makefile.master | |
299 $(CHMOD) 444 Makefile.master | |
300 | |
301 CRYPT_SRC: | |
1167 | 302 @cd $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked; pwd; $(MAKE) CRYPT_SRC |
303 @cd $(CLOSED)/cmd/cmd-inet/usr.lib/ike-certutils; pwd; \ | |
304 $(MAKE) CRYPT_SRC | |
0 | 305 @cd lib/crypt_modules/bsdbf; pwd ; $(MAKE) CRYPT_SRC |
306 @cd lib/gss_mechs/mech_dummy; pwd; $(MAKE) CRYPT_SRC | |
307 @cd lib/gss_mechs/mech_dh/backend; pwd; $(MAKE) CRYPT_SRC | |
308 @cd lib/gss_mechs/mech_krb5; pwd; $(MAKE) CRYPT_SRC | |
309 @cd lib/gss_mechs/mech_spnego; pwd; $(MAKE) CRYPT_SRC | |
1167 | 310 @cd $(CLOSED)/lib/libelfsign; pwd; $(MAKE) CRYPT_SRC |
311 @cd $(CLOSED)/lib/libike; pwd; $(MAKE) CRYPT_SRC | |
0 | 312 @cd lib/libnsl; pwd; $(MAKE) CRYPT_SRC |
313 @cd lib/libsasl; pwd; $(MAKE) CRYPT_SRC | |
314 @cd lib/libresolv2; pwd; $(MAKE) CRYPT_SRC | |
315 @cd lib/sasl_plugins; pwd; $(MAKE) CRYPT_SRC | |
316 @cd lib/pam_modules/krb5; pwd; $(MAKE) CRYPT_SRC | |
1167 | 317 @cd $(CLOSED)/tools/elfsign; pwd; $(MAKE) CRYPT_SRC |
0 | 318 @cd uts/common/gssapi; pwd; $(MAKE) CRYPT_SRC |
319 @cd uts/common/gssapi/include; pwd; $(MAKE) CRYPT_SRC | |
320 @cd uts/common/gssapi/mechs/dummy; pwd; $(MAKE) CRYPT_SRC | |
321 @cd uts/common/gssapi/mechs/krb5; pwd; $(MAKE) CRYPT_SRC | |
322 $(RM) Makefile+ | |
323 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
324 < Makefile > Makefile+ | |
325 $(MV) Makefile+ Makefile | |
326 $(CHMOD) 444 Makefile | |
327 $(RM) Makefile.master+ | |
328 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
329 < Makefile.master > Makefile.master+ | |
330 $(MV) Makefile.master+ Makefile.master | |
331 $(CHMOD) 444 Makefile.master | |
332 | |
333 # EXPORT DELETE END | |
334 | |
335 ONC_PLUS: | |
336 @cd cmd/login; pwd; $(MAKE) ONC_PLUS | |
337 @cd uts; pwd; $(MAKE) ONC_PLUS | |
338 | |
339 # | |
340 # Targets for reporting compiler versions; nightly uses these. | |
341 # | |
342 | |
343 cc-version: | |
1792
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
344 @if $($(MACH)_CC) -_versions >/dev/null 2>/dev/null; then \ |
411
ae71859f7fc8
6302154 fix for 6297567 introduces some undesirable output changes
wesolows
parents:
224
diff
changeset
|
345 $(ECHO) 32-bit compiler; \ |
224 | 346 $(ECHO) $($(MACH)_CC); \ |
1792
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
347 $($(MACH)_CC) -_versions 2>&1 | \ |
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
348 $(EGREP) '^(cw|cc|gcc|primary|shadow)'; \ |
224 | 349 else \ |
350 __COMPILER=`$($(MACH)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ | |
351 if [ -z "$$__COMPILER" ]; then \ | |
411
ae71859f7fc8
6302154 fix for 6297567 introduces some undesirable output changes
wesolows
parents:
224
diff
changeset
|
352 $(ECHO) No 32-bit compiler found; \ |
224 | 353 exit 1; \ |
354 else \ | |
411
ae71859f7fc8
6302154 fix for 6297567 introduces some undesirable output changes
wesolows
parents:
224
diff
changeset
|
355 $(ECHO) 32-bit compiler; \ |
224 | 356 $(ECHO) $($(MACH)_CC); \ |
357 $(ECHO) $$__COMPILER; \ | |
358 $($(MACH)_CC) -V 2>&1 | head -1; \ | |
359 fi; \ | |
0 | 360 fi |
361 | |
362 cc64-version: | |
1792
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
363 @if $($(MACH64)_CC) -_versions >/dev/null 2>/dev/null; then \ |
411
ae71859f7fc8
6302154 fix for 6297567 introduces some undesirable output changes
wesolows
parents:
224
diff
changeset
|
364 $(ECHO) 64-bit compiler; \ |
224 | 365 $(ECHO) $($(MACH64)_CC); \ |
1792
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
366 $($(MACH64)_CC) -_versions 2>&1 | \ |
7e25f1c5948e
6406661 nightly doesn't tell about the shadow compiler
wesolows
parents:
1772
diff
changeset
|
367 $(EGREP) '^(cw|cc|gcc|primary|shadow)'; \ |
224 | 368 else \ |
369 __COMPILER=`$($(MACH64)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ | |
370 if [ -z "$$__COMPILER" ]; then \ | |
371 $(ECHO) No 64-bit compiler found; \ | |
372 exit 1; \ | |
373 else \ | |
411
ae71859f7fc8
6302154 fix for 6297567 introduces some undesirable output changes
wesolows
parents:
224
diff
changeset
|
374 $(ECHO) 64-bit compiler; \ |
224 | 375 $(ECHO) $($(MACH64)_CC); \ |
376 $(ECHO) $$__COMPILER; \ | |
377 $($(MACH64)_CC) -V 2>&1 | head -1; \ | |
378 fi; \ | |
0 | 379 fi |
380 | |
381 java-version: | |
382 @if [ -x "$(JAVAC)" ]; then \ | |
383 $(ECHO) $(JAVAC); \ | |
384 $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \ | |
385 else \ | |
386 $(ECHO) No Java compiler found; \ | |
387 exit 1; \ | |
388 fi |