Mercurial > hg > truffle
annotate make/windows/makefiles/adlc.make @ 608:0386097d43d8
6700114: 3/4 Assertion (_thread->get_interp_only_mode() == 1,"leaving interp only when mode not one")
Summary: Don't create JvmtiThreadState for an exiting JavaThread.
Reviewed-by: coleenp, swamyv
author | dcubed |
---|---|
date | Mon, 02 Mar 2009 13:57:17 -0700 |
parents | 3c07cda72b7d |
children | 520d43965b1f |
rev | line source |
---|---|
0 | 1 # |
196 | 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. |
0 | 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. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 # CA 95054 USA or visit www.sun.com if you need additional information or | |
21 # have any questions. | |
22 # | |
23 # | |
24 | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
25 !include $(WorkSpace)/make/windows/makefiles/compile.make |
0 | 26 |
27 # Rules for building adlc.exe | |
28 | |
29 # Need exception handling support here | |
30 # $(MS_RUNTIME_OPTION) ( with /D_STATIC_CPPLIB) | |
31 # causes adlc.exe to link with the static | |
32 # multithread Standard C++ library (libcpmt.lib) instead of | |
33 # the dynamic version (msvcprt.lib), which is not included | |
34 # in any of the free tools. | |
35 EXH_FLAGS=$(GX_OPTION) $(MS_RUNTIME_OPTION) | |
36 | |
37 !ifdef ALT_ADLC_PATH | |
38 ADLC=$(ALT_ADLC_PATH)\adlc.exe | |
39 !else | |
40 ADLC=adlc | |
41 !endif | |
42 | |
43 !ifdef LP64 | |
44 ADLCFLAGS=-q -T -D_LP64 | |
45 !else | |
46 ADLCFLAGS=-q -T -U_LP64 | |
47 !endif | |
48 | |
49 | |
50 CPP_INCLUDE_DIRS=\ | |
51 /I "..\generated" \ | |
52 /I "$(WorkSpace)\src\share\vm\compiler" \ | |
53 /I "$(WorkSpace)\src\share\vm\code" \ | |
54 /I "$(WorkSpace)\src\share\vm\interpreter" \ | |
55 /I "$(WorkSpace)\src\share\vm\classfile" \ | |
56 /I "$(WorkSpace)\src\share\vm\asm" \ | |
57 /I "$(WorkSpace)\src\share\vm\memory" \ | |
58 /I "$(WorkSpace)\src\share\vm\oops" \ | |
59 /I "$(WorkSpace)\src\share\vm\prims" \ | |
60 /I "$(WorkSpace)\src\share\vm\runtime" \ | |
61 /I "$(WorkSpace)\src\share\vm\utilities" \ | |
62 /I "$(WorkSpace)\src\share\vm\libadt" \ | |
63 /I "$(WorkSpace)\src\share\vm\opto" \ | |
64 /I "$(WorkSpace)\src\os\windows\vm" \ | |
65 /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm" | |
66 | |
67 # NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_INCL | |
68 # and MakeDepsIDEOptions in makedeps.make. | |
69 GENERATED_NAMES=\ | |
70 ad_$(Platform_arch_model).cpp \ | |
71 ad_$(Platform_arch_model).hpp \ | |
72 ad_$(Platform_arch_model)_clone.cpp \ | |
73 ad_$(Platform_arch_model)_expand.cpp \ | |
74 ad_$(Platform_arch_model)_format.cpp \ | |
75 ad_$(Platform_arch_model)_gen.cpp \ | |
76 ad_$(Platform_arch_model)_misc.cpp \ | |
77 ad_$(Platform_arch_model)_peephole.cpp \ | |
78 ad_$(Platform_arch_model)_pipeline.cpp \ | |
79 adGlobals_$(Platform_arch_model).hpp \ | |
80 dfa_$(Platform_arch_model).cpp | |
81 | |
82 # NOTE! This must be kept in sync with GENERATED_NAMES | |
83 GENERATED_NAMES_IN_INCL=\ | |
84 incls/ad_$(Platform_arch_model).cpp \ | |
85 incls/ad_$(Platform_arch_model).hpp \ | |
86 incls/ad_$(Platform_arch_model)_clone.cpp \ | |
87 incls/ad_$(Platform_arch_model)_expand.cpp \ | |
88 incls/ad_$(Platform_arch_model)_format.cpp \ | |
89 incls/ad_$(Platform_arch_model)_gen.cpp \ | |
90 incls/ad_$(Platform_arch_model)_misc.cpp \ | |
91 incls/ad_$(Platform_arch_model)_peephole.cpp \ | |
92 incls/ad_$(Platform_arch_model)_pipeline.cpp \ | |
93 incls/adGlobals_$(Platform_arch_model).hpp \ | |
94 incls/dfa_$(Platform_arch_model).cpp | |
95 | |
96 {$(WorkSpace)\src\share\vm\adlc}.cpp.obj:: | |
97 $(CPP) $(CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $< | |
98 | |
99 {$(WorkSpace)\src\share\vm\opto}.cpp.obj:: | |
100 $(CPP) $(CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $< | |
101 | |
102 adlc.exe: main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.obj \ | |
103 forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj | |
104 $(LINK) $(LINK_FLAGS) /subsystem:console /out:$@ $** | |
427
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
105 !if "$(MT)" != "" |
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
106 # The previous link command created a .manifest file that we want to |
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
107 # insert into the linked artifact so we do not need to track it |
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
108 # separately. Use ";#2" for .dll and ";#1" for .exe: |
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
109 $(MT) /manifest $@.manifest /outputresource:$@;#1 |
3c07cda72b7d
6764892: VS2008 changes required to compile hotspot sources
tbell
parents:
196
diff
changeset
|
110 !endif |
0 | 111 |
112 $(GENERATED_NAMES_IN_INCL): $(Platform_arch_model).ad adlc.exe includeDB.current | |
113 rm -f $(GENERATED_NAMES) | |
114 $(ADLC) $(ADLCFLAGS) $(Platform_arch_model).ad | |
115 mv $(GENERATED_NAMES) incls/ | |
116 | |
117 $(Platform_arch_model).ad: $(WorkSpace)/src/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad $(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm/windows_$(Platform_arch_model).ad | |
118 rm -f $(Platform_arch_model).ad | |
119 cat $(WorkSpace)/src/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad \ | |
120 $(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm/windows_$(Platform_arch_model).ad >$(Platform_arch_model).ad |