fpmake.pp 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('gmp');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='3.3.1';
  17. P.Author := 'FreePascal development team';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'GMP';
  22. P.NeedLibC:= false;
  23. P.OSes := [freebsd,darwin,iphonesim,ios,linux,win32,aix];
  24. P.SourcePath.Add('src');
  25. T:=P.Targets.AddUnit('gmp.pas');
  26. T:=P.Targets.AddUnit('libgmp.pp');
  27. P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  28. P.NamespaceMap:='namespaces.lst';
  29. {$ifndef ALLPACKAGES}
  30. Run;
  31. end;
  32. end.
  33. {$endif ALLPACKAGES}