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