make/windows/makefiles/rules.make

changeset 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make/windows/makefiles/rules.make	Wed Apr 27 01:25:04 2016 +0800
     1.3 @@ -0,0 +1,83 @@
     1.4 +#
     1.5 +# Copyright (c) 2003, 2013, 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 +# These are the commands used externally to compile and run.
    1.29 +# The \ are used here for traditional Windows apps and " quoted to get
    1.30 +# past the Unix-like shell:
    1.31 +!ifdef BootStrapDir
    1.32 +RUN_JAVA="$(BootStrapDir)\bin\java"
    1.33 +RUN_JAVAP="$(BootStrapDir)\bin\javap"
    1.34 +RUN_JAVAH="$(BootStrapDir)\bin\javah"
    1.35 +RUN_JAR="$(BootStrapDir)\bin\jar"
    1.36 +COMPILE_JAVAC="$(BootStrapDir)\bin\javac" $(BOOTSTRAP_JAVAC_FLAGS)
    1.37 +COMPILE_RMIC="$(BootStrapDir)\bin\rmic"
    1.38 +BOOT_JAVA_HOME=$(BootStrapDir)
    1.39 +!else
    1.40 +RUN_JAVA=java
    1.41 +RUN_JAVAP=javap
    1.42 +RUN_JAVAH=javah
    1.43 +RUN_JAR=jar
    1.44 +COMPILE_JAVAC=javac $(BOOTSTRAP_JAVAC_FLAGS)
    1.45 +COMPILE_RMIC=rmic
    1.46 +BOOT_JAVA_HOME=
    1.47 +!endif
    1.48 +
    1.49 +# Settings for javac
    1.50 +BOOT_SOURCE_LANGUAGE_VERSION=6
    1.51 +BOOT_TARGET_CLASS_VERSION=6
    1.52 +JAVAC_FLAGS=-g -encoding ascii
    1.53 +BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
    1.54 +
    1.55 +ProjectFile=jvm.vcproj
    1.56 +
    1.57 +!if "$(MSC_VER)" == "1200"
    1.58 +
    1.59 +VcVersion=VC6
    1.60 +ProjectFile=jvm.dsp
    1.61 +
    1.62 +!elseif "$(MSC_VER)" == "1400"
    1.63 +
    1.64 +VcVersion=VC8
    1.65 +
    1.66 +!elseif "$(MSC_VER)" == "1500"
    1.67 +
    1.68 +VcVersion=VC9
    1.69 +
    1.70 +!elseif "$(MSC_VER)" == "1600"
    1.71 +
    1.72 +VcVersion=VC10
    1.73 +ProjectFile=jvm.vcxproj
    1.74 +
    1.75 +!elseif "$(MSC_VER)" == "1700"
    1.76 +# This is VS2012, but it loads VS10 projects just fine (and will
    1.77 +# upgrade them automatically to VS2012 format).
    1.78 +
    1.79 +VcVersion=VC10
    1.80 +ProjectFile=jvm.vcxproj
    1.81 +
    1.82 +!else
    1.83 +
    1.84 +VcVersion=VC7
    1.85 +
    1.86 +!endif

mercurial