mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 03:28:00 +02:00
44 lines
871 B
ObjectPascal
44 lines
871 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses {$ifdef unix}cthreads,{$endif} fpmkunit;
|
|
|
|
Var
|
|
T : TTarget;
|
|
P : TPackage;
|
|
begin
|
|
With Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
P:=AddPackage('gmp');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='3.3.1';
|
|
|
|
P.Author := 'FreePascal development team';
|
|
P.License := 'LGPL with modification, ';
|
|
P.HomepageURL := 'www.freepascal.org';
|
|
P.Email := '';
|
|
P.Description := 'GMP';
|
|
P.NeedLibC:= false;
|
|
P.OSes := [freebsd,darwin,iphonesim,ios,linux,win32,aix];
|
|
|
|
P.SourcePath.Add('src');
|
|
|
|
T:=P.Targets.AddUnit('gmp.pas');
|
|
T:=P.Targets.AddUnit('libgmp.pp');
|
|
|
|
P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
|
|
|
|
|
|
P.NamespaceMap:='namespaces.lst';
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|