fpmake.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  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.OSes:=AllUnixOses;
  24. P.SourcePath.Add('src');
  25. P.SourcePath.Add('src/unix',AllUnixOSes);
  26. P.SourcePath.Add('src/win',AllWindowsOSes);
  27. P.SourcePath.Add('src/$(OS)',AllOSes-AllWindowsOSes-AllUnixOSes);
  28. P.IncludePath.Add('src');
  29. T:=P.Targets.AddUnit('fpasync.pp',AllUnixOSes);
  30. with T.Dependencies do
  31. begin
  32. AddUnit('libasync');
  33. end;
  34. T:=P.Targets.AddUnit('libasync.pp',AllUnixOSes);
  35. with T.Dependencies do
  36. begin
  37. AddInclude('libasynch.inc');
  38. AddInclude('libasync.inc');
  39. end;
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}