1 #
2 # Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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
7 # published by the Free Software Foundation. Sun designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Sun in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 # CA 95054 USA or visit www.sun.com if you need additional information or
1069 " Please check your access to \n" \
1070 " $(HOTSPOT_SERVER_PATH)/jvm.map \n" \
1071 " and/or check your value of ALT_HOTSPOT_SERVER_PATH. \n" \
1072 "" >> $(WARNING_FILE) ; \
1073 fi
1074 @if [ ! -r $(HOTSPOT_SERVER_PATH)/jvm.pdb ]; then \
1075 $(ECHO) "WARNING: HOTSPOT_SERVER_PATH does not point to valid HotSpot .pdb files. \n" \
1076 " These files are optional and aid in the debugging of the JVM. \n" \
1077 " Please check your access to \n" \
1078 " $(HOTSPOT_SERVER_PATH)/jvm.pdb \n" \
1079 " and/or check your value of ALT_HOTSPOT_SERVER_PATH. \n" \
1080 "" >> $(WARNING_FILE) ; \
1081 fi
1082 endif
1083
1084
1085 ######################################################
1086 # Check for existence of misc Hotspot imported files
1087 ######################################################
1088 HOTSPOT_INCLUDE_FILE_LIST = jvmti.h
1089 #HOTSPOT_INCLUDE_FILE_LIST += jni.h jni_md.h
1090 #HOTSPOT_INCLUDE_FILE_LIST += jvm.h jvm_md.h
1091 #HOTSPOT_INCLUDE_FILE_LIST += jmm.h
1092 TMP_SDK_INCLUDE_FILE_LIST=$(HOTSPOT_INCLUDE_FILE_LIST:%.h=$(TEMPDIR)/%.h)
1093 TMP_SDK_INCLUDE_FILE_DIFFS=$(HOTSPOT_INCLUDE_FILE_LIST:%.h=$(TEMPDIR)/%.hdiffs)
1094
1095 # These include files must have a pattern: 'version: MAJOR.MINOR.MICRO'
1096 # where MACRO, MINOR, and MICRO are numbers, e.g. 1.0.1, 0.2.90, etc.
1097 # The critical version we are checking is MAJOR.MINOR, we print all three
1098 # when we detect an error.
1099
1100 TMP_SDK_INCLUDE_FIND_VERSION= $(EGREP) 'version:'
1101 TMP_SDK_INCLUDE_GET_VERSION= $(TMP_SDK_INCLUDE_FIND_VERSION) | \
1102 $(SED) -e 's@.*\([0-9][0-9]*\.[0-9][0-9]*\)\.[0-9].*@\1@'
1103 TMP_SDK_INCLUDE_GET_FULL_VERSION= $(TMP_SDK_INCLUDE_FIND_VERSION) | \
1104 $(SED) -e 's@.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*@\1@'
1105
1106 # Compare an interface file (Rule creates 2 temp files: %.h and %.h.IMPORT)
1107 # Files jvm.h, jvm_md.h and jmm.h are special in that they are not publicly
1108 # exported but do represent VM interfaces used by the rest of the jdk.
|
1 #
2 # Copyright 2005-2010 Sun Microsystems, Inc. All Rights Reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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
7 # published by the Free Software Foundation. Sun designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Sun in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 # CA 95054 USA or visit www.sun.com if you need additional information or
1069 " Please check your access to \n" \
1070 " $(HOTSPOT_SERVER_PATH)/jvm.map \n" \
1071 " and/or check your value of ALT_HOTSPOT_SERVER_PATH. \n" \
1072 "" >> $(WARNING_FILE) ; \
1073 fi
1074 @if [ ! -r $(HOTSPOT_SERVER_PATH)/jvm.pdb ]; then \
1075 $(ECHO) "WARNING: HOTSPOT_SERVER_PATH does not point to valid HotSpot .pdb files. \n" \
1076 " These files are optional and aid in the debugging of the JVM. \n" \
1077 " Please check your access to \n" \
1078 " $(HOTSPOT_SERVER_PATH)/jvm.pdb \n" \
1079 " and/or check your value of ALT_HOTSPOT_SERVER_PATH. \n" \
1080 "" >> $(WARNING_FILE) ; \
1081 fi
1082 endif
1083
1084
1085 ######################################################
1086 # Check for existence of misc Hotspot imported files
1087 ######################################################
1088 HOTSPOT_INCLUDE_FILE_LIST = jvmti.h
1089 HOTSPOT_INCLUDE_FILE_LIST += jvmticmlr.h
1090 #HOTSPOT_INCLUDE_FILE_LIST += jni.h jni_md.h
1091 #HOTSPOT_INCLUDE_FILE_LIST += jvm.h jvm_md.h
1092 #HOTSPOT_INCLUDE_FILE_LIST += jmm.h
1093 TMP_SDK_INCLUDE_FILE_LIST=$(HOTSPOT_INCLUDE_FILE_LIST:%.h=$(TEMPDIR)/%.h)
1094 TMP_SDK_INCLUDE_FILE_DIFFS=$(HOTSPOT_INCLUDE_FILE_LIST:%.h=$(TEMPDIR)/%.hdiffs)
1095
1096 # These include files must have a pattern: 'version: MAJOR.MINOR.MICRO'
1097 # where MACRO, MINOR, and MICRO are numbers, e.g. 1.0.1, 0.2.90, etc.
1098 # The critical version we are checking is MAJOR.MINOR, we print all three
1099 # when we detect an error.
1100
1101 TMP_SDK_INCLUDE_FIND_VERSION= $(EGREP) 'version:'
1102 TMP_SDK_INCLUDE_GET_VERSION= $(TMP_SDK_INCLUDE_FIND_VERSION) | \
1103 $(SED) -e 's@.*\([0-9][0-9]*\.[0-9][0-9]*\)\.[0-9].*@\1@'
1104 TMP_SDK_INCLUDE_GET_FULL_VERSION= $(TMP_SDK_INCLUDE_FIND_VERSION) | \
1105 $(SED) -e 's@.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*@\1@'
1106
1107 # Compare an interface file (Rule creates 2 temp files: %.h and %.h.IMPORT)
1108 # Files jvm.h, jvm_md.h and jmm.h are special in that they are not publicly
1109 # exported but do represent VM interfaces used by the rest of the jdk.
|