Makefile
author ant
Wed, 26 Mar 2008 16:20:01 +0300
changeset 423 1c607ab74068
parent 0 fd16c54261b3
child 16 13adabd0ff72
permissions -rw-r--r--
6680135: A number of test/closed/java/awt/Focus/* tests should be opened Summary: The tests moved from the closed repository. Reviewed-by: son
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
     1
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
     2
# Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     4
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
fd16c54261b3 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
fd16c54261b3 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.  Sun designates this
fd16c54261b3 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
fd16c54261b3 Initial load
duke
parents:
diff changeset
     9
# by Sun in the LICENSE file that accompanied this code.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    10
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
fd16c54261b3 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fd16c54261b3 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fd16c54261b3 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
fd16c54261b3 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
fd16c54261b3 Initial load
duke
parents:
diff changeset
    16
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
fd16c54261b3 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
fd16c54261b3 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    20
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
    21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
fd16c54261b3 Initial load
duke
parents:
diff changeset
    22
# CA 95054 USA or visit www.sun.com if you need additional information or
fd16c54261b3 Initial load
duke
parents:
diff changeset
    23
# have any questions.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    24
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
    25
fd16c54261b3 Initial load
duke
parents:
diff changeset
    26
ifndef TOPDIR
fd16c54261b3 Initial load
duke
parents:
diff changeset
    27
  TOPDIR:=$(shell \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    28
    if [ -r ./j2se/make/Makefile -o -r ./jdk/make/Makefile ]; then \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    29
      echo "."; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    30
    else \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    31
      echo "../.."; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    32
    fi)
fd16c54261b3 Initial load
duke
parents:
diff changeset
    33
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
    34
fd16c54261b3 Initial load
duke
parents:
diff changeset
    35
ifndef CONTROL_TOPDIR
fd16c54261b3 Initial load
duke
parents:
diff changeset
    36
  CONTROL_TOPDIR=$(TOPDIR)/control
fd16c54261b3 Initial load
duke
parents:
diff changeset
    37
  CONTROL_TOPDIR:=$(shell \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    38
    if [ -r $(TOPDIR)/control/make/Makefile ]; then \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    39
      echo "$(TOPDIR)/control"; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    40
    else \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    41
      echo "$(TOPDIR)"; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
    42
    fi)
fd16c54261b3 Initial load
duke
parents:
diff changeset
    43
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
    44
fd16c54261b3 Initial load
duke
parents:
diff changeset
    45
ifndef JDK_TOPDIR
fd16c54261b3 Initial load
duke
parents:
diff changeset
    46
  JDK_TOPDIR=$(TOPDIR)/jdk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    47
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
    48
ifndef JDK_MAKE_SHARED_DIR
fd16c54261b3 Initial load
duke
parents:
diff changeset
    49
  JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
fd16c54261b3 Initial load
duke
parents:
diff changeset
    50
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
    51
fd16c54261b3 Initial load
duke
parents:
diff changeset
    52
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    53
fd16c54261b3 Initial load
duke
parents:
diff changeset
    54
include ./make/Defs-internal.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    55
fd16c54261b3 Initial load
duke
parents:
diff changeset
    56
all::
fd16c54261b3 Initial load
duke
parents:
diff changeset
    57
	@$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build started: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
    58
fd16c54261b3 Initial load
duke
parents:
diff changeset
    59
# Rules for sanity checks
fd16c54261b3 Initial load
duke
parents:
diff changeset
    60
include ./make/sanity-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    61
fd16c54261b3 Initial load
duke
parents:
diff changeset
    62
dev : dev-build
fd16c54261b3 Initial load
duke
parents:
diff changeset
    63
fd16c54261b3 Initial load
duke
parents:
diff changeset
    64
dev-build:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    65
	$(MAKE) DEV_ONLY=true all
fd16c54261b3 Initial load
duke
parents:
diff changeset
    66
dev-sanity:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    67
	$(MAKE) DEV_ONLY=true sanity
fd16c54261b3 Initial load
duke
parents:
diff changeset
    68
dev-clobber:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    69
	$(MAKE) DEV_ONLY=true clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
    70
fd16c54261b3 Initial load
duke
parents:
diff changeset
    71
# Rules for various components
fd16c54261b3 Initial load
duke
parents:
diff changeset
    72
include ./make/hotspot-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    73
include ./make/langtools-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    74
include ./make/corba-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    75
include ./make/jaxp-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    76
include ./make/jaxws-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    77
include ./make/jdk-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    78
include ./make/install-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    79
include ./make/sponsors-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    80
include ./make/deploy-rules.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
    81
fd16c54261b3 Initial load
duke
parents:
diff changeset
    82
all:: setup build
fd16c54261b3 Initial load
duke
parents:
diff changeset
    83
fd16c54261b3 Initial load
duke
parents:
diff changeset
    84
setup:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    85
	$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    86
	$(MKDIR) -p $(ABS_OUTPUTDIR)/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    87
	$(MKDIR) -p $(OUTPUTDIR)-fastdebug/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    88
	$(MKDIR) -p $(ABS_OUTPUTDIR)-fastdebug/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    89
fd16c54261b3 Initial load
duke
parents:
diff changeset
    90
build:: sanity 
fd16c54261b3 Initial load
duke
parents:
diff changeset
    91
fd16c54261b3 Initial load
duke
parents:
diff changeset
    92
clobber::
fd16c54261b3 Initial load
duke
parents:
diff changeset
    93
fd16c54261b3 Initial load
duke
parents:
diff changeset
    94
ifeq ($(BUILD_LANGTOOLS), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
    95
  build:: langtools
fd16c54261b3 Initial load
duke
parents:
diff changeset
    96
  clobber:: langtools-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
    97
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
    98
fd16c54261b3 Initial load
duke
parents:
diff changeset
    99
ifeq ($(BUILD_CORBA), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   100
  build:: corba
fd16c54261b3 Initial load
duke
parents:
diff changeset
   101
  clobber:: corba-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   102
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   103
fd16c54261b3 Initial load
duke
parents:
diff changeset
   104
ifeq ($(BUILD_JAXP), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   105
  build:: jaxp
fd16c54261b3 Initial load
duke
parents:
diff changeset
   106
  clobber:: jaxp-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   107
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   108
fd16c54261b3 Initial load
duke
parents:
diff changeset
   109
ifeq ($(BUILD_JAXWS), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   110
  build:: jaxws
fd16c54261b3 Initial load
duke
parents:
diff changeset
   111
  clobber:: jaxws-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   112
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   113
fd16c54261b3 Initial load
duke
parents:
diff changeset
   114
ifeq ($(BUILD_HOTSPOT), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   115
  build:: $(HOTSPOT) 
fd16c54261b3 Initial load
duke
parents:
diff changeset
   116
  clobber:: hotspot-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   117
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   118
fd16c54261b3 Initial load
duke
parents:
diff changeset
   119
ifeq ($(BUILD_JDK), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   120
  build:: $(JDK_JAVA_EXE)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   121
  clobber:: jdk-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   122
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   123
fd16c54261b3 Initial load
duke
parents:
diff changeset
   124
ifeq ($(BUILD_DEPLOY), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   125
  build:: $(DEPLOY)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   126
  clobber:: deploy-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   127
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   128
fd16c54261b3 Initial load
duke
parents:
diff changeset
   129
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   130
# Generic debug build, fastdebug or debug. Needs special handling.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   131
#  Note that debug builds do NOT do INSTALL steps, but must be done
fd16c54261b3 Initial load
duke
parents:
diff changeset
   132
#  after the product build and before the INSTALL step of the product build.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   133
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   134
#   DEBUG_NAME is fastdebug or debug
fd16c54261b3 Initial load
duke
parents:
diff changeset
   135
#   ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
fd16c54261b3 Initial load
duke
parents:
diff changeset
   136
#   The resulting j2sdk-image is used by the install makefiles to create a
fd16c54261b3 Initial load
duke
parents:
diff changeset
   137
#     debug install bundle jdk-*-debug-** bundle (tar or zip) 
fd16c54261b3 Initial load
duke
parents:
diff changeset
   138
#     which will install in the debug or fastdebug subdirectory of the
fd16c54261b3 Initial load
duke
parents:
diff changeset
   139
#     normal product install area.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   140
#     The install process needs to know what the DEBUG_NAME is, so
fd16c54261b3 Initial load
duke
parents:
diff changeset
   141
#     look for INSTALL_DEBUG_NAME in the install rules.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   142
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   143
fd16c54261b3 Initial load
duke
parents:
diff changeset
   144
COMMON_DEBUG_FLAGS= \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   145
	DEBUG_NAME=$(DEBUG_NAME) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   146
	ALT_OUTPUTDIR=$(_OUTPUTDIR)-$(DEBUG_NAME) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   147
	NO_DOCS=true
fd16c54261b3 Initial load
duke
parents:
diff changeset
   148
fd16c54261b3 Initial load
duke
parents:
diff changeset
   149
product_build: setup
fd16c54261b3 Initial load
duke
parents:
diff changeset
   150
	@$(ECHO) $@ build started: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
   151
	$(MAKE) SKIP_FASTDEBUG_BUILD=true SKIP_DEBUG_BUILD=true all
fd16c54261b3 Initial load
duke
parents:
diff changeset
   152
	@$(ECHO) $@ build finished: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
   153
fd16c54261b3 Initial load
duke
parents:
diff changeset
   154
generic_debug_build:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   155
	@$(ECHO) $@ build started: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
   156
	$(MAKE) $(COMMON_DEBUG_FLAGS) setup build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   157
	@$(ECHO) $@ build finished: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
   158
fd16c54261b3 Initial load
duke
parents:
diff changeset
   159
debug_build: setup
fd16c54261b3 Initial load
duke
parents:
diff changeset
   160
	$(MAKE) DEBUG_NAME=debug generic_debug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   161
fd16c54261b3 Initial load
duke
parents:
diff changeset
   162
fastdebug_build: setup
fd16c54261b3 Initial load
duke
parents:
diff changeset
   163
	$(MAKE) DEBUG_NAME=fastdebug generic_debug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   164
fd16c54261b3 Initial load
duke
parents:
diff changeset
   165
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   166
  all:: fastdebug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   167
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   168
fd16c54261b3 Initial load
duke
parents:
diff changeset
   169
ifeq ($(SKIP_DEBUG_BUILD), false)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   170
  all:: debug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   171
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   172
fd16c54261b3 Initial load
duke
parents:
diff changeset
   173
ifeq ($(BUILD_JDK), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   174
  ifeq ($(BUNDLE_RULES_AVAILABLE), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   175
    all:: openjdk-binary-plugs-bundles
fd16c54261b3 Initial load
duke
parents:
diff changeset
   176
  endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   177
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   178
fd16c54261b3 Initial load
duke
parents:
diff changeset
   179
ifeq ($(BUILD_INSTALL), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   180
  all :: $(INSTALL)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   181
  clobber:: install-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   182
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   183
fd16c54261b3 Initial load
duke
parents:
diff changeset
   184
ifeq ($(BUILD_SPONSORS), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   185
  all :: $(SPONSORS)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   186
  clobber:: sponsors-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   187
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   188
fd16c54261b3 Initial load
duke
parents:
diff changeset
   189
ifneq ($(SKIP_COMPARE_IMAGES), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   190
  all :: compare-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
   191
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   192
fd16c54261b3 Initial load
duke
parents:
diff changeset
   193
ifeq ($(SKIP_OPENJDK_BUILD), false)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   194
  ifeq ($(BUILD_JDK), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   195
    ifeq ($(BUNDLE_RULES_AVAILABLE), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   196
      # If we have bundle rules, we have a chance here to do a complete cycle
fd16c54261b3 Initial load
duke
parents:
diff changeset
   197
      #   build, of closed and open build.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   198
      # FIXUP: We should create the openjdk source bundle and build that?
fd16c54261b3 Initial load
duke
parents:
diff changeset
   199
      ABS_OPENJDK_PLUGS=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   200
      ABS_OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/openjdk
fd16c54261b3 Initial load
duke
parents:
diff changeset
   201
      OPENJDK_BUILD_NAME_PREFIX \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   202
	= $(J2SDK_NAME)-$(JDK_MKTG_UNDERSCORE_VERSION)-$(MILESTONE)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   203
      OPENJDK_BUILD_NAME_SUFFIX \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   204
	= $(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   205
      OPENJDK_BUILD_NAME \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   206
	= $(OPENJDK_BUILD_NAME_PREFIX)-openjdk-$(OPENJDK_BUILD_NAME_SUFFIX)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   207
      OPENJDK_BUILD_BINARY_ZIP \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   208
	= $(ABS_BIN_BUNDLEDIR)/$(OPENJDK_BUILD_NAME).zip
fd16c54261b3 Initial load
duke
parents:
diff changeset
   209
  all :: openjdk-build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   210
  openjdk-build:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   211
	@$(ECHO) " "
fd16c54261b3 Initial load
duke
parents:
diff changeset
   212
	@$(ECHO) "================================================="
fd16c54261b3 Initial load
duke
parents:
diff changeset
   213
	@$(ECHO) "Starting openjdk build"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   214
	@$(ECHO) "================================================="
fd16c54261b3 Initial load
duke
parents:
diff changeset
   215
	@$(ECHO) " "
fd16c54261b3 Initial load
duke
parents:
diff changeset
   216
	$(RM) -r $(ABS_OPENJDK_OUTPUTDIR)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   217
	$(MKDIR) -p $(ABS_OPENJDK_OUTPUTDIR)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   218
	$(MAKE) OPENJDK=true \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   219
	  BUILD_LANGTOOLS=$(BUILD_LANGTOOLS) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   220
	  BUILD_CORBA=$(BUILD_CORBA) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   221
	  BUILD_JAXP=$(BUILD_JAXP) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   222
	  BUILD_JAXWS=$(BUILD_JAXWS) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   223
	  BUILD_HOTSPOT=$(BUILD_HOTSPOT) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   224
	  ALT_OUTPUTDIR=$(ABS_OPENJDK_OUTPUTDIR) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   225
	  ALT_BINARY_PLUGS_PATH=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   226
	  ALT_BOOTDIR=$(ABS_OUTPUTDIR)/j2sdk-image \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   227
	  ALT_JDK_IMPORT_PATH=$(ABS_OUTPUTDIR)/j2sdk-image \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   228
		product_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   229
	$(RM) $(OPENJDK_BUILD_BINARY_ZIP)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   230
	( $(CD) $(ABS_OPENJDK_OUTPUTDIR)/j2sdk-image && \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   231
	  $(ZIPEXE) -q -r $(OPENJDK_BUILD_BINARY_ZIP) .)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   232
	$(RM) -r $(ABS_OPENJDK_OUTPUTDIR)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   233
    endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   234
  endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   235
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   236
fd16c54261b3 Initial load
duke
parents:
diff changeset
   237
clobber::
fd16c54261b3 Initial load
duke
parents:
diff changeset
   238
	$(RM) -r $(OUTPUTDIR)/*
fd16c54261b3 Initial load
duke
parents:
diff changeset
   239
	$(RM) -r $(OUTPUTDIR)-debug/*
fd16c54261b3 Initial load
duke
parents:
diff changeset
   240
	$(RM) -r $(OUTPUTDIR)-fastdebug/*
fd16c54261b3 Initial load
duke
parents:
diff changeset
   241
	-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE))
fd16c54261b3 Initial load
duke
parents:
diff changeset
   242
fd16c54261b3 Initial load
duke
parents:
diff changeset
   243
clean: clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   244
fd16c54261b3 Initial load
duke
parents:
diff changeset
   245
all:: 
fd16c54261b3 Initial load
duke
parents:
diff changeset
   246
	@$(ECHO) Control build finished: `$(DATE) '+%y-%m-%d %H:%M'`
fd16c54261b3 Initial load
duke
parents:
diff changeset
   247
fd16c54261b3 Initial load
duke
parents:
diff changeset
   248
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   249
# Quick jdk verification build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   250
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   251
jdk_only:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   252
	$(MAKE) SKIP_FASTDEBUG_BUILD=true BUILD_HOTSPOT=false all
fd16c54261b3 Initial load
duke
parents:
diff changeset
   253
fd16c54261b3 Initial load
duke
parents:
diff changeset
   254
fd16c54261b3 Initial load
duke
parents:
diff changeset
   255
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   256
# Quick jdk verification fastdebug build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   257
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   258
jdk_fastdebug_only:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   259
	$(MAKE) DEBUG_NAME=fastdebug BUILD_HOTSPOT=false BUILD_DEPLOY=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   260
	    BUILD_INSTALL=false BUILD_SPONSORS=false generic_debug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   261
fd16c54261b3 Initial load
duke
parents:
diff changeset
   262
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   263
# Quick deploy verification fastdebug build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   264
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   265
deploy_fastdebug_only:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   266
	$(MAKE) \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   267
	    DEBUG_NAME=fastdebug \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   268
	    BUILD_HOTSPOT=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   269
	    BUILD_JDK=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   270
	    BUILD_LANGTOOLS=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   271
	    BUILD_CORBA=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   272
	    BUILD_JAXP=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   273
	    BUILD_JAXWS=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   274
	    BUILD_INSTALL=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   275
	    BUILD_SPONSORS=false \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   276
	    generic_debug_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   277
fd16c54261b3 Initial load
duke
parents:
diff changeset
   278
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   279
# Product build (skip debug builds)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   280
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   281
product_only:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   282
	$(MAKE) SKIP_FASTDEBUG_BUILD=true all
fd16c54261b3 Initial load
duke
parents:
diff changeset
   283
fd16c54261b3 Initial load
duke
parents:
diff changeset
   284
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   285
# Check target
fd16c54261b3 Initial load
duke
parents:
diff changeset
   286
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   287
fd16c54261b3 Initial load
duke
parents:
diff changeset
   288
check: variable_check
fd16c54261b3 Initial load
duke
parents:
diff changeset
   289
fd16c54261b3 Initial load
duke
parents:
diff changeset
   290
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   291
# Help target
fd16c54261b3 Initial load
duke
parents:
diff changeset
   292
#
fd16c54261b3 Initial load
duke
parents:
diff changeset
   293
help: intro_help target_help variable_help notes_help examples_help
fd16c54261b3 Initial load
duke
parents:
diff changeset
   294
fd16c54261b3 Initial load
duke
parents:
diff changeset
   295
# Intro help message
fd16c54261b3 Initial load
duke
parents:
diff changeset
   296
intro_help:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   297
	@$(ECHO) "\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   298
Makefile for the JDK builds (all the JDK). \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   299
"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   300
fd16c54261b3 Initial load
duke
parents:
diff changeset
   301
# Target help
fd16c54261b3 Initial load
duke
parents:
diff changeset
   302
target_help:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   303
	@$(ECHO) "\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   304
--- Common Targets ---  \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   305
all               -- build the core JDK (default target) \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   306
help              -- Print out help information \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   307
check             -- Check make variable values for correctness \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   308
sanity            -- Perform detailed sanity checks on system and settings \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   309
fastdebug_build   -- build the core JDK in 'fastdebug' mode (-g -O) \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   310
debug_build       -- build the core JDK in 'debug' mode (-g) \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   311
clean             -- remove all built and imported files \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   312
clobber           -- same as clean \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   313
"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   314
fd16c54261b3 Initial load
duke
parents:
diff changeset
   315
# Variable help (only common ones used by this Makefile)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   316
variable_help: variable_help_intro variable_list variable_help_end
fd16c54261b3 Initial load
duke
parents:
diff changeset
   317
variable_help_intro:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   318
	@$(ECHO) "--- Common Variables ---"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   319
variable_help_end:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   320
	@$(ECHO) " "
fd16c54261b3 Initial load
duke
parents:
diff changeset
   321
fd16c54261b3 Initial load
duke
parents:
diff changeset
   322
# One line descriptions for the variables
fd16c54261b3 Initial load
duke
parents:
diff changeset
   323
OUTPUTDIR.desc             = Output directory
fd16c54261b3 Initial load
duke
parents:
diff changeset
   324
PARALLEL_COMPILE_JOBS.desc = Solaris/Linux parallel compile run count
fd16c54261b3 Initial load
duke
parents:
diff changeset
   325
SLASH_JAVA.desc            = Root of all build tools, e.g. /java or J:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   326
BOOTDIR.desc               = JDK used to boot the build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   327
JDK_IMPORT_PATH.desc       = JDK used to import components of the build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   328
COMPILER_PATH.desc         = Compiler install directory
fd16c54261b3 Initial load
duke
parents:
diff changeset
   329
CACERTS_FILE.desc          = Location of certificates file
fd16c54261b3 Initial load
duke
parents:
diff changeset
   330
DEVTOOLS_PATH.desc         = Directory containing zip and gnumake
fd16c54261b3 Initial load
duke
parents:
diff changeset
   331
CUPS_HEADERS_PATH.desc     = Include directory location for CUPS header files
fd16c54261b3 Initial load
duke
parents:
diff changeset
   332
DXSDK_PATH.desc            = Root directory of DirectX SDK
fd16c54261b3 Initial load
duke
parents:
diff changeset
   333
MSDEVTOOLS_PATH.desc       = Root directory of VC++ tools (e.g. rc.exe)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   334
MSVCRT_DLL_PATH.desc       = Directory containing mscvrt.dll
fd16c54261b3 Initial load
duke
parents:
diff changeset
   335
fd16c54261b3 Initial load
duke
parents:
diff changeset
   336
# Make variables to print out (description and value)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   337
VARIABLE_PRINTVAL_LIST +=       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   338
    OUTPUTDIR                   \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   339
    PARALLEL_COMPILE_JOBS       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   340
    SLASH_JAVA                  \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   341
    BOOTDIR                     \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   342
    JDK_IMPORT_PATH             \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   343
    COMPILER_PATH               \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   344
    CACERTS_FILE                \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   345
    DEVTOOLS_PATH
fd16c54261b3 Initial load
duke
parents:
diff changeset
   346
fd16c54261b3 Initial load
duke
parents:
diff changeset
   347
# Make variables that should refer to directories that exist
fd16c54261b3 Initial load
duke
parents:
diff changeset
   348
VARIABLE_CHECKDIR_LIST +=       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   349
    SLASH_JAVA                  \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   350
    BOOTDIR                     \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   351
    JDK_IMPORT_PATH             \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   352
    COMPILER_PATH               \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   353
    DEVTOOLS_PATH 
fd16c54261b3 Initial load
duke
parents:
diff changeset
   354
fd16c54261b3 Initial load
duke
parents:
diff changeset
   355
# Make variables that should refer to files that exist
fd16c54261b3 Initial load
duke
parents:
diff changeset
   356
VARIABLE_CHECKFIL_LIST +=       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   357
    CACERTS_FILE
fd16c54261b3 Initial load
duke
parents:
diff changeset
   358
fd16c54261b3 Initial load
duke
parents:
diff changeset
   359
# Some are windows specific
fd16c54261b3 Initial load
duke
parents:
diff changeset
   360
ifeq ($(PLATFORM), windows)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   361
fd16c54261b3 Initial load
duke
parents:
diff changeset
   362
VARIABLE_PRINTVAL_LIST +=       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   363
    DXSDK_PATH                  \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   364
    MSDEVTOOLS_PATH             \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   365
    MSVCRT_DLL_PATH
fd16c54261b3 Initial load
duke
parents:
diff changeset
   366
fd16c54261b3 Initial load
duke
parents:
diff changeset
   367
VARIABLE_CHECKDIR_LIST +=       \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   368
    DXSDK_PATH                  \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   369
    MSDEVTOOLS_PATH             \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   370
    MSVCRT_DLL_PATH
fd16c54261b3 Initial load
duke
parents:
diff changeset
   371
fd16c54261b3 Initial load
duke
parents:
diff changeset
   372
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   373
fd16c54261b3 Initial load
duke
parents:
diff changeset
   374
# For pattern rules below, so all are treated the same
fd16c54261b3 Initial load
duke
parents:
diff changeset
   375
DO_PRINTVAL_LIST=$(VARIABLE_PRINTVAL_LIST:%=%.printval)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   376
DO_CHECKDIR_LIST=$(VARIABLE_CHECKDIR_LIST:%=%.checkdir)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   377
DO_CHECKFIL_LIST=$(VARIABLE_CHECKFIL_LIST:%=%.checkfil)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   378
fd16c54261b3 Initial load
duke
parents:
diff changeset
   379
# Complete variable check
fd16c54261b3 Initial load
duke
parents:
diff changeset
   380
variable_check: $(DO_CHECKDIR_LIST) $(DO_CHECKFIL_LIST)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   381
variable_list: $(DO_PRINTVAL_LIST) variable_check
fd16c54261b3 Initial load
duke
parents:
diff changeset
   382
fd16c54261b3 Initial load
duke
parents:
diff changeset
   383
# Pattern rule for printing out a variable
fd16c54261b3 Initial load
duke
parents:
diff changeset
   384
%.printval:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   385
	@$(ECHO) "  ALT_$* - $($*.desc)"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   386
	@$(ECHO) "  \t $*=$($*)"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   387
fd16c54261b3 Initial load
duke
parents:
diff changeset
   388
# Pattern rule for checking to see if a variable with a directory exists
fd16c54261b3 Initial load
duke
parents:
diff changeset
   389
%.checkdir:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   390
	@if [ ! -d $($*) ] ; then \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   391
	    $(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   392
	fi
fd16c54261b3 Initial load
duke
parents:
diff changeset
   393
fd16c54261b3 Initial load
duke
parents:
diff changeset
   394
# Pattern rule for checking to see if a variable with a file exists
fd16c54261b3 Initial load
duke
parents:
diff changeset
   395
%.checkfil:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   396
	@if [ ! -f $($*) ] ; then \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   397
	    $(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   398
	fi
fd16c54261b3 Initial load
duke
parents:
diff changeset
   399
fd16c54261b3 Initial load
duke
parents:
diff changeset
   400
# Misc notes on help
fd16c54261b3 Initial load
duke
parents:
diff changeset
   401
notes_help:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   402
	@$(ECHO) "\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   403
--- Notes --- \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   404
- All builds use same output directory unless overridden with \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   405
 \t ALT_OUTPUTDIR=<dir>, changing from product to fastdebug you may want \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   406
 \t to use the clean target first. \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   407
- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   408
 \t builds or previous release JDK builds will work. \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   409
- The fastest builds have been when the sources and the BOOTDIR are on \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   410
 \t local disk. \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   411
"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   412
fd16c54261b3 Initial load
duke
parents:
diff changeset
   413
examples_help:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   414
	@$(ECHO) "\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   415
--- Examples --- \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   416
  $(MAKE) fastdebug_build \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   417
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   418
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar fastdebug_build \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   419
  $(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   420
  $(MAKE) ALT_BOOTDIR=/opt/java/jdk1.5.0 \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   421
  $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk1.6.0 \n\
fd16c54261b3 Initial load
duke
parents:
diff changeset
   422
"
fd16c54261b3 Initial load
duke
parents:
diff changeset
   423
fd16c54261b3 Initial load
duke
parents:
diff changeset
   424
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   425
# Source and binary plug bundling
fd16c54261b3 Initial load
duke
parents:
diff changeset
   426
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   427
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   428
  include $(BUNDLE_RULES)
fd16c54261b3 Initial load
duke
parents:
diff changeset
   429
endif
fd16c54261b3 Initial load
duke
parents:
diff changeset
   430
fd16c54261b3 Initial load
duke
parents:
diff changeset
   431
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   432
# Cycle build. Build the jdk, use it to build the jdk again.
fd16c54261b3 Initial load
duke
parents:
diff changeset
   433
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   434
  
fd16c54261b3 Initial load
duke
parents:
diff changeset
   435
ABS_BOOTJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
fd16c54261b3 Initial load
duke
parents:
diff changeset
   436
  
fd16c54261b3 Initial load
duke
parents:
diff changeset
   437
boot_cycle:
fd16c54261b3 Initial load
duke
parents:
diff changeset
   438
	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTJDK_OUTPUTDIR) product_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   439
	$(MAKE) ALT_BOOTDIR=$(ABS_BOOTJDK_OUTPUTDIR)/j2sdk-image product_build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   440
fd16c54261b3 Initial load
duke
parents:
diff changeset
   441
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   442
# JPRT rule to build
fd16c54261b3 Initial load
duke
parents:
diff changeset
   443
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   444
fd16c54261b3 Initial load
duke
parents:
diff changeset
   445
include ./make/jprt.gmk
fd16c54261b3 Initial load
duke
parents:
diff changeset
   446
fd16c54261b3 Initial load
duke
parents:
diff changeset
   447
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   448
#  PHONY
fd16c54261b3 Initial load
duke
parents:
diff changeset
   449
################################################################
fd16c54261b3 Initial load
duke
parents:
diff changeset
   450
fd16c54261b3 Initial load
duke
parents:
diff changeset
   451
.PHONY: all build what clobber insane \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   452
	fastdebug_build debug_build product_build setup \
fd16c54261b3 Initial load
duke
parents:
diff changeset
   453
        dev dev-build dev-sanity dev-clobber
fd16c54261b3 Initial load
duke
parents:
diff changeset
   454
fd16c54261b3 Initial load
duke
parents:
diff changeset
   455
# FIXUP: Old j2se targets
fd16c54261b3 Initial load
duke
parents:
diff changeset
   456
j2se_fastdebug_only: jdk_fastdebug_only
fd16c54261b3 Initial load
duke
parents:
diff changeset
   457
j2se_only: jdk_only
fd16c54261b3 Initial load
duke
parents:
diff changeset
   458