1 # |
1 # |
2 # Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
77 |
77 |
78 # Sanity check, this is the default if not amd64, ia64, or i486 |
78 # Sanity check, this is the default if not amd64, ia64, or i486 |
79 !ifndef DEFAULT_COMPILER_NAME |
79 !ifndef DEFAULT_COMPILER_NAME |
80 CPP=ARCH_ERROR |
80 CPP=ARCH_ERROR |
81 !endif |
81 !endif |
|
82 |
|
83 CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS" |
|
84 |
|
85 # Must specify this for sharedRuntimeTrig.cpp |
|
86 CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN" |
|
87 |
|
88 # Used for platform dispatching |
|
89 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_FAMILY_windows |
|
90 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_$(Platform_arch) |
|
91 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model) |
|
92 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch) |
|
93 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model) |
|
94 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_COMPILER_visCPP |
|
95 |
82 |
96 |
83 # MSC_VER is a 4 digit number that tells us what compiler is being used |
97 # MSC_VER is a 4 digit number that tells us what compiler is being used |
84 # and is generated when the local.make file is created by build.make |
98 # and is generated when the local.make file is created by build.make |
85 # via the script get_msc_ver.sh |
99 # via the script get_msc_ver.sh |
86 # |
100 # |