equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1998, 2013, 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. |
71 |
71 |
72 default: vm_build_preliminaries the_vm |
72 default: vm_build_preliminaries the_vm |
73 @echo All done. |
73 @echo All done. |
74 |
74 |
75 # This is an explicit dependency for the sake of parallel makes. |
75 # This is an explicit dependency for the sake of parallel makes. |
76 vm_build_preliminaries: checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff sa_stuff |
76 vm_build_preliminaries: checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff trace_stuff sa_stuff |
77 @# We need a null action here, so implicit rules don't get consulted. |
77 @# We need a null action here, so implicit rules don't get consulted. |
78 |
78 |
79 $(Cached_plat): $(Plat_File) |
79 $(Cached_plat): $(Plat_File) |
80 $(CDG) cp $(Plat_File) $(Cached_plat) |
80 $(CDG) cp $(Plat_File) $(Cached_plat) |
81 |
81 |
84 @$(MAKE) -f adlc.make $(MFLAGS-adjusted) |
84 @$(MAKE) -f adlc.make $(MFLAGS-adjusted) |
85 |
85 |
86 # generate JVMTI files from the spec |
86 # generate JVMTI files from the spec |
87 jvmti_stuff: $(Cached_plat) $(adjust-mflags) |
87 jvmti_stuff: $(Cached_plat) $(adjust-mflags) |
88 @$(MAKE) -f jvmti.make $(MFLAGS-adjusted) |
88 @$(MAKE) -f jvmti.make $(MFLAGS-adjusted) |
|
89 |
|
90 # generate trace files |
|
91 trace_stuff: jvmti_stuff $(Cached_plat) $(adjust-mflags) |
|
92 @$(MAKE) -f trace.make $(MFLAGS-adjusted) |
89 |
93 |
90 # generate SA jar files and native header |
94 # generate SA jar files and native header |
91 sa_stuff: |
95 sa_stuff: |
92 @$(MAKE) -f sa.make $(MFLAGS-adjusted) |
96 @$(MAKE) -f sa.make $(MFLAGS-adjusted) |
93 |
97 |
125 realclean: |
129 realclean: |
126 $(MAKE) -f vm.make $(MFLAGS) clean |
130 $(MAKE) -f vm.make $(MFLAGS) clean |
127 rm -fr $(GENERATED) |
131 rm -fr $(GENERATED) |
128 |
132 |
129 .PHONY: default vm_build_preliminaries |
133 .PHONY: default vm_build_preliminaries |
130 .PHONY: lists ad_stuff jvmti_stuff sa_stuff the_vm clean realclean |
134 .PHONY: lists ad_stuff jvmti_stuff trace_stuff sa_stuff the_vm clean realclean |
131 .PHONY: checks check_os_version install |
135 .PHONY: checks check_os_version install |