Spracherkennung für: .mak vermutete Sprache: Shell {Shell[30] SQL[25] MT940[21]} [Methode: maximale Elemente, drei Dimensionen]
# GNU Multiple Precision Arithmetic
GMP_VERSION :=
6.
3.
0
GMP_URL :=
https://gmplib.org/download/gmp/gmp-$(GMP_VERSION).tar.xz
GMP_CONF :=
ifdef HAVE_CLANG
ifeq ($(ARCH),mipsel)
GMP_CONF += --disable-assembly
endif
ifeq ($(ARCH),mips64el)
GMP_CONF += --disable-assembly
endif
endif
# gmp requires C99 and is _not_ forward-compatible with C23.
ifdef HAVE_WIN32
# disable sections splitting as it fails to link with "foo"
GMP_CONF += CFLAGS=
"$(CFLAGS_NO_SECTIONS) -std=gnu99"
else
GMP_CONF += CFLAGS=
"$(CFLAGS) -std=gnu99"
endif
ifdef HAVE_WIN32
ifeq ($(ARCH),arm)
GMP_CONF += --disable-assembly
endif
endif
ifeq ($(
call need_pkg,
"gmp"),)
PKGS_FOUND += gmp
endif
$(TARBALLS)/gmp-$(GMP_VERSION).tar.xz:
$(
call download_pkg,$(GMP_URL),gmp)
.sum-gmp: gmp-$(GMP_VERSION).tar.xz
gmp: gmp-$(GMP_VERSION).tar.xz .sum-gmp
$(UNPACK)
# $(call update_autoconfig,.)
$(APPLY) $(SRC)/gmp/gmp-fix-asm-detection.patch
# do not try the cross compiler to detect the build compiler
sed -i.orig
's/"$$CC" "$$CC $$CFLAGS $$CPPFLAGS" cc gcc c89 c99/cc gcc c89 c99/' $(UNPACK_DIR
)/acinclude.m4
$(MOVE)
# GMP requires either GPLv2 or LGPLv3
.gmp: gmp
ifndef GPL
$(REQUIRE_GNUV3)
endif
$(RECONF)
$(MAKEBUILDDIR)
$(MAKECONFIGURE) $(GMP_CONF)
+$(MAKEBUILD)
+$(MAKEBUILD) install
touch $@
[Dauer der Verarbeitung: 0.1 Sekunden, vorverarbeitet 2026-10-24]