jdk/make/common/shared/Defs.gmk
changeset 12047 320a714614e9
parent 10048 2968c7bcabc1
child 13829 9da0d8f01a5a
equal deleted inserted replaced
12046:378aa3362868 12047:320a714614e9
   175   else \
   175   else \
   176     echo same; \
   176     echo same; \
   177   fi)
   177   fi)
   178 endef
   178 endef
   179 
   179 
       
   180 # Expand SRCDIR_LIST, which is used to automatically include various
       
   181 # platform and shared sources/headers.  This is mainly useful for the
       
   182 # Mac OS X build, which pulls its platform sources from the solaris and/or
       
   183 # macosx trees, depending on the component.
       
   184 ifeq ($(PLATFORM), macosx)
       
   185   define JavaSrcDirList
       
   186   $(JAVA_SRCDIR_LIST:%=$1$(JDK_TOPDIR)/%/$2)
       
   187   endef
       
   188   define NativeSrcDirList
       
   189   $(NATIVE_SRCDIR_LIST:%=$1$(JDK_TOPDIR)/%/$2)
       
   190   endef
       
   191 endif
       
   192 
   180 # Make sure certain variables are non-empty at this point
   193 # Make sure certain variables are non-empty at this point
   181 _check_values:=\
   194 _check_values:=\
   182 $(call CheckValue,ARCH,),\
   195 $(call CheckValue,ARCH,),\
   183 $(call CheckValue,ARCH_DATA_MODEL,),\
   196 $(call CheckValue,ARCH_DATA_MODEL,),\
   184 $(call CheckValue,ARCH_VM_SUBDIR,),\
   197 $(call CheckValue,ARCH_VM_SUBDIR,),\