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