< prev index next >

jdk/make/gensrc/GensrcMisc.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


 161       OBJECT_DIR := $(GENSRC_SOL_BIN), \
 162       OUTPUT_DIR := $(GENSRC_SOL_BIN), \
 163       PROGRAM := genSolarisConstants))
 164 
 165   $(JDK_OUTPUTDIR)/gensrc/sun/nio/fs/SolarisConstants.java: $(BUILD_GENSRC_SOL_EXE)
 166         $(MKDIR) -p $(@D)
 167         $(RM) $@ $@.tmp
 168         NAWK="$(NAWK)" SH="$(SH)" $(SH) -e $(JDK_TOPDIR)/make/scripts/addNotices.sh "$(SOL_COPYRIGHT_YEARS)" > $@.tmp
 169         $(BUILD_GENSRC_SOL_EXE) >> $@.tmp
 170         $(MV) $@.tmp $@
 171 
 172 
 173 endif
 174 
 175 ##########################################################################################
 176 
 177 ifndef OPENJDK
 178   ifeq ($(OPENJDK_TARGET_OS), windows)
 179 
 180     AB_GENSRC_DIR := $(JDK_OUTPUTDIR)/gensrc_ab
 181     AB_SRC_DIR := $(JDK_TOPDIR)/src/closed/windows/classes/com/sun/java/accessibility
 182 
 183     ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
 184       $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridgeLoader.java: \
 185           $(AB_SRC_DIR)/32bit/AccessBridgeLoader.java
 186                 $(install-file)
 187 
 188       $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridge.java: \
 189           $(AB_SRC_DIR)/AccessBridge.java
 190                 $(install-file)
 191 
 192       $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridgeLoader.java: \
 193           $(AB_SRC_DIR)/legacy/AccessBridgeLoader.java
 194                 $(install-file)
 195 
 196       $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridge.java: \
 197           $(AB_SRC_DIR)/AccessBridge.java
 198                 $(install-file)
 199 
 200       GENSRC_MISC += $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridgeLoader.java \
 201           $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridgeLoader.java \
   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


 161       OBJECT_DIR := $(GENSRC_SOL_BIN), \
 162       OUTPUT_DIR := $(GENSRC_SOL_BIN), \
 163       PROGRAM := genSolarisConstants))
 164 
 165   $(JDK_OUTPUTDIR)/gensrc/sun/nio/fs/SolarisConstants.java: $(BUILD_GENSRC_SOL_EXE)
 166         $(MKDIR) -p $(@D)
 167         $(RM) $@ $@.tmp
 168         NAWK="$(NAWK)" SH="$(SH)" $(SH) -e $(JDK_TOPDIR)/make/scripts/addNotices.sh "$(SOL_COPYRIGHT_YEARS)" > $@.tmp
 169         $(BUILD_GENSRC_SOL_EXE) >> $@.tmp
 170         $(MV) $@.tmp $@
 171 
 172 
 173 endif
 174 
 175 ##########################################################################################
 176 
 177 ifndef OPENJDK
 178   ifeq ($(OPENJDK_TARGET_OS), windows)
 179 
 180     AB_GENSRC_DIR := $(JDK_OUTPUTDIR)/gensrc_ab
 181     AB_SRC_DIR := $(JDK_TOPDIR)/src/windows/classes/com/sun/java/accessibility
 182 
 183     ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
 184       $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridgeLoader.java: \
 185           $(AB_SRC_DIR)/32bit/AccessBridgeLoader.java
 186                 $(install-file)
 187 
 188       $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridge.java: \
 189           $(AB_SRC_DIR)/AccessBridge.java
 190                 $(install-file)
 191 
 192       $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridgeLoader.java: \
 193           $(AB_SRC_DIR)/legacy/AccessBridgeLoader.java
 194                 $(install-file)
 195 
 196       $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridge.java: \
 197           $(AB_SRC_DIR)/AccessBridge.java
 198                 $(install-file)
 199 
 200       GENSRC_MISC += $(AB_GENSRC_DIR)/32bit/com/sun/java/accessibility/AccessBridgeLoader.java \
 201           $(AB_GENSRC_DIR)/legacy/com/sun/java/accessibility/AccessBridgeLoader.java \
< prev index next >