fpmake.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('fcl-passrc');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='fcl-passrc';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Dependencies.Add('fcl-base');
  18. P.Author := 'Sebastian Guenther';
  19. P.License := 'LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Pascal parsing parts of Free Component Libraries (FCL), FPC''s OOP library.';
  23. P.NeedLibC:= false;
  24. P.SourcePath.Add('src');
  25. T:=P.Targets.AddUnit('pastree.pp');
  26. T:=P.Targets.AddUnit('paswrite.pp');
  27. with T.Dependencies do
  28. begin
  29. AddUnit('pastree');
  30. end;
  31. T:=P.Targets.AddUnit('pparser.pp');
  32. with T.Dependencies do
  33. begin
  34. AddUnit('pastree');
  35. AddUnit('pscanner');
  36. end;
  37. T:=P.Targets.AddUnit('pscanner.pp');
  38. {$ifndef ALLPACKAGES}
  39. Run;
  40. end;
  41. end.
  42. {$endif ALLPACKAGES}