jdk/make/tools/Makefile
author dcubed
Fri, 25 May 2012 08:20:12 -0700
changeset 12853 7bdaa5aefd3d
parent 10110 75674d930b1f
child 13583 dc0017b1a452
permissions -rw-r--r--
7170449: Management is completely broken at least on Solaris 11 X86 Summary: Work around 'gobjcopy' failures on Solaris by adding temporary tools to add the '.gnu_debuglink' section and remove the SHF_ALLOC flag from "empty" section headers. Reviewed-by: sspitsyn, acorn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
12853
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
     2
# Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# Create all the build tools
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
BUILDDIR = ..
10110
75674d930b1f 7058708: Eliminate JDK build tools build warnings
jjg
parents: 8796
diff changeset
    31
75674d930b1f 7058708: Eliminate JDK build tools build warnings
jjg
parents: 8796
diff changeset
    32
SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true JAVAC_WARNINGS_FATAL=true
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
include $(BUILDDIR)/common/Defs.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
8796
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 7668
diff changeset
    35
# Note: freetypecheck is built by Sanity.gmk if needed
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
SUBDIRS =                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
  addjsum                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
  buildmetaindex            \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
  commentchecker            \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
  compile_font_config       \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
  compile_properties        \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
  dir_diff                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
  dtdbuilder                \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
  generate_break_iterator   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
  GenerateCharacter         \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
  generatecurrencydata      \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
  hasher_classes            \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
  jarreorder                \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
  jarsplit                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
  javazic                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
  jdwpgen                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
  makeclasslist             \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
  strip_properties          \
898
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 799
diff changeset
    54
  spp                       \
400
9f3afee24320 6529796: Support JIS X 0213:2004 in existing JDK versions, especially for Windows Vista
sherman
parents: 2
diff changeset
    55
  CharsetMapping
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
2800
f7318b0bd705 6841728: Make building the Nimbus L 'n' F optional (100054)
andrew
parents: 2658
diff changeset
    57
ifndef DISABLE_NIMBUS
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2800
diff changeset
    58
  SUBDIRS += generate_nimbus
2800
f7318b0bd705 6841728: Make building the Nimbus L 'n' F optional (100054)
andrew
parents: 2658
diff changeset
    59
endif
f7318b0bd705 6841728: Make building the Nimbus L 'n' F optional (100054)
andrew
parents: 2658
diff changeset
    60
12853
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
    61
ifeq ($(PLATFORM), solaris)
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
    62
  # temporary tools to work around gobjcopy bugs
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
    63
  SUBDIRS += add_gnu_debuglink fix_empty_sec_hdr_flags
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
    64
endif
7bdaa5aefd3d 7170449: Management is completely broken at least on Solaris 11 X86
dcubed
parents: 10110
diff changeset
    65
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4113
diff changeset
    66
include $(BUILDDIR)/common/Subdirs.gmk
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4113
diff changeset
    67
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
all build clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	$(SUBDIRS-loop)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
	$(RM) -r $(BUILDTOOLCLASSDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
	$(RM) -r $(BUILDTOOLJARDIR)
305
9b905a071b0e 6672405: OPENJDK build: jdk7/jdk/make/tools/freetypecheck leaves dirt behind
ohair
parents: 2
diff changeset
    74
	$(RM) -r $(BUILDTOOLBINDIR)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75