fpmake.pp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('ggi');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='ggi';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'Library: ?, header: Sebastian Guenther';
  18. P.License := 'Library: ?, header: LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'a project that aims to develop a reliable, stable and fast graphics system that works everywhere.';
  22. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  23. // note that this package may be severely outdated. Header copyright
  24. // lists 1999, and ggi itself is still developed, and major releases
  25. // have happened since?
  26. P.SourcePath.Add('src');
  27. T:=P.Targets.AddUnit('ggi2d.pp');
  28. with T.Dependencies do
  29. begin
  30. AddUnit('ggi');
  31. end;
  32. T:=P.Targets.AddUnit('ggi.pp');
  33. with T.Dependencies do
  34. begin
  35. AddUnit('gii');
  36. end;
  37. T:=P.Targets.AddUnit('gii.pp');
  38. P.ExamplePath.Add('examples');
  39. P.Targets.AddExampleProgram('ggi1.pp');
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}