make/solaris/makefiles/top.make

Print this page
rev 5733 : 8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by:

@@ -71,11 +71,11 @@
 
 default: vm_build_preliminaries the_vm
         @echo All done.
 
 # This is an explicit dependency for the sake of parallel makes.
-vm_build_preliminaries:  checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff trace_stuff sa_stuff
+vm_build_preliminaries:  checks $(Cached_plat) $(AD_Files_If_Required) jvmti_stuff trace_stuff sa_stuff dtrace_stuff
         @# We need a null action here, so implicit rules don't get consulted.
 
 $(Cached_plat): $(Plat_File)
         $(CDG) cp $(Plat_File) $(Cached_plat)
 

@@ -93,10 +93,13 @@
 
 # generate SA jar files and native header
 sa_stuff:
         @$(MAKE) -f sa.make $(MFLAGS-adjusted)
 
+dtrace_stuff: $(Cached_plat) $(adjust-mflags)
+        @$(MAKE) -f dtrace.make dtrace_gen_headers $(MFLAGS-adjusted) GENERATED=$(GENERATED)
+
 # and the VM: must use other makefile with dependencies included
 
 # We have to go to great lengths to get control over the -jN argument
 # to the recursive invocation of vm.make.  The problem is that gnumake
 # resets -jN to -j1 for recursive runs.  (How helpful.)