make/Jprt.gmk
changeset 30094 bc3b5dbd8931
parent 29662 78c47f0002c3
child 34102 c0a98357f847
equal deleted inserted replaced
30093:c8c926543552 30094:bc3b5dbd8931
     1 #
     1 #
     2 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    89 	$(CP) $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip $@
    89 	$(CP) $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip $@
    90 
    90 
    91 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
    91 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
    92 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
    92 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
    93 SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
    93 SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
    94 SRC_JDK_BUNDLE_DIR := $(JDK_BUNDLE_DIR)
    94 SRC_JDK_MACOSX_BUNDLE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
    95 SRC_JRE_BUNDLE_DIR := $(JRE_BUNDLE_DIR)
    95 SRC_JRE_MACOSX_BUNDLE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
    96 
    96 
    97 # Bundle up the images
    97 # Bundle up the images
    98 bundles: all
    98 bundles: all
    99 	@$(call TargetEnter)
    99 	@$(call TargetEnter)
   100 	$(MKDIR) -p $(BUILD_OUTPUT)/bundles
   100 	$(MKDIR) -p $(BUILD_OUTPUT)/bundles
   121 	$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)
   121 	$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)
   122 	$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)
   122 	$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)
   123 	$(CP) -R -P $(SRC_JDK_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)/
   123 	$(CP) -R -P $(SRC_JDK_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)/
   124 	$(CP) -R -P $(SRC_JRE_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)/
   124 	$(CP) -R -P $(SRC_JRE_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)/
   125         ifeq ($(OPENJDK_TARGET_OS),macosx)
   125         ifeq ($(OPENJDK_TARGET_OS),macosx)
   126 	  $(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)
   126 	  $(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_MACOSX_BUNDLE_SUBDIR)
   127 	  $(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)
   127 	  $(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_MACOSX_BUNDLE_SUBDIR)
   128 	  $(CP) -R -P $(SRC_JDK_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)/
   128 	  $(CP) -R -P $(SRC_JDK_MACOSX_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_MACOSX_BUNDLE_SUBDIR)/
   129 	  $(CP) -R -P $(SRC_JRE_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)/
   129 	  $(CP) -R -P $(SRC_JRE_MACOSX_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_MACOSX_BUNDLE_SUBDIR)/
   130         endif
   130         endif
   131 	@$(call TargetExit)
   131 	@$(call TargetExit)
   132 
   132 
   133 ALL_TARGETS += jprt_bundle bundles final-images
   133 ALL_TARGETS += jprt_bundle bundles final-images