4176N/A# Copyright (c) 2010, 2011, Oracle
and/or its affiliates. All rights reserved.
4176N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4176N/A# This code is free software; you can redistribute it
and/or modify it
4176N/A# under the terms of the GNU General Public License version 2 only, as
4176N/A# published by the Free Software Foundation.
4176N/A# This code is distributed in the hope that it will be useful, but WITHOUT
4176N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4176N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4176N/A# version 2 for more details (a copy is included in the LICENSE file that
4176N/A# You should have received a copy of the GNU General Public License version
4176N/A# 2 along with this work; if not, write to the Free Software Foundation,
4176N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4176N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4176N/ALAUNCHER_FLAGS=$(CXX_FLAGS) $(ARCHFLAG) \
4176N/A /D FULL_VERSION=\"$(HOTSPOT_RELEASE_VERSION)\" \
4176N/A /D JDK_MAJOR_VERSION=\"$(JDK_MAJOR_VERSION)\" \
4176N/A /D JDK_MINOR_VERSION=\"$(JDK_MINOR_VERSION)\" \
4176N/A /D LAUNCHER_TYPE=\"gamma\" \
4176N/A /D _CRT_SECURE_NO_WARNINGS \
4176N/A /D _CRT_SECURE_NO_DEPRECATE \
4176N/A /I $(WorkSpace)\src\os\windows\launcher \
4176N/A /I $(WorkSpace)\src\share\tools\launcher \
4176N/A /I $(WorkSpace)\src\share\vm\prims \
4176N/A /I $(WorkSpace)\src\share\vm \
4176N/A /I $(WorkSpace)\src\cpu\$(Platform_arch)\vm \
4176N/A /I $(WorkSpace)\src\os\windows\vm
4176N/A!if "$(COMPILER_NAME)" == "VS2005"
4176N/A# on the link command line, otherwise we get missing __security_check_cookie
4176N/ALD_FLAGS = $(LD_FLAGS) $(BUFFEROVERFLOWLIB)
4176N/A!if "$(COMPILER_NAME)" == "VS2010" && "$(BUILDARCH)" == "i486"
4176N/ALD_FLAGS = /SAFESEH $(LD_FLAGS)
4176N/A{$(LAUNCHERDIR)}.c{$(OUTDIR)}.obj:
4176N/A -mkdir $(OUTDIR) 2>NUL >NUL
4176N/A $(CXX) $(LAUNCHER_FLAGS) /c /Fo$@ $<
4176N/A{$(LAUNCHERDIR_SHARE)}.c{$(OUTDIR)}.obj:
4176N/A -mkdir $(OUTDIR) 2>NUL >NUL
4176N/A $(CXX) $(LAUNCHER_FLAGS) /c /Fo$@ $<
4176N/A$(OUTDIR)\*.obj: $(LAUNCHERDIR)\*.c $(LAUNCHERDIR)\*.h $(LAUNCHERDIR_SHARE)\*.c $(LAUNCHERDIR_SHARE)\*.h