Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/make/profile-includes.txt
32278 views
#1# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation. Oracle designates this7# particular file as subject to the "Classpath" exception as provided8# by Oracle in the LICENSE file that accompanied this code.9#10# This code is distributed in the hope that it will be useful, but WITHOUT11# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13# version 2 for more details (a copy is included in the LICENSE file that14# accompanied this code).15#16# You should have received a copy of the GNU General Public License version17# 2 along with this work; if not, write to the Free Software Foundation,18# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19#20# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21# or visit www.oracle.com if you need additional information or have any22# questions.23#2425# These lists define where a file belongs if it exists. It is perfectly fine26# if a file does not exist on some platforms - we do not have to produce exact27# per-platform lists. However, for clarity, platform-unique files are handled28# in platform-specific conditionals.2930# On different platforms the libraries are placed into different locations in the31# JRE:32ifeq (, $(findstring $(OPENJDK_TARGET_OS), windows macosx))33# On non-windows/OSX libraries go into jre/lib/<arch>34LIBS_PREFIX := $(OPENJDK_TARGET_CPU_LEGACY_LIB)/35else36# On OSX they go into jre/lib/ - on Windows they go into jre/bin/ and we won't use this37LIBS_PREFIX :=38endif3940# Debug info files are tricky to deal with due to all the different platform variants41# and because they can be zipped.42ifeq ($(ZIP_DEBUGINFO_FILES), true)43# Common case and 'just works' on all platforms44DEBUG_SUFFIX := .diz45else46# It gets complicated ...47ifeq ($(OPENJDK_TARGET_OS), macosx)48# This is a directory, not a simple file, so49# it needs expanding explicitly later on50DEBUG_SUFFIX := $(SHARED_LIBRARY_SUFFIX).dSYM51else52ifeq ($(OPENJDK_TARGET_OS), windows)53DEBUG_SUFFIX := .map .pdb54else55DEBUG_SUFFIX := .debuginfo56endif57endif58endif5960# Expand the contents of the .dSYM directories on macosx.61# Param 1 - debug files list eg libFoo.dylib.dSYM or libFoo.diz (if zipped)62# Param 2 - libraries list eg Foo63# On macosx if not zipping debuginfo files we expand the contents of the .dSYM directories,64# else we return the original list of .diz files.65# On other OS we return the original list of debuginfo files (whether zipped or not)66#67define expand-debuginfo68$(if $(and $(filter-out true, $(ZIP_DEBUGINFO_FILES)), $(filter macosx, $(OPENJDK_TARGET_OS))), \69$(foreach i, $1, $(addsuffix /Contents/Info.plist, $i)) \70$(foreach i, $2, $(addsuffix /Contents/Resources/DWARF/$i, $(filter $i.%, $1))), \71$1)72endef7374# Common executable files75PROFILE_1_JRE_BIN_FILES := \76java$(EXE_SUFFIX) \77keytool$(EXE_SUFFIX)7879ifeq ($(OPENJDK_TARGET_OS), windows)80PROFILE_1_JRE_BIN_FILES += javaw$(EXE_SUFFIX)81endif8283PROFILE_1_LIBRARIES := \84j2pkcs11 \85java \86jsig \87net \88nio \89sunec \90verify \91zip9293ifeq ($(OPENJDK_TARGET_OS), windows)94PROFILE_1_LIBRARIES += msvcrt10095endif9697PROFILE_1_LIBRARIES := $(addprefix $(LIBRARY_PREFIX), $(PROFILE_1_LIBRARIES))98PROFILE_1_DEBUG_FILES := $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(PROFILE_1_LIBRARIES)))99PROFILE_1_LIBRARIES := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(PROFILE_1_LIBRARIES))100PROFILE_1_DEBUG_FILES := $(call expand-debuginfo, $(PROFILE_1_DEBUG_FILES), $(PROFILE_1_LIBRARIES))101PROFILE_1_LIBRARIES += $(PROFILE_1_DEBUG_FILES)102103# Note: libjsig exists as both the real file and a symlink in the VM directory104# so we have to treat it with care when looking for the debuginfo files105VM_LIBRARIES := \106jvm107108ifeq ($(OPENJDK_TARGET_OS), solaris)109VM_LIBRARIES += jvm_db jvm_dtrace110endif111112VM_SYMLINKS := \113jsig114115VM_LIBRARIES := $(addprefix $(LIBRARY_PREFIX), $(VM_LIBRARIES))116VM_DEBUG_FILES := $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(VM_LIBRARIES)))117VM_SYMLINKS := $(addprefix $(LIBRARY_PREFIX), $(VM_SYMLINKS))118VM_LIBRARIES := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(VM_LIBRARIES))119VM_DEBUG_FILES := $(call expand-debuginfo, $(VM_DEBUG_FILES), $(VM_LIBRARIES))120VM_DEBUG_FILES += $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(VM_SYMLINKS)))121VM_SYMLINKS := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(VM_SYMLINKS))122VM_LIBRARIES += $(VM_SYMLINKS)123124VM_FILES := \125Xusage.txt126127VM_DIRS := client server minimal128129VM_FILES := $(foreach i, $(VM_DIRS), $(addprefix $i/, $(VM_LIBRARIES) $(VM_FILES) $(VM_DEBUG_FILES)))130131JLI_LIBRARIES := \132jli133134ifneq ($(OPENJDK_TARGET_OS), windows)135JLI_SUBDIR := jli/136else137JLI_SUBDIR :=138endif139140JLI_LIBRARIES := $(addprefix $(JLI_SUBDIR)$(LIBRARY_PREFIX), $(JLI_LIBRARIES))141JLI_DEBUG_FILES := $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(JLI_LIBRARIES)))142JLI_LIBRARIES := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(JLI_LIBRARIES))143JLI_DEBUG_FILES := $(call expand-debuginfo, $(JLI_DEBUG_FILES), $(JLI_LIBRARIES))144JLI_LIBRARIES += $(JLI_DEBUG_FILES)145146ifneq ($(OPENJDK_TARGET_OS), windows)147PROFILE_1_JRE_LIB_FILES := \148$(addprefix $(LIBS_PREFIX), $(PROFILE_1_LIBRARIES) $(VM_FILES) $(JLI_LIBRARIES))149else150# On windows libraries go into jre/bin151PROFILE_1_JRE_BIN_FILES += $(PROFILE_1_LIBRARIES) $(VM_FILES) $(JLI_LIBRARIES)152endif153154# Remaining jre/lib contents155# OSX doesn't use <arch> directory156#157ifeq ($(OPENJDK_TARGET_OS), macosx)158PROFILE_1_JRE_LIB_FILES += \159jvm.cfg \160jspawnhelper161else162PROFILE_1_JRE_LIB_FILES += \163$(OPENJDK_TARGET_CPU_LEGACY_LIB)/jvm.cfg \164$(OPENJDK_TARGET_CPU_LEGACY_LIB)/jspawnhelper165endif166167PROFILE_1_JRE_LIB_FILES += \168calendars.properties \169classlist \170content-types.properties \171currency.data \172ext/localedata.jar \173ext/meta-index \174ext/sunec.jar \175ext/sunjce_provider.jar \176ext/sunpkcs11.jar \177hijrah-config-umalqura.properties \178jce.jar \179jsse.jar \180logging.properties \181meta-index \182net.properties \183resources.jar \184rt.jar \185security/policy/limited/US_export_policy.jar \186security/policy/unlimited/US_export_policy.jar \187security/blacklist \188security/blacklisted.certs \189security/cacerts \190security/java.policy \191security/java.security \192security/policy/limited/local_policy.jar \193security/policy/unlimited/local_policy.jar \194security/trusted.libraries \195tzdb.dat196197ifeq ($(OPENJDK_TARGET_OS), windows)198PROFILE_1_JRE_LIB_FILES += tzmappings199else200ifeq ($(OPENJDK_TARGET_OS), solaris)201PROFILE_1_JRE_LIB_FILES += sdp/sdp.conf202endif203endif204205PROFILE_1_JRE_OTHER_FILES := \206COPYRIGHT \207LICENSE \208README \209THIRDPARTYLICENSEREADME.txt \210Welcome.html \211release212213PROFILE_1_JRE_JAR_FILES := \214ext/localedata.jar \215ext/sunec.jar \216ext/sunjce_provider.jar \217ext/sunpkcs11.jar \218jce.jar \219jsse.jar \220resources.jar \221rt.jar \222security/policy/limited/US_export_policy.jar \223security/policy/unlimited/US_export_policy.jar \224security/policy/limited/local_policy.jar \225security/policy/unlimited/local_policy.jar226227228PROFILE_2_JRE_BIN_FILES := \229rmid$(EXE_SUFFIX) \230rmiregistry$(EXE_SUFFIX)231232ifeq ($(OPENJDK_TARGET_OS), windows)233PROFILE_2_JRE_BIN_FILES += java-rmi$(EXE_SUFFIX)234endif235236# If you add libraries here, make sure you use the same techniques237# as used for the other profile's libraries regarding debug files etc238PROFILE_2_JRE_LIB_FILES :=239240PROFILE_2_JRE_OTHER_FILES :=241242PROFILE_2_JRE_JAR_FILES :=243244ifeq ($(OPENJDK_TARGET_OS), windows)245PROFILE_3_JRE_BIN_FILES := \246kinit$(EXE_SUFFIX) \247klist$(EXE_SUFFIX) \248ktab$(EXE_SUFFIX)249else250PROFILE_3_JRE_BIN_FILES :=251endif252253PROFILE_3_LIBRARIES := \254hprof \255instrument \256j2gss \257j2pcsc \258jaas_unix \259jaas_nt \260java_crw_demo \261jsdt \262management \263npt \264sctp265266ifeq ($(OPENJDK_TARGET_OS), windows)267PROFILE_3_LIBRARIES += w2k_lsa_auth268else269ifeq ($(OPENJDK_TARGET_OS), macosx)270PROFILE_3_LIBRARIES += osxkrb5271endif272endif273274PROFILE_3_LIBRARIES := $(addprefix $(LIBRARY_PREFIX), $(PROFILE_3_LIBRARIES))275PROFILE_3_DEBUG_FILES := $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(PROFILE_3_LIBRARIES)))276PROFILE_3_LIBRARIES := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(PROFILE_3_LIBRARIES))277PROFILE_3_DEBUG_FILES := $(call expand-debuginfo, $(PROFILE_3_DEBUG_FILES), $(PROFILE_3_LIBRARIES))278PROFILE_3_LIBRARIES += $(PROFILE_3_DEBUG_FILES)279280ifneq ($(OPENJDK_TARGET_OS), windows)281PROFILE_3_JRE_LIB_FILES := \282$(addprefix $(LIBS_PREFIX), $(PROFILE_3_LIBRARIES))283else284# On windows libraries go into jre/bin285PROFILE_3_JRE_BIN_FILES += $(PROFILE_3_LIBRARIES)286endif287288PROFILE_3_JRE_LIB_FILES += \289jvm.hprof.txt \290management-agent.jar \291management/jmxremote.access \292management/jmxremote.password.template \293management/management.properties \294management/snmp.acl.template295296PROFILE_3_JRE_OTHER_FILES :=297298PROFILE_3_JRE_JAR_FILES := \299management-agent.jar300301302FULL_JRE_BIN_FILES := \303orbd$(EXE_SUFFIX) \304pack200$(EXE_SUFFIX) \305policytool$(EXE_SUFFIX) \306servertool$(EXE_SUFFIX) \307tnameserv$(EXE_SUFFIX) \308unpack200$(EXE_SUFFIX)309310JRE_LIBRARIES := \311awt \312awt_headless \313awt_xawt \314dcpr \315dt_socket \316fontmanager \317jawt \318jdwp \319jfr \320jpeg \321jsound \322jsoundalsa \323mlib_image \324splashscreen \325t2k \326unpack327328JRE_LIBRARIES := $(addprefix $(LIBRARY_PREFIX), $(JRE_LIBRARIES))329JRE_DEBUG_FILES := $(foreach i, $(DEBUG_SUFFIX), $(addsuffix $i, $(JRE_LIBRARIES)))330JRE_LIBRARIES := $(addsuffix $(SHARED_LIBRARY_SUFFIX), $(JRE_LIBRARIES))331JRE_DEBUG_FILES := $(call expand-debuginfo, $(JRE_DEBUG_FILES), $(JRE_LIBRARIES))332JRE_LIBRARIES += $(JRE_DEBUG_FILES)333334ifneq ($(OPENJDK_TARGET_OS), windows)335FULL_JRE_LIB_FILES := \336$(addprefix $(LIBS_PREFIX), $(JRE_LIBRARIES))337else338# On windows libraries go into jre/bin339FULL_JRE_BIN_FILES += $(JRE_LIBRARIES)340endif341342FULL_JRE_LIB_FILES += \343charsets.jar \344cmm/CIEXYZ.pf \345cmm/GRAY.pf \346cmm/LINEAR_RGB.pf \347cmm/PYCC.pf \348cmm/sRGB.pf \349ext/cldrdata.jar \350ext/dnsns.jar \351ext/nashorn.jar \352ext/zipfs.jar \353flavormap.properties \354fontconfig.RedHat.5.bfc \355fontconfig.RedHat.5.properties.src \356fontconfig.RedHat.6.bfc \357fontconfig.RedHat.6.properties.src \358fontconfig.SuSE.10.bfc \359fontconfig.SuSE.10.properties.src \360fontconfig.SuSE.11.bfc \361fontconfig.SuSE.11.properties.src \362fontconfig.Turbo.bfc \363fontconfig.Turbo.properties.src \364fontconfig.bfc \365fontconfig.properties.src \366fonts/LucidaBrightDemiBold.ttf \367fonts/LucidaBrightDemiItalic.ttf \368fonts/LucidaBrightItalic.ttf \369fonts/LucidaBrightRegular.ttf \370fonts/LucidaSansDemiBold.ttf \371fonts/LucidaSansRegular.ttf \372fonts/LucidaTypewriterBold.ttf \373fonts/LucidaTypewriterRegular.ttf \374fonts/fonts.dir \375images/cursors/cursors.properties \376images/cursors/invalid32x32.gif \377images/cursors/motif_CopyDrop32x32.gif \378images/cursors/motif_CopyNoDrop32x32.gif \379images/cursors/motif_LinkDrop32x32.gif \380images/cursors/motif_LinkNoDrop32x32.gif \381images/cursors/motif_MoveDrop32x32.gif \382images/cursors/motif_MoveNoDrop32x32.gif \383jexec \384jfr.jar \385oblique-fonts/LucidaSansDemiOblique.ttf \386oblique-fonts/LucidaSansOblique.ttf \387oblique-fonts/LucidaTypewriterBoldOblique.ttf \388oblique-fonts/LucidaTypewriterOblique.ttf \389oblique-fonts/fonts.dir \390psfont.properties.ja \391psfontj2d.properties \392sound.properties393394FULL_JRE_OTHER_FILES := \395man/ja_JP.UTF-8/man1/java.1 \396man/ja_JP.UTF-8/man1/javaws.1 \397man/ja_JP.UTF-8/man1/keytool.1 \398man/ja_JP.UTF-8/man1/orbd.1 \399man/ja_JP.UTF-8/man1/pack200.1 \400man/ja_JP.UTF-8/man1/policytool.1 \401man/ja_JP.UTF-8/man1/rmid.1 \402man/ja_JP.UTF-8/man1/rmiregistry.1 \403man/ja_JP.UTF-8/man1/servertool.1 \404man/ja_JP.UTF-8/man1/tnameserv.1 \405man/ja_JP.UTF-8/man1/unpack200.1 \406man/man1/java.1 \407man/man1/javaws.1 \408man/man1/keytool.1 \409man/man1/orbd.1 \410man/man1/pack200.1 \411man/man1/policytool.1 \412man/man1/rmid.1 \413man/man1/rmiregistry.1 \414man/man1/servertool.1 \415man/man1/tnameserv.1 \416man/man1/unpack200.1417418FULL_JRE_JAR_FILES := \419charsets.jar \420ext/cldrdata.jar \421ext/dnsns.jar \422ext/nashorn.jar \423ext/zipfs.jar \424jfr.jar425426427428