fpmake.pp 778 B

123456789101112131415161718192021222324252627282930313233343536
  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('libgd');
  13. P.ShortName:='lgd';
  14. P.Description := 'Interface unit for library libgd - image processing';
  15. {$ifdef ALLPACKAGES}
  16. P.Directory:=ADirectory;
  17. {$endif ALLPACKAGES}
  18. P.Version:='3.1.1';
  19. P.SourcePath.Add('src');
  20. P.OSes := P.OSes - [embedded,nativent,msdos,win16];
  21. T:=P.Targets.AddUnit('gd.pas');
  22. P.ExamplePath.Add('examples');
  23. P.Targets.AddExampleProgram('gdtestcgi.pp');
  24. P.Targets.AddExampleProgram('gdtest.pp');
  25. P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}