%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/usr/share/java/
Upload File :
Create Path :
Current File : //proc/thread-self/root/usr/share/java/java_defaults.mk

# makefile fragment to define the macros java_default_version,
# java{,5,6,...,17}_architectures

java17_architectures =
java16_architectures = $(java17_architectures)
java15_architectures = $(java16_architectures)
java14_architectures = $(java15_architectures)
java13_architectures = $(java14_architectures)
java12_architectures = $(java13_architectures)
java11_architectures = $(java12_architectures) \
		alpha amd64 arm64 armel armhf i386 \
		ia64 m68k mips mipsel mips64el \
		powerpc ppc64 ppc64el \
		riscv64 s390x sh4 sparc64 x32
java10_architectures = $(java11_architectures) \
		powerpcspe
java9_architectures = $(java10_architectures)
java8_architectures = $(java9_architectures) \
		kfreebsd-amd64 kfreebsd-i386
java7_architectures = $(java8_architectures)
java6_architectures = $(java7_architectures)
java5_architectures = $(java6_architectures) \
		hppa s390 sparc \
		hurd-i386
java_architectures = $(java5_architectures)

java_default_architectures = $(java8_architectures)

java_dependency = $(strip $(1) [$(foreach a,$(filter-out $(java_default_architectures), $(java5_architectures)),!$(a))])

_java_host_arch := $(if $(DEB_HOST_ARCH),$(DEB_HOST_ARCH),$(shell dpkg-architecture -qDEB_HOST_ARCH))
ifneq (,$(filter $(_java_host_arch),$(java17_architectures)))
  java_default_version = 17
else ifneq (,$(filter $(_java_host_arch),$(java16_architectures)))
  java_default_version = 16
else ifneq (,$(filter $(_java_host_arch),$(java15_architectures)))
  java_default_version = 15
else ifneq (,$(filter $(_java_host_arch),$(java14_architectures)))
  java_default_version = 14
else ifneq (,$(filter $(_java_host_arch),$(java13_architectures)))
  java_default_version = 13
else ifneq (,$(filter $(_java_host_arch),$(java12_architectures)))
  java_default_version = 12
else ifneq (,$(filter $(_java_host_arch),$(java11_architectures)))
  java_default_version = 11
else ifneq (,$(filter $(_java_host_arch),$(java10_architectures)))
  java_default_version = 10
else ifneq (,$(filter $(_java_host_arch),$(java9_architectures)))
  java_default_version = 9
else ifneq (,$(filter $(_java_host_arch),$(java8_architectures)))
  java_default_version = 8
else ifneq (,$(filter $(_java_host_arch),$(java6_architectures)))
  java_default_version = 7
else ifneq (,$(filter $(_java_host_arch),$(java6_architectures)))
  java_default_version = 6
else ifneq (,$(filter $(_java_host_arch),$(java5_architectures)))
  java_default_version = 5
endif

# jvm_archdir is the directory for architecture specific files / libraries
# in <JAVA_HOME>/jre/lib/<jvm_archdir> or <JAVA_HOME>/lib/<jvm_archdir>
# jvm_archpath is the relative path of jvm_archdir in JAVA_HOME.

_java_host_cpu := $(if $(DEB_HOST_ARCH_CPU),$(DEB_HOST_ARCH_CPU),$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU))
jvm_archdir_map = \
	alpha=alpha armel=arm armhf=arm arm64=aarch64 amd64=amd64 hppa=parisc \
	i386=i386 m68k=m68k mips=mips mipsel=mipsel mips64=mips64 mips64el=mips64el \
	powerpc=ppc powerpcspe=ppc ppc64=ppc64 ppc64el=ppc64le riscv64=riscv64 \
	sparc=sparc sparc64=sparc64 sh4=sh s390x=s390x ia64=ia64 x32=x32

jvm_archdir := \
	$(strip $(patsubst $(_java_host_cpu)=%, %, $(filter $(_java_host_cpu)=%, $(jvm_archdir_map))))

ifneq (,$(filter $(java_default_version), 9 10 11 12 13 14 15 16 17))
  jvm_archpath := lib/$(jvm_archdir)
else
  jvm_archpath := jre/lib/$(jvm_archdir)
endif

_jvm_osinclude = linux
ifeq (,$(filter $(java_default_version), 6 7))
  _jvm_osinclude = $(if $(findstring kfreebsd,$(_java_host_arch)),bsd,linux)
endif

jvm_includes = \
	-I/usr/lib/jvm/java-$(java_default_version)-openjdk-$(_java_host_arch)/include \
	-I/usr/lib/jvm/java-$(java_default_version)-openjdk-$(_java_host_arch)/include/$(_jvm_osinclude)

Zerion Mini Shell 1.0