fpmake.pp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.2.4-rc1';
  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. if Defaults.CPU=jvm then
  26. P.OSes := P.OSes - [java,android];
  27. P.SourcePath.Add('src');
  28. P.SourcePath.Add('src/unix',AllUnixOSes);
  29. P.SourcePath.Add('src/win',AllWindowsOSes);
  30. P.SourcePath.Add('src/$(OS)',AllOSes-AllWindowsOSes-AllUnixOSes);
  31. P.IncludePath.Add('src');
  32. T:=P.Targets.AddUnit('fpasync.pp',AllUnixOSes);
  33. with T.Dependencies do
  34. begin
  35. AddUnit('libasync');
  36. end;
  37. T:=P.Targets.AddUnit('libasync.pp',AllUnixOSes);
  38. with T.Dependencies do
  39. begin
  40. AddInclude('libasynch.inc');
  41. AddInclude('libasync.inc');
  42. end;
  43. {$ifndef ALLPACKAGES}
  44. Run;
  45. end;
  46. end.
  47. {$endif ALLPACKAGES}