< prev index next >

make/CompileJavaModules.gmk

Print this page


   1 #
   2 # Copyright (c) 2014, 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


  54 
  55 ifeq ($(OPENJDK_TARGET_OS), macosx)
  56   java.base_EXCLUDE_FILES += sun/nio/fs/GnomeFileTypeDetector.java
  57 endif
  58 
  59 ifneq ($(filter solaris macosx linux windows,$(OPENJDK_TARGET_OS)), )
  60   java.base_EXCLUDE_FILES += \
  61       sun/nio/ch/AbstractPollSelectorImpl.java \
  62       sun/nio/ch/PollSelectorImpl.java \
  63       sun/nio/ch/PollSelectorProvider.java \
  64       #
  65 endif
  66 
  67 ifneq ($(OPENJDK_TARGET_OS), solaris)
  68   java.base_EXCLUDE_FILES += \
  69       SolarisLoginModule.java \
  70       SolarisSystem.java \
  71       #
  72 endif
  73 
  74 ifeq ($(filter $(OPENJDK_TARGET_OS), solaris macosx aix), )
  75   #
  76   # only solaris, macosx and aix
  77   #
  78   java.base_EXCLUDE_FILES += sun/nio/fs/PollingWatchService.java
  79 endif
  80 
  81 ifeq ($(OPENJDK_TARGET_OS), windows)
  82   java.base_EXCLUDE_FILES += \
  83       sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
  84       #
  85 endif
  86 
  87 ################################################################################
  88 
  89 java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
  90 
  91 ################################################################################
  92 
  93 java.datatransfer_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
  94 java.datatransfer_COPY := flavormap.properties
  95 
  96 ################################################################################


   1 #
   2 # Copyright (c) 2014, 2016, 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


  54 
  55 ifeq ($(OPENJDK_TARGET_OS), macosx)
  56   java.base_EXCLUDE_FILES += sun/nio/fs/GnomeFileTypeDetector.java
  57 endif
  58 
  59 ifneq ($(filter solaris macosx linux windows,$(OPENJDK_TARGET_OS)), )
  60   java.base_EXCLUDE_FILES += \
  61       sun/nio/ch/AbstractPollSelectorImpl.java \
  62       sun/nio/ch/PollSelectorImpl.java \
  63       sun/nio/ch/PollSelectorProvider.java \
  64       #
  65 endif
  66 
  67 ifneq ($(OPENJDK_TARGET_OS), solaris)
  68   java.base_EXCLUDE_FILES += \
  69       SolarisLoginModule.java \
  70       SolarisSystem.java \
  71       #
  72 endif
  73 
  74 ifeq ($(filter $(OPENJDK_TARGET_OS), solaris macosx bsd aix), )
  75   #
  76   # only solaris, macosx, bsd and aix
  77   #
  78   java.base_EXCLUDE_FILES += sun/nio/fs/PollingWatchService.java
  79 endif
  80 
  81 ifeq ($(OPENJDK_TARGET_OS), windows)
  82   java.base_EXCLUDE_FILES += \
  83       sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
  84       #
  85 endif
  86 
  87 ################################################################################
  88 
  89 java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
  90 
  91 ################################################################################
  92 
  93 java.datatransfer_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
  94 java.datatransfer_COPY := flavormap.properties
  95 
  96 ################################################################################


< prev index next >