fpmake.pp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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-async');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='fcl-async';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'Mostly Sebastian Guenther';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'Asynchonous event management of Free Component Libraries (FCL), FPC''s OOP library.';
  22. P.NeedLibC:= false;
  23. P.SourcePath.Add('src');
  24. P.SourcePath.Add('src/unix',AllUnixOSes);
  25. P.SourcePath.Add('src/win',AllWindowsOSes);
  26. P.SourcePath.Add('src/$(OS)',AllOSes-AllWindowsOSes-AllUnixOSes);
  27. P.IncludePath.Add('src');
  28. T:=P.Targets.AddUnit('fpasync.pp',AllUnixOSes);
  29. with T.Dependencies do
  30. begin
  31. AddUnit('libasync');
  32. end;
  33. T:=P.Targets.AddUnit('libasync.pp',AllUnixOSes);
  34. with T.Dependencies do
  35. begin
  36. AddInclude('libasynch.inc');
  37. AddInclude('libasync.inc');
  38. end;
  39. {$ifndef ALLPACKAGES}
  40. Run;
  41. end;
  42. end.
  43. {$endif ALLPACKAGES}