fpmake.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. T.ResourceStrings := True;
  35. P.ExamplePath.Add('examples');
  36. P.Targets.AddExampleProgram('evaltest.pas');
  37. P.Targets.AddExampleProgram('rpnthing.pas');
  38. P.Sources.AddDoc('doc/optimization.txt');
  39. P.Sources.AddDoc('doc/symbolic.txt');
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}