GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
# Makefile for GMP perl module.12# Copyright 2001, 2003, 2004 Free Software Foundation, Inc.3#4# This file is part of the GNU MP Library.5#6# The GNU MP Library is free software; you can redistribute it and/or modify7# it under the terms of the GNU Lesser General Public License as published8# by the Free Software Foundation; either version 2.1 of the License, or (at9# your option) any later version.10#11# The GNU MP Library is distributed in the hope that it will be useful, but12# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY13# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public14# License for more details.15#16# You should have received a copy of the GNU Lesser General Public License17# along with the GNU MP Library; see the file COPYING.LIB. If not, write to18# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,19# MA 02110-1301, USA.202122# Bugs:23#24# When the generated Makefile re-runs "perl Makefile.PL" the GMP_BUILDDIR25# parameter is lost.262728use ExtUtils::MakeMaker;293031# Find and remove our parameters32@ARGV = map {33if (/^GMP_BUILDDIR=(.*)/) {34$GMP_BUILDDIR=$1; ();35} else {36$_;37}38} (@ARGV);3940$INC = "";41$LIBS = "-lgmp";42$OBJECT = "GMP.o";4344if (defined $GMP_BUILDDIR) {45if (! -f "$GMP_BUILDDIR/libgmp.la") {46die "$GMP_BUILDDIR doesn't contain libgmp.la\n" .47"if it's really a gmp build directory then go there and run \"make libgmp.la\"\n";48}49$INC = "-I$GMP_BUILDDIR $INC";50$LIBS = "-L$GMP_BUILDDIR/.libs $LIBS";51}5253WriteMakefile(54NAME => 'GMP',55VERSION => '2.00',56LIBS => [$LIBS],57OBJECT => $OBJECT,58INC => $INC,59clean => { FILES => 'test.tmp' },60PM => {61'GMP.pm' => '$(INST_LIBDIR)/GMP.pm',62'GMP/Mpz.pm' => '$(INST_LIBDIR)/GMP/Mpz.pm',63'GMP/Mpq.pm' => '$(INST_LIBDIR)/GMP/Mpq.pm',64'GMP/Mpf.pm' => '$(INST_LIBDIR)/GMP/Mpf.pm',65'GMP/Rand.pm' => '$(INST_LIBDIR)/GMP/Rand.pm',66}67);686970# Local variables:71# perl-indent-level: 272# End:737475