jdk/make/Makefile
author jlaskey
Tue, 19 Feb 2013 09:47:02 -0400
changeset 16248 e4bcc4b4f897
parent 15324 74584166bb07
child 19870 19ebc43b932b
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
13703
dd844a010010 7198325: Fix more $(sort) issues on lnk commands in makefiles, making binaries more consistent
ohair
parents: 13353
diff changeset
     2
# Copyright (c) 1995, 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
# Makefile for building and packaging all of the JDK and the JRE. See
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# also included files.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
BUILDDIR=.
13703
dd844a010010 7198325: Fix more $(sort) issues on lnk commands in makefiles, making binaries more consistent
ohair
parents: 13353
diff changeset
    32
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
include $(BUILDDIR)/common/Defs.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
# Make sure we are clear what the default target is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
default_target: all
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# Check target
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
check: variable_check
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# Help target
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
help: intro_help target_help variable_help notes_help examples_help
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
# Intro help message
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
intro_help:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
	@$(ECHO) "\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
Makefile for the main JDK workspace. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
Default behavior is to use the BOOTDIR javac to bootstrap the build and \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
import in pre-built components like the VM from the JDK_IMPORT_PATH. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
# Target help
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
target_help:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
	@$(ECHO) "\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
--- Common Targets ---  \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
all               -- build the core JDK (default target) \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
help              -- Print out help information \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
check             -- Check make variable values for correctness \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
sanity            -- Perform detailed sanity checks on system and settings \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
openjdk           -- synonym for 'OPENJDK=true all' \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
fastdebug         -- build the core JDK in 'fastdebug' mode (-g -O) \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
debug             -- build the core JDK in 'debug' mode (-g) \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
clean             -- remove all built and imported files \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
clobber           -- same as clean \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
docs              -- run javadoc to generate the JDK documentation \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
images            -- build the jdk and jre image directories \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
import            -- copy in the pre-built components (e.g. VM) \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
import_product    -- copy in the product components \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
import_fastdebug  -- copy in the fastdebug components \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
import_debug      -- copy in the debug components \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
create_links      -- create softlinks in Solaris 32bit build to 64bit dirs \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
# Variable help (only common ones used by this workspace)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
variable_help: variable_help_intro variable_list variable_help_end
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
variable_help_intro:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
	@$(ECHO) "--- Common Variables ---"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
variable_help_end:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
	@$(ECHO) " "
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
# One line descriptions for the variables
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
OUTPUTDIR.desc             = Output directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
PARALLEL_COMPILE_JOBS.desc = Solaris/Linux parallel compile run count
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
SLASH_JAVA.desc            = Root of all build tools, e.g. /java or J:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
BOOTDIR.desc               = JDK used to boot the build
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
LANGTOOLS_DIST.desc        = langtools dist area used to build
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
CORBA_DIST.desc            = corba dist area
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
JAXP_DIST.desc             = jaxp dist area
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
JAXWS_DIST.desc            = jaxws dist area
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
JDK_IMPORT_PATH.desc       = JDK used to import components of the build
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
COMPILER_PATH.desc         = Compiler install directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
CACERTS_FILE.desc          = Location of certificates file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
DEVTOOLS_PATH.desc         = Directory containing zip and unzip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
CUPS_HEADERS_PATH.desc     = Include directory location for CUPS header files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
DXSDK_PATH.desc            = Root directory of DirectX SDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
# Make variables to print out (description and value)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
VARIABLE_PRINTVAL_LIST +=       \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    OUTPUTDIR                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
    PARALLEL_COMPILE_JOBS       \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    SLASH_JAVA                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    BOOTDIR                     \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    LANGTOOLS_DIST              \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    JAXWS_DIST                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
    CORBA_DIST                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
    JAXP_DIST                   \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
    JDK_IMPORT_PATH             \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
    COMPILER_PATH               \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
    CACERTS_FILE                \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    DEVTOOLS_PATH
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
# Make variables that should refer to directories that exist
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
VARIABLE_CHECKDIR_LIST +=       \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
    SLASH_JAVA                  \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
    BOOTDIR                     \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
    JDK_IMPORT_PATH             \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
    COMPILER_PATH               \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
    DEVTOOLS_PATH
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
# Make variables that should refer to files that exist
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
VARIABLE_CHECKFIL_LIST +=       \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
    CACERTS_FILE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
# Some are windows specific
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
VARIABLE_PRINTVAL_LIST +=       \
8018
79ce40b4ab5e 6950375: Remove msvcrt.dll from the Windows JRE bundles
ohair
parents: 7666
diff changeset
   135
    DXSDK_PATH
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
VARIABLE_CHECKDIR_LIST +=       \
8018
79ce40b4ab5e 6950375: Remove msvcrt.dll from the Windows JRE bundles
ohair
parents: 7666
diff changeset
   138
    DXSDK_PATH
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
# For pattern rules below, so all are treated the same
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
DO_PRINTVAL_LIST=$(VARIABLE_PRINTVAL_LIST:%=%.printval)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
DO_CHECKDIR_LIST=$(VARIABLE_CHECKDIR_LIST:%=%.checkdir)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
DO_CHECKFIL_LIST=$(VARIABLE_CHECKFIL_LIST:%=%.checkfil)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
# Complete variable check
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
variable_check: $(DO_CHECKDIR_LIST) $(DO_CHECKFIL_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
variable_list: $(DO_PRINTVAL_LIST) variable_check
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
# Pattern rule for printing out a variable
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
%.printval:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
	@$(ECHO) "  ALT_$* - $($*.desc)"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
	@$(ECHO) "  \t $*=$($*)"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
# Pattern rule for checking to see if a variable with a directory exists
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
%.checkdir:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
	@if [ ! -d $($*) ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
	    $(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
	fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
# Pattern rule for checking to see if a variable with a file exists
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
%.checkfil:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
	@if [ ! -f $($*) ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
	    $(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
	fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
# Misc notes on help
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
notes_help:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
	@$(ECHO) "\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
--- Notes --- \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
- All builds use same output directory unless overridden with \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
 \t ALT_OUTPUTDIR=<dir>, changing from product to fastdebug you may want \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
 \t to use the clean target first. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
- LANGTOOLS_DIST must refer to a langtools dist area,  used to build. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
- CORBA_DIST must refer to a corba dist area. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
- JAXP_DIST must refer to a jaxp dist area. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
- JAXWS_DIST must refer to a jaxws dist area. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
 \t builds or previous release JDK builds will work. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
- The 'debug' target and 'import_debug' only works when a debug promoted \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
 \t build is available, and they currently are not. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
- The fastest builds have been when the workspace and the BOOTDIR are on \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
 \t local disk. \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
examples_help:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
	@$(ECHO) "\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
--- Examples --- \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
  $(MAKE) fastdebug \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar fastdebug images \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar all docs images \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
  $(MAKE) ALT_BOOTDIR=/opt/java/jdk1.6.0 \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
  $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk1.7.0 \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
# 'all' target intro
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
#
11994
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   201
all::
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
	@$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build started: $(shell $(DATE) '+%y-%m-%d %H:%M')
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
# Just in case anyone uses this old name, same as 'build'
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
optimized: build
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
openjdk:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
	$(MAKE) OPENJDK=true all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
# Special debug rules (You may also want to set ALT_OUTPUTDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
debug:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
	$(MAKE) VARIANT=DBG all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
fastdebug:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
	$(MAKE) VARIANT=DBG FASTDEBUG=true all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
# Rules to re-import VM and other JDK files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
import:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
	$(CD) java/redist; $(MAKE) clean all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
import_fastdebug:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
	$(MAKE) VARIANT=DBG FASTDEBUG=true import
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
import_product:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
	$(MAKE) VARIANT=OPT FASTDEBUG=false import
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
# Core.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
all build:: sanity-all post-sanity-all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
14198
071fd6fd257d 7197401: Add a subset of the org.objectweb.asm packages to jdk8
jjh
parents: 13703
diff changeset
   236
SUBDIRS       = tools java javax sun com jdk
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 11994
diff changeset
   237
ifeq ($(PLATFORM), macosx)
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 11994
diff changeset
   238
  SUBDIRS += apple
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 11994
diff changeset
   239
endif
15324
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents: 14198
diff changeset
   240
ifeq ($(PLATFORM), windows)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents: 14198
diff changeset
   241
  SUBDIRS += bridge
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents: 14198
diff changeset
   242
endif
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4524
diff changeset
   243
SUBDIRS_tools = launchers
13353
a043d6778c4c 4650871: Classes in sunw.* should be removed from workspace and rt.jar
malenkov
parents: 12047
diff changeset
   244
SUBDIRS_misc  = org jpda
11994
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   245
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   246
# demos
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   247
ifndef NO_DEMOS
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   248
  SUBDIRS_misc += mkdemo
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   249
endif
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   250
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   251
# samples
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   252
ifndef NO_SAMPLES
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   253
  SUBDIRS_misc += mksample
74f1488b7347 7143162: Allow disable building of jdk demos and samples
mduigou
parents: 9035
diff changeset
   254
endif
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4524
diff changeset
   255
7174
5a56e43d896c 6792706: Add JAR file to bootclasspath when using AggressiveOpts
ohair
parents: 6681
diff changeset
   256
# Alternate classes implementation
5a56e43d896c 6792706: Add JAR file to bootclasspath when using AggressiveOpts
ohair
parents: 6681
diff changeset
   257
ifndef OPENJDK
5a56e43d896c 6792706: Add JAR file to bootclasspath when using AggressiveOpts
ohair
parents: 6681
diff changeset
   258
  SUBDIRS_misc += altclasses
5a56e43d896c 6792706: Add JAR file to bootclasspath when using AggressiveOpts
ohair
parents: 6681
diff changeset
   259
endif
5a56e43d896c 6792706: Add JAR file to bootclasspath when using AggressiveOpts
ohair
parents: 6681
diff changeset
   260
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4524
diff changeset
   261
include $(BUILDDIR)/common/Subdirs.gmk
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4524
diff changeset
   262
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
all build::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
	$(SUBDIRS-loop)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
	$(RM) -r $(OUTPUTDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
# Docs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
OTHERSUBDIRS = docs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
docs:: sanity-docs post-sanity-docs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
	$(OTHERSUBDIRS-loop)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
# Release engineering targets.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
include $(BUILDDIR)/common/Release.gmk
13703
dd844a010010 7198325: Fix more $(sort) issues on lnk commands in makefiles, making binaries more consistent
ohair
parents: 13353
diff changeset
   280
-include $(CUSTOM_MAKE_DIR)/Release.gmk
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
# Cscope targets.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
include $(BUILDDIR)/common/Cscope.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
# Sanity checks.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
include $(BUILDDIR)/common/Sanity.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
$(OUTPUTDIR) $(TEMPDIR):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
	$(MKDIR) -p $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
# this should be the last rule in this file:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
all::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
	@if [ -r $(WARNING_FILE) ]; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
	  $(CAT) $(WARNING_FILE) ; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
	fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
	@$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build finished: $(shell $(DATE) '+%y-%m-%d %H:%M')
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
# Developer rule that links 32 and 64 bit builds on Solaris by creating
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
#   softlinks in the 32bit outputdir to the 64bit outputdir.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
  ifeq ($(ARCH_FAMILY), sparc)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
    ARCH32 = sparc
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
    ARCH64 = sparcv9
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
  else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
    ARCH32 = i586
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
    ARCH64 = amd64
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
  OUTPUTDIR32      = $(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
  OUTPUTDIR64      = $(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH64)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
create_links:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
	@if [ -d $(OUTPUTDIR32) -a -d $(OUTPUTDIR64) ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
	    dirlist=`($(CD) $(OUTPUTDIR64); $(FIND) . -name $(ARCH64))`; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
	    for sd in $$dirlist ; do \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
	      pdir=`$(DIRNAME) $$sd`; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
	      if [ -d $(OUTPUTDIR32)/$$pdir ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
	        echo "Creating link for $$sd"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
	        (cd $(OUTPUTDIR32)/$$pdir; $(RM) $(ARCH64); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
	         $(LN) -s $(OUTPUTDIR64)/$$sd ); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
	      fi; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
	    done; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
	else \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
	    $(ECHO) "Build both 32 and 64 bit versions first"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
	fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
	$(ECHO) "Rule $@ does not apply on $(PLATFORM)-$(ARCH)"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
#
6681
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   338
# Test rule
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
#
6681
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   340
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   341
.NOTPARALLEL: test_run
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   342
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   343
test:
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   344
	$(MAKE) test_run
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   345
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   346
test_run: test_clean test_start test_summary
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   347
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   348
test_start:
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   349
	@$(ECHO) "Tests started at `$(DATE)`"
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   350
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   351
test_clean:
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   352
	$(RM) $(OUTPUTDIR)/test_failures.txt $(OUTPUTDIR)/test_log.txt
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
6681
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   354
test_summary: $(OUTPUTDIR)/test_failures.txt
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   355
	@$(ECHO) "#################################################"
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   356
	@$(ECHO) "Tests completed at `$(DATE)`"
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   357
	@( $(EGREP) '^TEST STATS:' $(OUTPUTDIR)/test_log.txt \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   358
          || $(ECHO) "No TEST STATS seen in log" )
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   359
	@$(ECHO) "For complete details see: $(OUTPUTDIR)/test_log.txt"
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   360
	@$(ECHO) "#################################################"
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   361
	@if [ -s $< ] ; then                                           \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   362
          $(ECHO) "ERROR: Test failure count: `$(CAT) $< | $(WC) -l`"; \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   363
          $(CAT) $<;                                                   \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   364
          exit 1;                                                      \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   365
        else                                                           \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   366
          $(ECHO) "Success! No failures detected";                     \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   367
        fi
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   368
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   369
# Get failure list from log
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   370
$(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   371
	@$(RM) $@
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   372
	@( $(EGREP) '^FAILED:' $< || $(ECHO) "" ) | $(NAWK) 'length>0' > $@
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   373
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   374
# Get log file of all tests run
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   375
JDK_TO_TEST := $(shell 							\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   376
  if [ -d "$(ABS_OUTPUTDIR)/j2sdk-image" ] ; then 			\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   377
    $(ECHO) "$(ABS_OUTPUTDIR)/j2sdk-image"; 				\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   378
  elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then 				\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   379
    $(ECHO) "$(ABS_OUTPUTDIR)"; 					\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   380
  elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then 	\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   381
    $(ECHO) "$(PRODUCT_HOME)"; 						\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   382
  fi 									\
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   383
)
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   384
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   385
TEST_TARGETS=jdk_all
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   386
$(OUTPUTDIR)/test_log.txt:
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   387
	$(RM) $@
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   388
	( $(CD) ../test &&                                              \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   389
          $(MAKE) NO_STOPPING=- PRODUCT_HOME=$(JDK_TO_TEST) $(TEST_TARGETS) \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   390
        ) | tee $@
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   391
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   392
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
# JPRT rules
6681
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   394
#
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   395
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
include jprt.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
# Phonies to avoid accidents.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
.PHONY: all build clean clobber optimized debug fastdebug create_links \
6681
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   402
	import import_product import_fastdebug import_debug \
e721d11e4826 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
ohair
parents: 5506
diff changeset
   403
	test test_run test_start test_clean test_summary