duke@435: # mikael@4153: # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. duke@435: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. duke@435: # duke@435: # This code is free software; you can redistribute it and/or modify it duke@435: # under the terms of the GNU General Public License version 2 only, as duke@435: # published by the Free Software Foundation. duke@435: # duke@435: # This code is distributed in the hope that it will be useful, but WITHOUT duke@435: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or duke@435: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License duke@435: # version 2 for more details (a copy is included in the LICENSE file that duke@435: # accompanied this code). duke@435: # duke@435: # You should have received a copy of the GNU General Public License version duke@435: # 2 along with this work; if not, write to the Free Software Foundation, duke@435: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. duke@435: # trims@1907: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA trims@1907: # or visit www.oracle.com if you need additional information or have any trims@1907: # questions. duke@435: # duke@435: # duke@435: duke@435: # These are the commands used externally to compile and run. dcubed@3990: # The \ are used here for traditional Windows apps and " quoted to get dcubed@3990: # past the Unix-like shell: duke@435: !ifdef BootStrapDir dcubed@3990: RUN_JAVA="$(BootStrapDir)\bin\java" dcubed@3990: RUN_JAVAP="$(BootStrapDir)\bin\javap" dcubed@3990: RUN_JAVAH="$(BootStrapDir)\bin\javah" dcubed@3990: RUN_JAR="$(BootStrapDir)\bin\jar" dcubed@3990: COMPILE_JAVAC="$(BootStrapDir)\bin\javac" $(BOOTSTRAP_JAVAC_FLAGS) dcubed@3990: COMPILE_RMIC="$(BootStrapDir)\bin\rmic" duke@435: BOOT_JAVA_HOME=$(BootStrapDir) duke@435: !else duke@435: RUN_JAVA=java duke@435: RUN_JAVAP=javap duke@435: RUN_JAVAH=javah duke@435: RUN_JAR=jar andrew@1406: COMPILE_JAVAC=javac $(BOOTSTRAP_JAVAC_FLAGS) duke@435: COMPILE_RMIC=rmic duke@435: BOOT_JAVA_HOME= duke@435: !endif duke@435: andrew@1406: # Settings for javac andrew@1406: BOOT_SOURCE_LANGUAGE_VERSION=6 andrew@1406: BOOT_TARGET_CLASS_VERSION=6 andrew@1406: JAVAC_FLAGS=-g -encoding ascii andrew@1406: BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION) andrew@1406: sla@2369: ProjectFile=jvm.vcproj ikrylov@1094: duke@435: !if "$(MSC_VER)" == "1200" ikrylov@1094: duke@435: VcVersion=VC6 sla@2540: ProjectFile=jvm.dsp ikrylov@1094: ikrylov@1094: !elseif "$(MSC_VER)" == "1400" ikrylov@1094: ikrylov@1094: VcVersion=VC8 ikrylov@1094: ikrylov@1094: !elseif "$(MSC_VER)" == "1500" ikrylov@1094: ikrylov@1094: VcVersion=VC9 ikrylov@1094: sla@2369: !elseif "$(MSC_VER)" == "1600" sla@2369: sla@2675: VcVersion=VC10 sla@2675: ProjectFile=jvm.vcxproj sla@2369: duke@435: !else ikrylov@1094: duke@435: VcVersion=VC7 ikrylov@1094: duke@435: !endif