fpmake.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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('symbolic');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='symbolic';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'Marco van de Voort';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'Expression parser with support for fast evaluation';
  22. P.NeedLibC:= false;
  23. P.SourcePath.Add('src');
  24. P.IncludePath.Add('src');
  25. T:=P.Targets.AddUnit('symbolic.pas');
  26. with T.Dependencies do
  27. begin
  28. AddInclude('exprstrs.inc');
  29. AddInclude('parsexpr.inc');
  30. AddInclude('symbexpr.inc');
  31. AddInclude('teval.inc');
  32. AddInclude('rearrang.inc');
  33. end;
  34. P.ExamplePath.Add('examples');
  35. P.Targets.AddExampleProgram('evaltest.pas');
  36. P.Targets.AddExampleProgram('rpnthing.pas');
  37. P.Sources.AddDoc('doc/optimization.txt');
  38. P.Sources.AddDoc('doc/symbolic.txt');
  39. {$ifndef ALLPACKAGES}
  40. Run;
  41. end;
  42. end.
  43. {$endif ALLPACKAGES}