fpmake.pp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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('fcl-pdf');
  13. P.ShortName:='fcpd';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Author := 'Michael Van Canneyt & Graeme Geldenhuys';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'PDF generating and TTF file info library';
  22. P.NeedLibC:= false;
  23. P.OSes:=P.OSes-[embedded,msdos,nativent];
  24. P.Dependencies.Add('rtl-objpas');
  25. P.Dependencies.Add('fcl-base');
  26. P.Dependencies.Add('fcl-image');
  27. P.Dependencies.Add('fcl-xml');
  28. P.Dependencies.Add('paszlib');
  29. P.Version:='3.04rc1';
  30. T:=P.Targets.AddUnit('src/fpttfencodings.pp');
  31. T:=P.Targets.AddUnit('src/fpparsettf.pp');
  32. T:=P.Targets.AddUnit('src/fpfonttextmapping.pp');
  33. With T do
  34. Dependencies.AddUnit('fpttfencodings');
  35. T:=P.Targets.AddUnit('src/fpttfsubsetter.pp');
  36. With T do
  37. begin
  38. Dependencies.AddUnit('fpparsettf');
  39. Dependencies.AddUnit('fpfonttextmapping');
  40. end;
  41. T:=P.Targets.AddUnit('src/fpttf.pp');
  42. T:=P.Targets.AddUnit('src/fppdf.pp');
  43. With T do
  44. begin
  45. Dependencies.AddUnit('fpparsettf');
  46. Dependencies.AddUnit('fpttfsubsetter');
  47. end;
  48. // md5.ref
  49. {$ifndef ALLPACKAGES}
  50. Run;
  51. end;
  52. end.
  53. {$endif ALLPACKAGES}