make/windows/makefiles/launcher.make

changeset 5109
aabf54ccedb1
parent 5108
f0bc60565ba8
child 5110
6f3fd5150b67
     1.1 --- a/make/windows/makefiles/launcher.make	Mon May 06 13:53:13 2013 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,73 +0,0 @@
     1.4 -#
     1.5 -# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 -#
     1.8 -# This code is free software; you can redistribute it and/or modify it
     1.9 -# under the terms of the GNU General Public License version 2 only, as
    1.10 -# published by the Free Software Foundation.
    1.11 -#
    1.12 -# This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 -# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 -# version 2 for more details (a copy is included in the LICENSE file that
    1.16 -# accompanied this code).
    1.17 -#
    1.18 -# You should have received a copy of the GNU General Public License version
    1.19 -# 2 along with this work; if not, write to the Free Software Foundation,
    1.20 -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 -#
    1.22 -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.23 -# or visit www.oracle.com if you need additional information or have any
    1.24 -# questions.
    1.25 -#  
    1.26 -#
    1.27 -
    1.28 -
    1.29 -LAUNCHER_FLAGS=$(CXX_FLAGS) $(ARCHFLAG) \
    1.30 -	/D FULL_VERSION=\"$(HOTSPOT_RELEASE_VERSION)\" \
    1.31 -	/D JDK_MAJOR_VERSION=\"$(JDK_MAJOR_VERSION)\" \
    1.32 -	/D JDK_MINOR_VERSION=\"$(JDK_MINOR_VERSION)\" \
    1.33 -	/D GAMMA \
    1.34 -	/D LAUNCHER_TYPE=\"gamma\" \
    1.35 -	/D _CRT_SECURE_NO_WARNINGS \
    1.36 -	/D _CRT_SECURE_NO_DEPRECATE \
    1.37 -	/D LINK_INTO_LIBJVM \
    1.38 -	/I $(WorkSpace)\src\os\windows\launcher \
    1.39 -	/I $(WorkSpace)\src\share\tools\launcher \
    1.40 -	/I $(WorkSpace)\src\share\vm\prims \
    1.41 -	/I $(WorkSpace)\src\share\vm \
    1.42 -	/I $(WorkSpace)\src\cpu\$(Platform_arch)\vm \
    1.43 -	/I $(WorkSpace)\src\os\windows\vm
    1.44 -
    1.45 -LD_FLAGS=/manifest $(HS_INTERNAL_NAME).lib kernel32.lib user32.lib /nologo /machine:$(MACHINE) /map /debug /subsystem:console 
    1.46 -
    1.47 -!if "$(COMPILER_NAME)" == "VS2005"
    1.48 -# This VS2005 compiler has /GS as a default and requires bufferoverflowU.lib
    1.49 -#    on the link command line, otherwise we get missing __security_check_cookie
    1.50 -#    externals at link time. Even with /GS-, you need bufferoverflowU.lib.
    1.51 -BUFFEROVERFLOWLIB = bufferoverflowU.lib
    1.52 -LD_FLAGS = $(LD_FLAGS) $(BUFFEROVERFLOWLIB)
    1.53 -!endif
    1.54 -
    1.55 -!if "$(COMPILER_NAME)" == "VS2010" && "$(BUILDARCH)" == "i486"
    1.56 -LD_FLAGS = /SAFESEH $(LD_FLAGS)
    1.57 -!endif
    1.58 -
    1.59 -LAUNCHERDIR = $(WorkSpace)/src/os/windows/launcher
    1.60 -LAUNCHERDIR_SHARE = $(WorkSpace)/src/share/tools/launcher
    1.61 -
    1.62 -OUTDIR = launcher
    1.63 -
    1.64 -{$(LAUNCHERDIR)}.c{$(OUTDIR)}.obj:
    1.65 -	-mkdir $(OUTDIR) 2>NUL >NUL
    1.66 -        $(CXX) $(LAUNCHER_FLAGS) /c /Fo$@ $<
    1.67 -
    1.68 -{$(LAUNCHERDIR_SHARE)}.c{$(OUTDIR)}.obj:
    1.69 -	-mkdir $(OUTDIR) 2>NUL >NUL
    1.70 -        $(CXX) $(LAUNCHER_FLAGS) /c /Fo$@ $<
    1.71 -
    1.72 -$(OUTDIR)\*.obj: $(LAUNCHERDIR)\*.c $(LAUNCHERDIR)\*.h $(LAUNCHERDIR_SHARE)\*.c $(LAUNCHERDIR_SHARE)\*.h
    1.73 -
    1.74 -launcher: $(OUTDIR)\java.obj $(OUTDIR)\java_md.obj $(OUTDIR)\jli_util.obj
    1.75 -	echo $(JAVA_HOME) > jdkpath.txt  
    1.76 -	$(LD) $(LD_FLAGS) /out:hotspot.exe $**

mercurial