make/java/java/Makefile

Print this page
rev 5380 : 7126277: Alternative hashing implementation


  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #
  27 # Makefile for core Java libraries
  28 # (java.lang, java.lang.ref, java.lang.reflect, java.io, java.util)
  29 #
  30 
  31 BUILDDIR = ../..
  32 PACKAGE = java.lang
  33 LIBRARY = java
  34 PRODUCT = java
  35 SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true
  36 SUBDIRS_MAKEFLAGS += JAVAC_WARNINGS_FATAL=true
  37 JAVAC_MAX_WARNINGS=true
  38 include $(BUILDDIR)/common/Defs.gmk
  39 
  40 # windows compiler flags
  41 ifeq ($(PLATFORM),windows)
  42   OTHER_CFLAGS =
  43   # build directly into BINDIR...
  44   LIB_LOCATION = $(BINDIR)
  45   # Exported functions
  46   OTHER_LCF = -export:winFileHandleOpen -export:handleLseek
  47 endif
  48 
  49 OTHER_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
  50                 -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
  51                 -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
  52                 -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"' 
  53 
  54 ifdef JDK_UPDATE_VERSION
  55 OTHER_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
  56 endif
  57 


 436 
 437 clean:: 
 438         $(RM) $(UNINAME)
 439 
 440 #
 441 # End of rules to create $(GENSRCDIR)/java/lang/CharacterDataXX.java
 442 #
 443 
 444 #
 445 # Rule to precompile CoreResourceBundleControl.java 
 446 #
 447 LOCALES_GEN_SH = localelist.sh
 448 
 449 $(GENSRCDIR)/sun/util/CoreResourceBundleControl.java: \
 450         $(SHARE_SRC)/classes/sun/util/CoreResourceBundleControl-XLocales.java.template $(LOCALES_GEN_SH)
 451         @$(prep-target) 
 452         NAWK="$(NAWK)" SED="$(SED)" $(SH) $(LOCALES_GEN_SH) "$(JRE_NONEXIST_LOCALES)" \
 453                 $< $@ 
 454 clean::
 455         $(RM) $(GENSRCDIR)/sun/util/CoreResourceBundleControl.java
 456 


  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #
  27 # Makefile for core Java libraries
  28 # (java.lang, java.lang.ref, java.lang.reflect, java.io, java.util)
  29 #
  30 
  31 BUILDDIR = ../..
  32 PACKAGE = java.lang
  33 LIBRARY = java
  34 PRODUCT = java
  35 SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=false
  36 SUBDIRS_MAKEFLAGS += JAVAC_WARNINGS_FATAL=false
  37 JAVAC_MAX_WARNINGS=false
  38 include $(BUILDDIR)/common/Defs.gmk
  39 
  40 # windows compiler flags
  41 ifeq ($(PLATFORM),windows)
  42   OTHER_CFLAGS =
  43   # build directly into BINDIR...
  44   LIB_LOCATION = $(BINDIR)
  45   # Exported functions
  46   OTHER_LCF = -export:winFileHandleOpen -export:handleLseek
  47 endif
  48 
  49 OTHER_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
  50                 -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
  51                 -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
  52                 -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"'
  53 
  54 ifdef JDK_UPDATE_VERSION
  55 OTHER_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
  56 endif
  57 


 436 
 437 clean::
 438         $(RM) $(UNINAME)
 439 
 440 #
 441 # End of rules to create $(GENSRCDIR)/java/lang/CharacterDataXX.java
 442 #
 443 
 444 #
 445 # Rule to precompile CoreResourceBundleControl.java
 446 #
 447 LOCALES_GEN_SH = localelist.sh
 448 
 449 $(GENSRCDIR)/sun/util/CoreResourceBundleControl.java: \
 450         $(SHARE_SRC)/classes/sun/util/CoreResourceBundleControl-XLocales.java.template $(LOCALES_GEN_SH)
 451         @$(prep-target)
 452         NAWK="$(NAWK)" SED="$(SED)" $(SH) $(LOCALES_GEN_SH) "$(JRE_NONEXIST_LOCALES)" \
 453                 $< $@
 454 clean::
 455         $(RM) $(GENSRCDIR)/sun/util/CoreResourceBundleControl.java