< prev index next >

jdk/make/CompileJavaClasses.gmk

Print this page


   1 #
   2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  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


 254 # These files do not appear in the build result of the old build. This
 255 # is because they are generated sources, but the AUTO_JAVA_FILES won't
 256 # pick them up since they aren't generated when the source dirs are
 257 # searched and they aren't referenced by any other classes so they won't
 258 # be picked up by implicit compilation. On a rebuild, they are picked up
 259 # and compiled. Exclude them here to produce the same rt.jar as the old
 260 # build does when building just once.
 261 EXFILES += javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
 262     javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
 263     javax/swing/plaf/nimbus/ScrollBarPainter.java \
 264     javax/swing/plaf/nimbus/SliderPainter.java \
 265     javax/swing/plaf/nimbus/SpinnerPainter.java \
 266     javax/swing/plaf/nimbus/SplitPanePainter.java \
 267     javax/swing/plaf/nimbus/TabbedPanePainter.java
 268 
 269 # Acquire a list of files that should be copied straight over to the classes.
 270 include CopyIntoClasses.gmk
 271 # Now we have COPY_PATTERNS, COPY_FILES and COPY_EXTRA
 272 
 273 ifndef OPENJDK



 274   CLOSED_SRC_DIRS := $(JDK_TOPDIR)/src/closed/share/classes \
 275       $(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes

 276 endif
 277 
 278 MACOSX_SRC_DIRS :=
 279 ifeq ($(OPENJDK_TARGET_OS), macosx)
 280   MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/classes
 281 
 282   # this files are duplicated in MACOSX_SRC_DIRS
 283   EXFILES += $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java \
 284       $(JDK_TOPDIR)/src/solaris/classes/sun/java2d/BackBufferCapsProvider.java \
 285       $(JDK_TOPDIR)/src/solaris/classes/java/net/DefaultInterface.java \
 286       $(JDK_TOPDIR)/src/solaris/classes/java/lang/ClassLoaderHelper.java \
 287       $(JDK_TOPDIR)/src/solaris/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java \
 288       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java \
 289       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java \
 290       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java \
 291       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java
 292 
 293 endif
 294 
 295 # The security classes should not end up in the classes directory as that will prevent them


   1 #
   2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  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


 254 # These files do not appear in the build result of the old build. This
 255 # is because they are generated sources, but the AUTO_JAVA_FILES won't
 256 # pick them up since they aren't generated when the source dirs are
 257 # searched and they aren't referenced by any other classes so they won't
 258 # be picked up by implicit compilation. On a rebuild, they are picked up
 259 # and compiled. Exclude them here to produce the same rt.jar as the old
 260 # build does when building just once.
 261 EXFILES += javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
 262     javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
 263     javax/swing/plaf/nimbus/ScrollBarPainter.java \
 264     javax/swing/plaf/nimbus/SliderPainter.java \
 265     javax/swing/plaf/nimbus/SpinnerPainter.java \
 266     javax/swing/plaf/nimbus/SplitPanePainter.java \
 267     javax/swing/plaf/nimbus/TabbedPanePainter.java
 268 
 269 # Acquire a list of files that should be copied straight over to the classes.
 270 include CopyIntoClasses.gmk
 271 # Now we have COPY_PATTERNS, COPY_FILES and COPY_EXTRA
 272 
 273 ifndef OPENJDK
 274   ifeq ($(OPENJDK_TARGET_OS), windows) 
 275     CLOSED_SRC_DIRS := $(JDK_TOPDIR)/src/closed/share/classes
 276   else
 277     CLOSED_SRC_DIRS := $(JDK_TOPDIR)/src/closed/share/classes \
 278       $(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes
 279   endif
 280 endif
 281 
 282 MACOSX_SRC_DIRS :=
 283 ifeq ($(OPENJDK_TARGET_OS), macosx)
 284   MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/classes
 285 
 286   # this files are duplicated in MACOSX_SRC_DIRS
 287   EXFILES += $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java \
 288       $(JDK_TOPDIR)/src/solaris/classes/sun/java2d/BackBufferCapsProvider.java \
 289       $(JDK_TOPDIR)/src/solaris/classes/java/net/DefaultInterface.java \
 290       $(JDK_TOPDIR)/src/solaris/classes/java/lang/ClassLoaderHelper.java \
 291       $(JDK_TOPDIR)/src/solaris/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java \
 292       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java \
 293       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java \
 294       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java \
 295       $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java
 296 
 297 endif
 298 
 299 # The security classes should not end up in the classes directory as that will prevent them


< prev index next >