fpmake.pp 714 B

12345678910111213141516171819202122232425262728293031323334
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libfontconfig');
  13. P.ShortName:='lfcg';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.SourcePath.Add('src');
  19. P.IncludePath.Add('src');
  20. P.OSes := [linux, solaris] + AllBSDOses; // Darwin was tested!
  21. T:=P.Targets.AddUnit('libfontconfig.pp');
  22. P.ExamplePath.Add('examples');
  23. P.Targets.AddExampleProgram('testfc.pp');
  24. P.NamespaceMap:='namespaces.lst';
  25. {$ifndef ALLPACKAGES}
  26. Run;
  27. end;
  28. end.
  29. {$endif ALLPACKAGES}