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