Defs-windows.gmk revision 157
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# This code is free software; you can redistribute it and/or modify it
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# under the terms of the GNU General Public License version 2 only, as
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# published by the Free Software Foundation. Oracle designates this
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# particular file as subject to the "Classpath" exception as provided
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# by Oracle in the LICENSE file that accompanied this code.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# This code is distributed in the hope that it will be useful, but WITHOUT
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# version 2 for more details (a copy is included in the LICENSE file that
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# accompanied this code).
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# You should have received a copy of the GNU General Public License version
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# 2 along with this work; if not, write to the Free Software Foundation,
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# or visit www.oracle.com if you need additional information or have any
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# Makefile to specify compiler flags for programs and libraries
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# targeted to Windows builds. Should not contain any rules.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# Get shared JDK settings
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# CC compiler object code output directive flag value
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# The suffix applied to the library name for FDLIBM
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# The suffix applied to scripts (.bat for windows, nothing for unix)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# LIB_LOCATION, which for windows identifies where .exe files go, may be
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# set by each GNUmakefile. The default is BINDIR.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# for backwards compatability, the old "win32" is used here instead of
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# the more proper "windows"
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedyPLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# The following DLL's are considered MS runtime libraries and should
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy# not to be REBASEd, see deploy/make/common/Release.gmk.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy# msvcrt.dll, msvcrnn.dll [msvcr71 or msvcr80 or msvcr90] : Microsoft runtimes
# NOTE: We also will use /D _STATIC_CPPLIB so we don't need msvcpnn.dll
# version of the runtime library (MSVCRTD.DLL), as does -MDd.
# -YX -Fp/.../foobar.pch Use precompiled headers (try someday?)
# Use static link for the C++ runtime (so msvcpnn.dll not needed)
# bufferoverflowU.lib on the link command line, otherwise
# Always add bufferoverflowU.lib to VS2005 link commands (pack uses LDDFLAGS)
JAVALIB =