comparison make/bsd/makefiles/top.make @ 10405:f2110083203d

8005849: JEP 167: Event-Based JVM Tracing Reviewed-by: acorn, coleenp, sla Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
author sla
date Mon, 10 Jun 2013 11:30:51 +0200
parents b9a9ed0f8eeb
children 5eee9a9aeb7a
comparison
equal deleted inserted replaced
10404:d0add7016434 10405:f2110083203d
1 # 1 #
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1999, 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.
78 78
79 default: vm_build_preliminaries the_vm 79 default: vm_build_preliminaries the_vm
80 @echo All done. 80 @echo All done.
81 81
82 # This is an explicit dependency for the sake of parallel makes. 82 # This is an explicit dependency for the sake of parallel makes.
83 vm_build_preliminaries: checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff sa_stuff dtrace_stuff 83 vm_build_preliminaries: checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff trace_stuff sa_stuff dtrace_stuff
84 @# We need a null action here, so implicit rules don't get consulted. 84 @# We need a null action here, so implicit rules don't get consulted.
85 85
86 $(Cached_plat): $(Plat_File) 86 $(Cached_plat): $(Plat_File)
87 $(CDG) cp $(Plat_File) $(Cached_plat) 87 $(CDG) cp $(Plat_File) $(Cached_plat)
88 88
91 @$(MAKE) -f adlc.make $(MFLAGS-adjusted) 91 @$(MAKE) -f adlc.make $(MFLAGS-adjusted)
92 92
93 # generate JVMTI files from the spec 93 # generate JVMTI files from the spec
94 jvmti_stuff: $(Cached_plat) $(adjust-mflags) 94 jvmti_stuff: $(Cached_plat) $(adjust-mflags)
95 @$(MAKE) -f jvmti.make $(MFLAGS-adjusted) 95 @$(MAKE) -f jvmti.make $(MFLAGS-adjusted)
96
97 # generate trace files
98 trace_stuff: jvmti_stuff $(Cached_plat) $(adjust-mflags)
99 @$(MAKE) -f trace.make $(MFLAGS-adjusted)
96 100
97 ifeq ($(OS_VENDOR), Darwin) 101 ifeq ($(OS_VENDOR), Darwin)
98 # generate dtrace header files 102 # generate dtrace header files
99 dtrace_stuff: $(Cached_plat) $(adjust-mflags) 103 dtrace_stuff: $(Cached_plat) $(adjust-mflags)
100 @$(MAKE) -f dtrace.make dtrace_stuff $(MFLAGS-adjusted) GENERATED=$(GENERATED) 104 @$(MAKE) -f dtrace.make dtrace_stuff $(MFLAGS-adjusted) GENERATED=$(GENERATED)