< prev index next >

jdk/make/CreateJars.gmk

Print this page


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


 633 $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/share/bin/%
 634         $(install-file)
 635 
 636 $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%
 637         $(install-file)
 638 
 639 $(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC)
 640 
 641 # This dir needs to exist before macro is evaluated to avoid warning from find.
 642 $(eval $(call MakeDir, $(IMAGES_OUTPUTDIR)/src))
 643 $(eval $(call SetupZipArchive,BUILD_SRC_ZIP, \
 644     SRC := $(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src, \
 645     INCLUDES := $(SRC_ZIP_INCLUDES) launcher, \
 646     EXCLUDES := javax/swing/beaninfo, \
 647     SUFFIXES := .java .c .h, \
 648     ZIP := $(IMAGES_OUTPUTDIR)/src.zip, \
 649     EXTRA_DEPS := $(LAUNCHER_ZIP_SRC)))
 650 
 651 ##########################################################################################
 652 
 653 ifndef OPENJDK
 654   ifeq ($(OPENJDK_TARGET_OS), windows)
 655 
 656     $(eval $(call SetupArchive,BUILD_JACCESS_JAR, , \
 657         SRCS := $(JDK_OUTPUTDIR)/classes, \
 658         INCLUDES := com/sun/java/accessibility/util, \
 659         JAR := $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar, \
 660         SKIP_METAINF := true))
 661 
 662     JARS += $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar
 663 
 664     ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
 665       $(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_32_JAR, , \
 666           SRCS := $(JDK_OUTPUTDIR)/classes_ab/32bit, \
 667           INCLUDES := com/sun/java/accessibility, \
 668           JAR := $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar, \
 669           SKIP_METAINF := true))
 670 
 671       $(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_LEGACY_JAR, , \
 672           SRCS := $(JDK_OUTPUTDIR)/classes_ab/legacy, \
 673           INCLUDES := com/sun/java/accessibility, \


   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


 633 $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/share/bin/%
 634         $(install-file)
 635 
 636 $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%
 637         $(install-file)
 638 
 639 $(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC)
 640 
 641 # This dir needs to exist before macro is evaluated to avoid warning from find.
 642 $(eval $(call MakeDir, $(IMAGES_OUTPUTDIR)/src))
 643 $(eval $(call SetupZipArchive,BUILD_SRC_ZIP, \
 644     SRC := $(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src, \
 645     INCLUDES := $(SRC_ZIP_INCLUDES) launcher, \
 646     EXCLUDES := javax/swing/beaninfo, \
 647     SUFFIXES := .java .c .h, \
 648     ZIP := $(IMAGES_OUTPUTDIR)/src.zip, \
 649     EXTRA_DEPS := $(LAUNCHER_ZIP_SRC)))
 650 
 651 ##########################################################################################
 652 
 653 ifdef OPENJDK
 654   ifeq ($(OPENJDK_TARGET_OS), windows)
 655 
 656     $(eval $(call SetupArchive,BUILD_JACCESS_JAR, , \
 657         SRCS := $(JDK_OUTPUTDIR)/classes, \
 658         INCLUDES := com/sun/java/accessibility/util, \
 659         JAR := $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar, \
 660         SKIP_METAINF := true))
 661 
 662     JARS += $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar
 663 
 664     ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
 665       $(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_32_JAR, , \
 666           SRCS := $(JDK_OUTPUTDIR)/classes_ab/32bit, \
 667           INCLUDES := com/sun/java/accessibility, \
 668           JAR := $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar, \
 669           SKIP_METAINF := true))
 670 
 671       $(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_LEGACY_JAR, , \
 672           SRCS := $(JDK_OUTPUTDIR)/classes_ab/legacy, \
 673           INCLUDES := com/sun/java/accessibility, \


< prev index next >