equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1999, 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. |
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS)) |
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS)) |
209 |
209 |
210 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make |
210 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make |
211 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) |
211 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) |
212 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) |
212 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) |
213 BUILDTREE_VARS += OBJCOPY=$(OBJCOPY) STRIP_POLICY=$(STRIP_POLICY) |
213 BUILDTREE_VARS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS) OBJCOPY=$(OBJCOPY) STRIP_POLICY=$(STRIP_POLICY) ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES) ZIPEXE=$(ZIPEXE) |
214 |
214 |
215 BUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS) |
215 BUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS) |
216 |
216 |
217 #------------------------------------------------------------------------------- |
217 #------------------------------------------------------------------------------- |
218 |
218 |
335 treezero: $(SUBDIRS_ZERO) |
335 treezero: $(SUBDIRS_ZERO) |
336 treeshark: $(SUBDIRS_SHARK) |
336 treeshark: $(SUBDIRS_SHARK) |
337 |
337 |
338 # Doc target. This is the same for all build options. |
338 # Doc target. This is the same for all build options. |
339 # Hence create a docs directory beside ...$(ARCH)_[...] |
339 # Hence create a docs directory beside ...$(ARCH)_[...] |
|
340 # We specify 'BUILD_FLAVOR=product' so that the proper |
|
341 # ENABLE_FULL_DEBUG_SYMBOLS value is used. |
340 docs: checks |
342 docs: checks |
341 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) |
343 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) |
342 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs |
344 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs |
343 |
345 |
344 # Synonyms for win32-like targets. |
346 # Synonyms for win32-like targets. |
345 compiler2: jvmg product |
347 compiler2: jvmg product |
346 |
348 |
347 compiler1: jvmg1 product1 |
349 compiler1: jvmg1 product1 |