make/solaris/makefiles/top.make

Print this page




  95 
  96 # Wierd argument adjustment for "gnumake -j..."
  97 adjust-mflags   = $(GENERATED)/adjust-mflags
  98 MFLAGS-adjusted = -r `$(adjust-mflags) "$(MFLAGS)" "$(HOTSPOT_BUILD_JOBS)"`
  99 
 100 
 101 # default target: make makeDeps, update lists, make vm
 102 # done in stages to force sequential order with parallel make
 103 #
 104 
 105 default: vm_build_preliminaries the_vm
 106         @echo All done.
 107 
 108 # This is an explicit dependency for the sake of parallel makes.
 109 vm_build_preliminaries:  checks $(Incremental_Lists) $(AD_Files_If_Required) jvmti_stuff sa_stuff
 110         @# We need a null action here, so implicit rules don't get consulted.
 111 
 112 # make makeDeps: (and zap the cached db files to force a nonincremental run)
 113 
 114 $(GENERATED)/$(MakeDepsClass): $(MakeDepsSources)
 115         @$(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -g -d $(GENERATED) $(MakeDepsSources)
 116         @echo Removing $(Incremental_Lists) to force regeneration.
 117         @rm -f $(Incremental_Lists)
 118         @$(CDG) echo >$(Cached_plat)
 119 
 120 # make incremental_lists, if cached files out of date, run makeDeps
 121 
 122 $(Incremental_Lists):  $(Include_DBs) $(Plat_File) $(GENERATED)/$(MakeDepsClass)
 123         $(CDG)  cat $(Include_DBs) > includeDB
 124         $(CDG) if [ ! -r incls ] ; then \
 125         mkdir incls ; \
 126         fi
 127         $(CDG)  $(MakeDeps) diffs UnixPlatform $(Cached_plat) $(Cached_db) $(Plat_File) includeDB $(MakeDepsOptions)
 128         $(CDG)  cp includeDB    $(Cached_db)
 129         $(CDG)  cp $(Plat_File) $(Cached_plat)
 130 
 131 # symbolic target for command lines
 132 lists: $(Incremental_Lists)
 133         @: lists are now up to date
 134 
 135 # make AD files as necessary




  95 
  96 # Wierd argument adjustment for "gnumake -j..."
  97 adjust-mflags   = $(GENERATED)/adjust-mflags
  98 MFLAGS-adjusted = -r `$(adjust-mflags) "$(MFLAGS)" "$(HOTSPOT_BUILD_JOBS)"`
  99 
 100 
 101 # default target: make makeDeps, update lists, make vm
 102 # done in stages to force sequential order with parallel make
 103 #
 104 
 105 default: vm_build_preliminaries the_vm
 106         @echo All done.
 107 
 108 # This is an explicit dependency for the sake of parallel makes.
 109 vm_build_preliminaries:  checks $(Incremental_Lists) $(AD_Files_If_Required) jvmti_stuff sa_stuff
 110         @# We need a null action here, so implicit rules don't get consulted.
 111 
 112 # make makeDeps: (and zap the cached db files to force a nonincremental run)
 113 
 114 $(GENERATED)/$(MakeDepsClass): $(MakeDepsSources)
 115         @$(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -g -source 6 -target 6 -d $(GENERATED) $(MakeDepsSources)
 116         @echo Removing $(Incremental_Lists) to force regeneration.
 117         @rm -f $(Incremental_Lists)
 118         @$(CDG) echo >$(Cached_plat)
 119 
 120 # make incremental_lists, if cached files out of date, run makeDeps
 121 
 122 $(Incremental_Lists):  $(Include_DBs) $(Plat_File) $(GENERATED)/$(MakeDepsClass)
 123         $(CDG)  cat $(Include_DBs) > includeDB
 124         $(CDG) if [ ! -r incls ] ; then \
 125         mkdir incls ; \
 126         fi
 127         $(CDG)  $(MakeDeps) diffs UnixPlatform $(Cached_plat) $(Cached_db) $(Plat_File) includeDB $(MakeDepsOptions)
 128         $(CDG)  cp includeDB    $(Cached_db)
 129         $(CDG)  cp $(Plat_File) $(Cached_plat)
 130 
 131 # symbolic target for command lines
 132 lists: $(Incremental_Lists)
 133         @: lists are now up to date
 134 
 135 # make AD files as necessary