fpmake.pp 1.2 KB

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