comparison make/MacBundles.gmk @ 51844:e3632b4706c4

8210931: JLI and launchers normalization and cleanup Reviewed-by: alanb, erikj
author ihse
date Thu, 20 Sep 2018 21:05:00 +0200
parents d2a837cf9ff1
children dea8a62cdfc3
comparison
equal deleted inserted replaced
14:65fe4b708652 15:0a01db71d9c4
1 # 1 #
2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2011, 2018, 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
63 63
64 $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib: 64 $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
65 $(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@)) 65 $(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
66 $(MKDIR) -p $(@D) 66 $(MKDIR) -p $(@D)
67 $(RM) $@ 67 $(RM) $@
68 $(LN) -s ../Home/lib/jli/libjli.dylib $@ 68 $(LN) -s ../Home/lib/libjli.dylib $@
69 69
70 $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib: 70 $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
71 $(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@)) 71 $(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
72 $(MKDIR) -p $(@D) 72 $(MKDIR) -p $(@D)
73 $(RM) $@ 73 $(RM) $@
74 $(LN) -s ../Home/lib/jli/libjli.dylib $@ 74 $(LN) -s ../Home/lib/libjli.dylib $@
75 75
76 $(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \ 76 $(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
77 SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \ 77 SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
78 OUTPUT_FILE := $(JDK_MACOSX_CONTENTS_DIR)/Info.plist, \ 78 OUTPUT_FILE := $(JDK_MACOSX_CONTENTS_DIR)/Info.plist, \
79 REPLACEMENTS := \ 79 REPLACEMENTS := \