hotspot/make/solaris/Makefile
changeset 17006 b9bfa72b7dda
parent 16381 806d87cb0cc7
child 26565 32d2efad175d
equal deleted inserted replaced
17004:4d2371d76a19 17006:b9bfa72b7dda
   118 #
   118 #
   119 #       Target          Tree Type       Build Dir
   119 #       Target          Tree Type       Build Dir
   120 #
   120 #
   121 #       debug           compiler2       <os>_<arch>_compiler2/debug
   121 #       debug           compiler2       <os>_<arch>_compiler2/debug
   122 #       fastdebug       compiler2       <os>_<arch>_compiler2/fastdebug
   122 #       fastdebug       compiler2       <os>_<arch>_compiler2/fastdebug
   123 #       jvmg            compiler2       <os>_<arch>_compiler2/jvmg
       
   124 #       optimized       compiler2       <os>_<arch>_compiler2/optimized
   123 #       optimized       compiler2       <os>_<arch>_compiler2/optimized
   125 #       profiled        compiler2       <os>_<arch>_compiler2/profiled
       
   126 #       product         compiler2       <os>_<arch>_compiler2/product
   124 #       product         compiler2       <os>_<arch>_compiler2/product
   127 #
   125 #
   128 #       debug1          compiler1       <os>_<arch>_compiler1/debug
   126 #       debug1          compiler1       <os>_<arch>_compiler1/debug
   129 #       fastdebug1      compiler1       <os>_<arch>_compiler1/fastdebug
   127 #       fastdebug1      compiler1       <os>_<arch>_compiler1/fastdebug
   130 #       jvmg1           compiler1       <os>_<arch>_compiler1/jvmg
       
   131 #       optimized1      compiler1       <os>_<arch>_compiler1/optimized
   128 #       optimized1      compiler1       <os>_<arch>_compiler1/optimized
   132 #       profiled1       compiler1       <os>_<arch>_compiler1/profiled
       
   133 #       product1        compiler1       <os>_<arch>_compiler1/product
   129 #       product1        compiler1       <os>_<arch>_compiler1/product
   134 #
   130 #
   135 #       debugcore       core            <os>_<arch>_core/debug
   131 #       debugcore       core            <os>_<arch>_core/debug
   136 #       fastdebugcore   core            <os>_<arch>_core/fastdebug
   132 #       fastdebugcore   core            <os>_<arch>_core/fastdebug
   137 #       jvmgcore        core            <os>_<arch>_core/jvmg
       
   138 #       optimizedcore   core            <os>_<arch>_core/optimized
   133 #       optimizedcore   core            <os>_<arch>_core/optimized
   139 #       profiledcore    core            <os>_<arch>_core/profiled
       
   140 #       productcore     core            <os>_<arch>_core/product
   134 #       productcore     core            <os>_<arch>_core/product
   141 #
   135 #
   142 # What you get with each target:
   136 # What you get with each target:
   143 #
   137 #
   144 # debug*     - "thin" libjvm - debug info linked into the gamma launcher
   138 # debug*     - debug compile with asserts enabled
   145 # fastdebug* - optimized compile, but with asserts enabled
   139 # fastdebug* - optimized compile, but with asserts enabled
   146 # jvmg*      - "fat" libjvm - debug info linked into libjvm.so
       
   147 # optimized* - optimized compile, no asserts
   140 # optimized* - optimized compile, no asserts
   148 # profiled*  - gprof
       
   149 # product*   - the shippable thing:  optimized compile, no asserts, -DPRODUCT
   141 # product*   - the shippable thing:  optimized compile, no asserts, -DPRODUCT
   150 
   142 
   151 # This target list needs to be coordinated with the usage message
   143 # This target list needs to be coordinated with the usage message
   152 # in the build.sh script:
   144 # in the build.sh script:
   153 TARGETS           = debug jvmg fastdebug optimized profiled product
   145 TARGETS           = debug fastdebug optimized product
   154 
   146 
   155 SUBDIR_DOCS       = $(OSNAME)_$(BUILDARCH)_docs
   147 SUBDIR_DOCS       = $(OSNAME)_$(BUILDARCH)_docs
   156 SUBDIRS_C1        = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
   148 SUBDIRS_C1        = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
   157 SUBDIRS_C2        = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
   149 SUBDIRS_C2        = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
   158 SUBDIRS_TIERED    = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
   150 SUBDIRS_TIERED    = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
   265 docs: checks
   257 docs: checks
   266 	$(QUIETLY) mkdir -p $(SUBDIR_DOCS)
   258 	$(QUIETLY) mkdir -p $(SUBDIR_DOCS)
   267 	$(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs
   259 	$(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs
   268 
   260 
   269 # Synonyms for win32-like targets.
   261 # Synonyms for win32-like targets.
   270 compiler2:  jvmg product
   262 compiler2:  debug product
   271 
   263 
   272 compiler1:  jvmg1 product1
   264 compiler1:  debug1 product1
   273 
   265 
   274 core: jvmgcore productcore
   266 core: debugcore productcore
       
   267 
       
   268 warn_jvmg_deprecated:
       
   269 	echo "Warning: The jvmg target has been replaced with debug"
       
   270 	echo "Warning: Please update your usage"
       
   271 
       
   272 jvmg: warn_jvmg_deprecated debug
       
   273 
       
   274 jvmg1: warn_jvmg_deprecated debug1
       
   275 
       
   276 jvmgcore: warn_jvmg_deprecated debugcore
   275 
   277 
   276 clean_docs:
   278 clean_docs:
   277 	rm -rf $(SUBDIR_DOCS)
   279 	rm -rf $(SUBDIR_DOCS)
   278 
   280 
   279 clean_compiler1 clean_compiler2 clean_core:
   281 clean_compiler1 clean_compiler2 clean_core: