annotate make/windows/projectfiles/common/Makefile @ 196:d1605aabd0a1 jdk7-b30

6719955: Update copyright year Summary: Update copyright year for files that have been modified in 2008 Reviewed-by: ohair, tbell
author xdono
date Wed, 02 Jul 2008 12:55:16 -0700
parents a294fd0c4b38
children 8fa025608ec6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 #
196
d1605aabd0a1 6719955: Update copyright year
xdono
parents: 91
diff changeset
2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 #
a61af66fc99e Initial load
duke
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 # published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 #
a61af66fc99e Initial load
duke
parents:
diff changeset
9 # This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 # version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 # accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 #
a61af66fc99e Initial load
duke
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 # 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 #
a61af66fc99e Initial load
duke
parents:
diff changeset
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
a61af66fc99e Initial load
duke
parents:
diff changeset
20 # CA 95054 USA or visit www.sun.com if you need additional information or
a61af66fc99e Initial load
duke
parents:
diff changeset
21 # have any questions.
a61af66fc99e Initial load
duke
parents:
diff changeset
22 #
a61af66fc99e Initial load
duke
parents:
diff changeset
23 #
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 WorkSpace=$(HOTSPOTWORKSPACE)
a61af66fc99e Initial load
duke
parents:
diff changeset
26
a61af66fc99e Initial load
duke
parents:
diff changeset
27 !ifdef ALT_BOOTDIR
a61af66fc99e Initial load
duke
parents:
diff changeset
28 BootStrapDir=$(ALT_BOOTDIR)
a61af66fc99e Initial load
duke
parents:
diff changeset
29 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
30 !ifdef BOOTDIR
a61af66fc99e Initial load
duke
parents:
diff changeset
31 BootStrapDir=$(BOOTDIR)
a61af66fc99e Initial load
duke
parents:
diff changeset
32 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
33 !ifdef JAVA_HOME
a61af66fc99e Initial load
duke
parents:
diff changeset
34 BootStrapDir=$(JAVA_HOME)
a61af66fc99e Initial load
duke
parents:
diff changeset
35 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
36 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
37 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
38
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
39 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/makedeps.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
40
a61af66fc99e Initial load
duke
parents:
diff changeset
41 # Pick up rules for building JVMTI (JSR-163)
a61af66fc99e Initial load
duke
parents:
diff changeset
42 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\jvmtifiles
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
43 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
44
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
45 Platform=$(HOTSPOTWORKSPACE)/make/windows/platform_$(BUILDARCH)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
46
a61af66fc99e Initial load
duke
parents:
diff changeset
47 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
a61af66fc99e Initial load
duke
parents:
diff changeset
48
a61af66fc99e Initial load
duke
parents:
diff changeset
49 IncludeDBs_base=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_core \
a61af66fc99e Initial load
duke
parents:
diff changeset
50 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_jvmti \
a61af66fc99e Initial load
duke
parents:
diff changeset
51 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc \
a61af66fc99e Initial load
duke
parents:
diff changeset
52 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_serial
a61af66fc99e Initial load
duke
parents:
diff changeset
53
a61af66fc99e Initial load
duke
parents:
diff changeset
54 # Parallel gc files
a61af66fc99e Initial load
duke
parents:
diff changeset
55 IncludeDBs_gc=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc_parallel \
a61af66fc99e Initial load
duke
parents:
diff changeset
56 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_shared \
a61af66fc99e Initial load
duke
parents:
diff changeset
57 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parNew \
a61af66fc99e Initial load
duke
parents:
diff changeset
58 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \
a61af66fc99e Initial load
duke
parents:
diff changeset
59 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep
a61af66fc99e Initial load
duke
parents:
diff changeset
60
a61af66fc99e Initial load
duke
parents:
diff changeset
61
a61af66fc99e Initial load
duke
parents:
diff changeset
62 IncludeDBs_kernel =$(IncludeDBs_base) \
a61af66fc99e Initial load
duke
parents:
diff changeset
63 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1
a61af66fc99e Initial load
duke
parents:
diff changeset
64
a61af66fc99e Initial load
duke
parents:
diff changeset
65 IncludeDBs_core =$(IncludeDBs_base) $(IncludeDBs_gc) \
a61af66fc99e Initial load
duke
parents:
diff changeset
66 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_features
a61af66fc99e Initial load
duke
parents:
diff changeset
67
a61af66fc99e Initial load
duke
parents:
diff changeset
68 IncludeDBs_compiler1=$(IncludeDBs_core) \
a61af66fc99e Initial load
duke
parents:
diff changeset
69 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1
a61af66fc99e Initial load
duke
parents:
diff changeset
70
a61af66fc99e Initial load
duke
parents:
diff changeset
71 IncludeDBs_compiler2=$(IncludeDBs_core) \
a61af66fc99e Initial load
duke
parents:
diff changeset
72 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler2
a61af66fc99e Initial load
duke
parents:
diff changeset
73
a61af66fc99e Initial load
duke
parents:
diff changeset
74 IncludeDBs_tiered=$(IncludeDBs_core) \
a61af66fc99e Initial load
duke
parents:
diff changeset
75 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1 \
a61af66fc99e Initial load
duke
parents:
diff changeset
76 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler2
a61af66fc99e Initial load
duke
parents:
diff changeset
77
a61af66fc99e Initial load
duke
parents:
diff changeset
78
a61af66fc99e Initial load
duke
parents:
diff changeset
79 !if "$(Variant)" == "compiler1"
a61af66fc99e Initial load
duke
parents:
diff changeset
80 IncludeDBs = $(IncludeDBs_compiler1)
a61af66fc99e Initial load
duke
parents:
diff changeset
81 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
82
a61af66fc99e Initial load
duke
parents:
diff changeset
83 !if "$(Variant)" == "compiler2"
a61af66fc99e Initial load
duke
parents:
diff changeset
84 IncludeDBs = $(IncludeDBs_compiler2)
a61af66fc99e Initial load
duke
parents:
diff changeset
85 # Pick up rules for building adlc
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
86 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
87 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
88
a61af66fc99e Initial load
duke
parents:
diff changeset
89 !if "$(Variant)" == "tiered"
a61af66fc99e Initial load
duke
parents:
diff changeset
90 IncludeDBs = $(IncludeDBs_tiered)
a61af66fc99e Initial load
duke
parents:
diff changeset
91 # Pick up rules for building adlc
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
92 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
93 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
94
a61af66fc99e Initial load
duke
parents:
diff changeset
95 !if "$(Variant)" == "core"
a61af66fc99e Initial load
duke
parents:
diff changeset
96 IncludeDBs = $(IncludeDBs_core)
a61af66fc99e Initial load
duke
parents:
diff changeset
97 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
98
a61af66fc99e Initial load
duke
parents:
diff changeset
99 !if "$(Variant)" == "kernel"
a61af66fc99e Initial load
duke
parents:
diff changeset
100 IncludeDBs = $(IncludeDBs_kernel)
a61af66fc99e Initial load
duke
parents:
diff changeset
101 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
102
a61af66fc99e Initial load
duke
parents:
diff changeset
103 !include $(HOTSPOTWORKSPACE)/make/hotspot_version
a61af66fc99e Initial load
duke
parents:
diff changeset
104
a61af66fc99e Initial load
duke
parents:
diff changeset
105 !if "$(HOTSPOT_RELEASE_VERSION)" != ""
a61af66fc99e Initial load
duke
parents:
diff changeset
106 HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)"
a61af66fc99e Initial load
duke
parents:
diff changeset
107 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
108 HOTSPOT_RELEASE_VERSION="$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)"
a61af66fc99e Initial load
duke
parents:
diff changeset
109 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
110 HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal
a61af66fc99e Initial load
duke
parents:
diff changeset
111 !if "$(HOTSPOT_BUILD_VERSION)" != ""
a61af66fc99e Initial load
duke
parents:
diff changeset
112 HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)"
a61af66fc99e Initial load
duke
parents:
diff changeset
113 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
114 !if "$(JRE_RELEASE_VERSION)" != ""
a61af66fc99e Initial load
duke
parents:
diff changeset
115 JRE_RELEASE_VERSION="$(JRE_RELEASE_VERSION)"
a61af66fc99e Initial load
duke
parents:
diff changeset
116 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
117 JRE_RELEASE_VERSION="$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)"
a61af66fc99e Initial load
duke
parents:
diff changeset
118 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
119
a61af66fc99e Initial load
duke
parents:
diff changeset
120 # Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,
a61af66fc99e Initial load
duke
parents:
diff changeset
121 # and if it is not see if we have the src/closed directory
a61af66fc99e Initial load
duke
parents:
diff changeset
122 !if "$(HOTSPOT_VM_DISTRO)" != ""
a61af66fc99e Initial load
duke
parents:
diff changeset
123 HOTSPOT_VM_DISTRO="$(HOTSPOT_VM_DISTRO)"
a61af66fc99e Initial load
duke
parents:
diff changeset
124 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
125 !if exists($(HOTSPOTWORKSPACE)\src\closed)
a61af66fc99e Initial load
duke
parents:
diff changeset
126 HOTSPOT_VM_DISTRO="Java HotSpot(TM)"
a61af66fc99e Initial load
duke
parents:
diff changeset
127 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
128 HOTSPOT_VM_DISTRO="OpenJDK"
a61af66fc99e Initial load
duke
parents:
diff changeset
129 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
130 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
131
a61af66fc99e Initial load
duke
parents:
diff changeset
132 MakeDepsIDEOptions = $(MakeDepsIDEOptions) \
a61af66fc99e Initial load
duke
parents:
diff changeset
133 -includeDB_kernel $(HOTSPOTBUILDSPACE)\includeDB_kernel \
a61af66fc99e Initial load
duke
parents:
diff changeset
134 -includeDB_core $(HOTSPOTBUILDSPACE)\includeDB_core \
a61af66fc99e Initial load
duke
parents:
diff changeset
135 -includeDB_compiler1 $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \
a61af66fc99e Initial load
duke
parents:
diff changeset
136 -includeDB_compiler2 $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \
a61af66fc99e Initial load
duke
parents:
diff changeset
137 -includeDB_tiered $(HOTSPOTBUILDSPACE)\includeDB_tiered \
a61af66fc99e Initial load
duke
parents:
diff changeset
138 -platform $(Platform) \
a61af66fc99e Initial load
duke
parents:
diff changeset
139 -define HOTSPOT_RELEASE_VERSION=\\\"$(HOTSPOT_RELEASE_VERSION)\\\" \
a61af66fc99e Initial load
duke
parents:
diff changeset
140 -define JRE_RELEASE_VERSION=\\\"$(JRE_RELEASE_VERSION)\\\" \
a61af66fc99e Initial load
duke
parents:
diff changeset
141 -define HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\"
a61af66fc99e Initial load
duke
parents:
diff changeset
142
a61af66fc99e Initial load
duke
parents:
diff changeset
143 incls:
a61af66fc99e Initial load
duke
parents:
diff changeset
144 @mkdir incls
a61af66fc99e Initial load
duke
parents:
diff changeset
145
a61af66fc99e Initial load
duke
parents:
diff changeset
146 includeDB.current $(ProjectFile) Dependencies: local.make $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class \
a61af66fc99e Initial load
duke
parents:
diff changeset
147 $(IncludeDBs) incls
a61af66fc99e Initial load
duke
parents:
diff changeset
148 @rm -f includeDB $(HOTSPOTBUILDSPACE)\includeDB_kernel \
a61af66fc99e Initial load
duke
parents:
diff changeset
149 $(HOTSPOTBUILDSPACE)\includeDB_core \
a61af66fc99e Initial load
duke
parents:
diff changeset
150 $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \
a61af66fc99e Initial load
duke
parents:
diff changeset
151 $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \
a61af66fc99e Initial load
duke
parents:
diff changeset
152 $(HOTSPOTBUILDSPACE)\includeDB_tiered
a61af66fc99e Initial load
duke
parents:
diff changeset
153 @cat $(IncludeDBs_kernel) > $(HOTSPOTBUILDSPACE)\includeDB_kernel
a61af66fc99e Initial load
duke
parents:
diff changeset
154 @cat $(IncludeDBs_core) > $(HOTSPOTBUILDSPACE)\includeDB_core
a61af66fc99e Initial load
duke
parents:
diff changeset
155 @cat $(IncludeDBs_compiler1) > $(HOTSPOTBUILDSPACE)\includeDB_compiler1
a61af66fc99e Initial load
duke
parents:
diff changeset
156 @cat $(IncludeDBs_compiler2) > $(HOTSPOTBUILDSPACE)\includeDB_compiler2
a61af66fc99e Initial load
duke
parents:
diff changeset
157 @cat $(IncludeDBs_tiered) > $(HOTSPOTBUILDSPACE)\includeDB_tiered
a61af66fc99e Initial load
duke
parents:
diff changeset
158 @echo java.cpp jni.h > includeDB
a61af66fc99e Initial load
duke
parents:
diff changeset
159 @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps diffs WinGammaPlatform$(VcVersion) \
a61af66fc99e Initial load
duke
parents:
diff changeset
160 $(Platform) includeDB.current $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions)
a61af66fc99e Initial load
duke
parents:
diff changeset
161 @rm -f includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
162 @cp includeDB includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
163
a61af66fc99e Initial load
duke
parents:
diff changeset
164 lists: $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class FORCE
a61af66fc99e Initial load
duke
parents:
diff changeset
165 @if exist incls rmdir /s /q incls
a61af66fc99e Initial load
duke
parents:
diff changeset
166 @rm -f includeDB
a61af66fc99e Initial load
duke
parents:
diff changeset
167 @cat $(IncludeDBs) > includeDB
a61af66fc99e Initial load
duke
parents:
diff changeset
168 @mkdir incls
a61af66fc99e Initial load
duke
parents:
diff changeset
169 @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps WinGammaPlatform$(VcVersion) \
a61af66fc99e Initial load
duke
parents:
diff changeset
170 $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions)
a61af66fc99e Initial load
duke
parents:
diff changeset
171 @rm -f includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
172 @cp includeDB includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
173
a61af66fc99e Initial load
duke
parents:
diff changeset
174 clean:
a61af66fc99e Initial load
duke
parents:
diff changeset
175 @rm -rf incls $(HOTSPOTBUILDSPACE)/classes
a61af66fc99e Initial load
duke
parents:
diff changeset
176 @rm -f includeDB includeDB.current $(ProjectFile) Dependencies
a61af66fc99e Initial load
duke
parents:
diff changeset
177
a61af66fc99e Initial load
duke
parents:
diff changeset
178 $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class: $(MakeDepsSources)
a61af66fc99e Initial load
duke
parents:
diff changeset
179 @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
a61af66fc99e Initial load
duke
parents:
diff changeset
180 @mkdir $(HOTSPOTBUILDSPACE)\classes
a61af66fc99e Initial load
duke
parents:
diff changeset
181 @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\MakeDeps -g -d $(HOTSPOTBUILDSPACE)/classes $(MakeDepsSources)
a61af66fc99e Initial load
duke
parents:
diff changeset
182
a61af66fc99e Initial load
duke
parents:
diff changeset
183 FORCE: