comparison make/linux/makefiles/buildtree.make @ 6275:957c266d8bc5

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Aug 2012 10:39:19 +0200
parents 33df1aeaebbf 74c359c4a9e5
children e522a00b91aa
comparison
equal deleted inserted replaced
5891:fd8832ae511d 6275:957c266d8bc5
1 # 1 #
2 # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
53 # test_gamma - script to run the Queens program 53 # test_gamma - script to run the Queens program
54 # 54 #
55 # The makefiles are split this way so that "make foo" will run faster by not 55 # The makefiles are split this way so that "make foo" will run faster by not
56 # having to read the dependency files for the vm. 56 # having to read the dependency files for the vm.
57 57
58 -include $(SPEC)
58 include $(GAMMADIR)/make/scm.make 59 include $(GAMMADIR)/make/scm.make
59 include $(GAMMADIR)/make/altsrc.make 60 include $(GAMMADIR)/make/altsrc.make
60 61
61 62
62 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details. 63 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
63 QUIETLY$(MAKE_VERBOSE) = @ 64 QUIETLY$(MAKE_VERBOSE) = @
64 65
65 # For now, until the compiler is less wobbly: 66 # For now, until the compiler is less wobbly:
66 TESTFLAGS = -Xbatch -showversion 67 TESTFLAGS = -Xbatch -showversion
67 68
68 ifeq ($(ZERO_BUILD), true) 69 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
69 PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero 70 PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
70 else 71 else
71 ifdef USE_SUNCC 72 ifdef USE_SUNCC
72 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc 73 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
73 else 74 else
233 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \ 234 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \
234 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \ 235 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \
235 echo "$(call gamma-path,commonsrc,os/posix/vm)"; \ 236 echo "$(call gamma-path,commonsrc,os/posix/vm)"; \
236 [ -n "$(CFLAGS_BROWSE)" ] && \ 237 [ -n "$(CFLAGS_BROWSE)" ] && \
237 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ 238 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \
239 [ -n "$(ENABLE_FULL_DEBUG_SYMBOLS)" ] && \
240 echo && echo "ENABLE_FULL_DEBUG_SYMBOLS = $(ENABLE_FULL_DEBUG_SYMBOLS)"; \
238 [ -n "$(OBJCOPY)" ] && \ 241 [ -n "$(OBJCOPY)" ] && \
239 echo && echo "OBJCOPY = $(OBJCOPY)"; \ 242 echo && echo "OBJCOPY = $(OBJCOPY)"; \
240 [ -n "$(STRIP_POLICY)" ] && \ 243 [ -n "$(STRIP_POLICY)" ] && \
241 echo && echo "STRIP_POLICY = $(STRIP_POLICY)"; \ 244 echo && echo "STRIP_POLICY = $(STRIP_POLICY)"; \
245 [ -n "$(ZIP_DEBUGINFO_FILES)" ] && \
246 echo && echo "ZIP_DEBUGINFO_FILES = $(ZIP_DEBUGINFO_FILES)"; \
247 [ -n "$(ZIPEXE)" ] && \
248 echo && echo "ZIPEXE = $(ZIPEXE)"; \
242 [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \ 249 [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \
243 echo && \ 250 echo && \
244 echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ 251 echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \
245 echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \ 252 echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \
246 echo; \ 253 echo; \
254 [ -n "$(SPEC)" ] && \
255 echo "include $(SPEC)"; \
247 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ 256 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \
248 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ 257 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \
249 ) > $@ 258 ) > $@
250 259
251 flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst 260 flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst