97
98 dtrace_stuff: $(Cached_plat) $(adjust-mflags)
99 @$(MAKE) -f dtrace.make dtrace_gen_headers $(MFLAGS-adjusted) GENERATED=$(GENERATED)
100
101 # and the VM: must use other makefile with dependencies included
102
103 # We have to go to great lengths to get control over the -jN argument
104 # to the recursive invocation of vm.make. The problem is that gnumake
105 # resets -jN to -j1 for recursive runs. (How helpful.)
106 # Note that the user must specify the desired parallelism level via a
107 # command-line or environment variable name HOTSPOT_BUILD_JOBS.
108 $(adjust-mflags): $(GAMMADIR)/make/$(Platform_os_family)/makefiles/adjust-mflags.sh
109 @+rm -f $@ $@+
110 @+cat $< > $@+
111 @+chmod +x $@+
112 @+mv $@+ $@
113
114 the_vm: vm_build_preliminaries $(adjust-mflags)
115 @$(MAKE) -f vm.make $(MFLAGS-adjusted)
116
117 install gamma: the_vm
118 @$(MAKE) -f vm.make $@
119
120 # next rules support "make foo.[oi]"
121
122 %.o %.i %.s:
123 $(MAKE) -f vm.make $(MFLAGS) $@
124 #$(MAKE) -f vm.make $@
125
126 # this should force everything to be rebuilt
127 clean:
128 rm -f $(GENERATED)/*.class
129 $(MAKE) -f vm.make $(MFLAGS) clean
130
131 # just in case it doesn't, this should do it
132 realclean:
133 $(MAKE) -f vm.make $(MFLAGS) clean
134 rm -fr $(GENERATED)
135
136 .PHONY: default vm_build_preliminaries
137 .PHONY: lists ad_stuff jvmti_stuff trace_stuff sa_stuff the_vm clean realclean
|
97
98 dtrace_stuff: $(Cached_plat) $(adjust-mflags)
99 @$(MAKE) -f dtrace.make dtrace_gen_headers $(MFLAGS-adjusted) GENERATED=$(GENERATED)
100
101 # and the VM: must use other makefile with dependencies included
102
103 # We have to go to great lengths to get control over the -jN argument
104 # to the recursive invocation of vm.make. The problem is that gnumake
105 # resets -jN to -j1 for recursive runs. (How helpful.)
106 # Note that the user must specify the desired parallelism level via a
107 # command-line or environment variable name HOTSPOT_BUILD_JOBS.
108 $(adjust-mflags): $(GAMMADIR)/make/$(Platform_os_family)/makefiles/adjust-mflags.sh
109 @+rm -f $@ $@+
110 @+cat $< > $@+
111 @+chmod +x $@+
112 @+mv $@+ $@
113
114 the_vm: vm_build_preliminaries $(adjust-mflags)
115 @$(MAKE) -f vm.make $(MFLAGS-adjusted)
116
117 install: the_vm
118 @$(MAKE) -f vm.make $@
119
120 # next rules support "make foo.[oi]"
121
122 %.o %.i %.s:
123 $(MAKE) -f vm.make $(MFLAGS) $@
124 #$(MAKE) -f vm.make $@
125
126 # this should force everything to be rebuilt
127 clean:
128 rm -f $(GENERATED)/*.class
129 $(MAKE) -f vm.make $(MFLAGS) clean
130
131 # just in case it doesn't, this should do it
132 realclean:
133 $(MAKE) -f vm.make $(MFLAGS) clean
134 rm -fr $(GENERATED)
135
136 .PHONY: default vm_build_preliminaries
137 .PHONY: lists ad_stuff jvmti_stuff trace_stuff sa_stuff the_vm clean realclean
|