make/bsd/makefiles/top.make

Print this page




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


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