Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346# 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 either:8#9# * the GNU Lesser General Public License as published by the Free10# Software Foundation; either version 3 of the License, or (at your11# option) any later version.12#13# or14#15# * the GNU General Public License as published by the Free Software16# Foundation; either version 2 of the License, or (at your option) any17# later version.18#19# or both in parallel, as here.20#21# The GNU MP Library is distributed in the hope that it will be useful, but22# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY23# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License24# for more details.25#26# You should have received copies of the GNU General Public License and the27# GNU Lesser General Public License along with the GNU MP Library. If not,28# see https://www.gnu.org/licenses/.293031# Bugs:32#33# When the generated Makefile re-runs "perl Makefile.PL" the GMP_BUILDDIR34# parameter is lost.353637use ExtUtils::MakeMaker;383940# Find and remove our parameters41@ARGV = map {42if (/^GMP_BUILDDIR=(.*)/) {43$GMP_BUILDDIR=$1; ();44} else {45$_;46}47} (@ARGV);4849$INC = "";50$LIBS = "-lgmp";51$OBJECT = "GMP.o";5253if (defined $GMP_BUILDDIR) {54if (! -f "$GMP_BUILDDIR/libgmp.la") {55die "$GMP_BUILDDIR doesn't contain libgmp.la\n" .56"if it's really a gmp build directory then go there and run \"make libgmp.la\"\n";57}58$INC = "-I$GMP_BUILDDIR $INC";59$LIBS = "-L$GMP_BUILDDIR/.libs $LIBS";60}6162WriteMakefile(63NAME => 'GMP',64VERSION => '2.00',65LIBS => [$LIBS],66OBJECT => $OBJECT,67INC => $INC,68clean => { FILES => 'test.tmp' },69PM => {70'GMP.pm' => '$(INST_LIBDIR)/GMP.pm',71'GMP/Mpz.pm' => '$(INST_LIBDIR)/GMP/Mpz.pm',72'GMP/Mpq.pm' => '$(INST_LIBDIR)/GMP/Mpq.pm',73'GMP/Mpf.pm' => '$(INST_LIBDIR)/GMP/Mpf.pm',74'GMP/Rand.pm' => '$(INST_LIBDIR)/GMP/Rand.pm',75}76);777879# Local variables:80# perl-indent-level: 281# End:828384