Makefile revision 2362
20777N/A#
20777N/A# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
20777N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
20777N/A#
20777N/A# This code is free software; you can redistribute it and/or modify it
20777N/A# under the terms of the GNU General Public License version 2 only, as
20777N/A# published by the Free Software Foundation. Oracle designates this
20777N/A# particular file as subject to the "Classpath" exception as provided
20777N/A# by Oracle in the LICENSE file that accompanied this code.
20777N/A#
20777N/A# This code is distributed in the hope that it will be useful, but WITHOUT
20777N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20777N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20777N/A# version 2 for more details (a copy is included in the LICENSE file that
20777N/A# accompanied this code).
20777N/A#
20777N/A# You should have received a copy of the GNU General Public License version
20777N/A# 2 along with this work; if not, write to the Free Software Foundation,
20777N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20777N/A#
20777N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20777N/A# or visit www.oracle.com if you need additional information or have any
20777N/A# questions.
20777N/A#
20777N/A
20777N/A#
20777N/A# Makefile for building javaw.exe (for windows)
20777N/A#
20777N/A
20777N/ABUILDDIR = ../../..
20777N/AMODULE = base
20777N/APROGRAM = javaw
20777N/APRODUCT = java
20777N/A
20777N/A#
20777N/A# Statically link javaw to avoid the dependency on msvcrNN.dll. This
20777N/A# must be set before Defs.gmk is included.
20777N/A#
20777N/AMS_RUNTIME_STATIC = true
20777N/A#
20777N/A# Statically link javaw to avoid the dependency on jli.dll. This
20777N/A# must be set before Program.gmk is included.
20777N/A#
20777N/ASTATIC_JLI = true
20777N/A
20777N/Ainclude $(BUILDDIR)/common/Defs.gmk
20777N/A
20777N/AOTHER_CPPFLAGS += -DJAVAW
20777N/ALDLIBS_COMMON += user32.lib comctl32.lib
20777N/A
20777N/A# Override the default version info with our own resource file (see 5106536)
20777N/Aifeq ($(PLATFORM), windows)
20777N/Aifdef OPENJDK
20777N/A RC_FLAGS += -i "$(PLATFORM_SRC)/resource/icons"
20777N/Aelse
20777N/A RC_FLAGS += -i "$(CLOSED_SRC)/windows/native/sun/windows"
20777N/Aendif
20777N/A VERSIONINFO_RESOURCE = $(PLATFORM_SRC)/resource/java.rc
20777N/Aendif
20777N/A
20777N/A#
20777N/A# Rules.
20777N/A#
20777N/Ainclude $(BUILDDIR)/common/Program.gmk
20777N/AOTHER_CPPFLAGS += -DEXPAND_CLASSPATH_WILDCARDS
20777N/AOTHER_CPPFLAGS += -DLAUNCHER_NAME='"$(LAUNCHER_NAME)"'
20777N/A
20777N/A