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