mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 16:28:24 +02:00
* regenerate packages\wasmtime with an up to date fpcmake
This commit is contained in:
parent
32d6cf7093
commit
f8aaab3cd7
@ -2,7 +2,7 @@
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0
|
||||
#
|
||||
default: all
|
||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macosclassic m68k-embedded m68k-sinclairql powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macosclassic powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-haiku x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-android x86_64-aros x86_64-dragonfly arm-linux arm-netbsd arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos arm-ios powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-freebsd aarch64-darwin aarch64-win64 aarch64-android aarch64-ios wasm32-embedded wasm32-wasi sparc64-linux riscv32-linux riscv32-embedded riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos z80-amstradcpc
|
||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macosclassic m68k-embedded m68k-sinclairql powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macosclassic powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-haiku x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-android x86_64-aros x86_64-dragonfly arm-linux arm-netbsd arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos arm-ios powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-freebsd aarch64-darwin aarch64-win64 aarch64-embedded aarch64-android aarch64-ios wasm32-embedded wasm32-wasi sparc64-linux riscv32-linux riscv32-embedded riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos z80-amstradcpc
|
||||
BSDs = freebsd netbsd openbsd darwin dragonfly
|
||||
UNIXs = linux $(BSDs) solaris qnx haiku aix
|
||||
LIMIT83fs = go32v2 os2 emx watcom msdos win16 atari
|
||||
@ -58,7 +58,7 @@ SRCBATCHEXT=.bat
|
||||
endif
|
||||
endif
|
||||
ifdef COMSPEC
|
||||
ifneq ($(findstring $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
|
||||
ifneq ($(filter $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
|
||||
ifndef RUNBATCH
|
||||
RUNBATCH=$(COMSPEC) /C
|
||||
endif
|
||||
@ -178,6 +178,8 @@ else
|
||||
ARCH=$(CPU_TARGET)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),aarch64-embedded)
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-embedded)
|
||||
ifeq ($(SUBARCH),)
|
||||
$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined)
|
||||
@ -214,11 +216,11 @@ $(error When compiling for arm-freertos, a sub-architecture (e.g. SUBARCH=armv6m
|
||||
endif
|
||||
override FPCOPT+=-Cp$(SUBARCH)
|
||||
endif
|
||||
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
||||
ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
|
||||
TARGETSUFFIX=$(OS_TARGET)
|
||||
SOURCESUFFIX=$(OS_SOURCE)
|
||||
else
|
||||
ifneq ($(findstring $(OS_TARGET),$(LIMIT83fs)),)
|
||||
ifneq ($(filter $(OS_TARGET),$(LIMIT83fs)),)
|
||||
TARGETSUFFIX=$(OS_TARGET)
|
||||
else
|
||||
TARGETSUFFIX=$(FULL_TARGET)
|
||||
@ -229,11 +231,11 @@ ifneq ($(FULL_TARGET),$(FULL_SOURCE))
|
||||
CROSSCOMPILE=1
|
||||
endif
|
||||
ifeq ($(findstring makefile,$(MAKECMDGOALS)),)
|
||||
ifeq ($(findstring $(FULL_TARGET),$(MAKEFILETARGETS)),)
|
||||
ifeq ($(filter $(FULL_TARGET),$(MAKEFILETARGETS)),)
|
||||
$(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first)
|
||||
endif
|
||||
endif
|
||||
ifneq ($(findstring $(OS_TARGET),$(BSDs)),)
|
||||
ifneq ($(filter $(OS_TARGET),$(BSDs)),)
|
||||
BSDhier=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
@ -287,8 +289,8 @@ endif
|
||||
ifndef CROSSBINDIR
|
||||
CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
|
||||
endif
|
||||
ifneq ($(findstring $(OS_TARGET),darwin iphonesim ios),)
|
||||
ifneq ($(findstring $(OS_SOURCE),darwin ios),)
|
||||
ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
|
||||
ifneq ($(filter $(OS_SOURCE),darwin ios),)
|
||||
DARWIN2DARWIN=1
|
||||
endif
|
||||
endif
|
||||
@ -365,11 +367,11 @@ ifdef REQUIRE_PACKAGESDIR
|
||||
override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
|
||||
endif
|
||||
ifdef ZIPINSTALL
|
||||
ifneq ($(findstring $(OS_TARGET),$(UNIXs)),)
|
||||
ifneq ($(filter $(OS_TARGET),$(UNIXs)),)
|
||||
UNIXHier=1
|
||||
endif
|
||||
else
|
||||
ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),)
|
||||
ifneq ($(filter $(OS_SOURCE),$(UNIXs)),)
|
||||
UNIXHier=1
|
||||
endif
|
||||
endif
|
||||
@ -557,7 +559,7 @@ endif
|
||||
ifeq ($(OS_SOURCE),linux)
|
||||
ifndef GCCLIBDIR
|
||||
ifeq ($(CPU_TARGET),i386)
|
||||
ifneq ($(findstring x86_64,$(shell uname -a)),)
|
||||
ifneq ($(filter x86_64,$(shell uname -a)),)
|
||||
ifeq ($(BINUTILSPREFIX),)
|
||||
GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
|
||||
else
|
||||
@ -580,11 +582,11 @@ CROSSGCCOPT=-m64
|
||||
endif
|
||||
endif
|
||||
ifeq ($(CPU_TARGET),sparc)
|
||||
ifneq ($(findstring sparc64,$(shell uname -a)),)
|
||||
ifneq ($(filter sparc64,$(shell uname -a)),)
|
||||
ifeq ($(BINUTILSPREFIX),)
|
||||
GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips mipsel),)
|
||||
ifneq ($(filter $(FPCFPMAKE_CPU_OPT),mips mipsel),)
|
||||
CROSSGCCOPT=-mabi=32
|
||||
else
|
||||
CROSSGCCOPT=-m32
|
||||
@ -598,19 +600,19 @@ FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP)
|
||||
ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET))
|
||||
FPCMAKEGCCLIBDIR:=$(GCCLIBDIR)
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64),)
|
||||
ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64),)
|
||||
FPCMAKE_CROSSGCCOPT=-m64
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips64 mips64el),)
|
||||
ifneq ($(filter $(FPCFPMAKE_CPU_OPT),mips64 mips64el),)
|
||||
FPCMAKE_CROSSGCCOPT=-mabi=64
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips mipsel),)
|
||||
ifneq ($(filter $(FPCFPMAKE_CPU_OPT),mips mipsel),)
|
||||
FPCMAKE_CROSSGCCOPT=-mabi=32
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv64),)
|
||||
ifeq ($(FPCFPMAKE_CPU_OPT),riscv64)
|
||||
FPCMAKE_CROSSGCCOPT=-mabi=lp64
|
||||
else
|
||||
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv32),)
|
||||
ifeq ($(FPCFPMAKE_CPU_OPT),riscv32)
|
||||
FPCMAKE_CROSSGCCOPT=-mabi=ilp32
|
||||
else
|
||||
FPCMAKE_CROSSGCCOPT=-m32
|
||||
@ -789,7 +791,7 @@ DEBUGSYMEXT=.xcoff
|
||||
SHORTSUFFIX=mac
|
||||
IMPORTLIBPREFIX=imp
|
||||
endif
|
||||
ifneq ($(findstring $(OS_TARGET),darwin iphonesim ios),)
|
||||
ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
|
||||
BATCHEXT=.sh
|
||||
EXEEXT=
|
||||
HASSHAREDLIB=1
|
||||
@ -868,7 +870,7 @@ endif
|
||||
ifeq ($(OS_TARGET),wasi)
|
||||
EXEEXT=.wasm
|
||||
endif
|
||||
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
||||
ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
|
||||
FPCMADE=fpcmade.$(SHORTSUFFIX)
|
||||
ZIPSUFFIX=$(SHORTSUFFIX)
|
||||
ZIPCROSSPREFIX=
|
||||
@ -1393,6 +1395,9 @@ endif
|
||||
ifeq ($(FULL_TARGET),aarch64-win64)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),aarch64-embedded)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),aarch64-android)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
endif
|
||||
@ -1586,8 +1591,8 @@ ifdef SYSROOTPATH
|
||||
override FPCOPT+=-XR$(SYSROOTPATH)
|
||||
else
|
||||
ifeq ($(OS_TARGET),$(OS_SOURCE))
|
||||
ifneq ($(findstring $(OS_TARGET),darwin),)
|
||||
ifneq ($(findstring $(CPU_TARGET),aarch64),)
|
||||
ifeq ($(OS_TARGET),darwin)
|
||||
ifeq ($(CPU_TARGET),aarch64)
|
||||
ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),)
|
||||
override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
||||
endif
|
||||
@ -1598,8 +1603,8 @@ endif
|
||||
ifdef CREATESHARED
|
||||
override FPCOPT+=-Cg
|
||||
endif
|
||||
ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
|
||||
ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel riscv64),)
|
||||
ifneq ($(filter $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
|
||||
ifneq ($(filter $(CPU_TARGET),x86_64 mips mipsel riscv64 powerpc64),)
|
||||
override FPCOPT+=-Cg
|
||||
endif
|
||||
endif
|
||||
@ -1642,10 +1647,10 @@ ifdef ACROSSCOMPILE
|
||||
override FPCOPT+=$(CROSSOPT)
|
||||
endif
|
||||
override COMPILER:=$(strip $(FPC) $(FPCOPT))
|
||||
ifneq (,$(findstring -sh ,$(COMPILER)))
|
||||
ifneq (,$(filter -sh,$(COMPILER)))
|
||||
UseEXECPPAS=1
|
||||
endif
|
||||
ifneq (,$(findstring -s ,$(COMPILER)))
|
||||
ifneq (,$(filter -s,$(COMPILER)))
|
||||
ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
||||
UseEXECPPAS=1
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user