fpc/packages/gmp/fpmake.pp
2023-07-27 19:04:09 +02:00

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}