fpmake.pp 1.3 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-process');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='fcl-process';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'Michael van Canneyt and Free Pascal Development team';
  18. P.License := 'LGPL with modification';
  19. P.ExternalURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'Process (execution) related parts of Free Component Libraries (FCL), FPC''s OOP library.';
  22. P.NeedLibC:= false;
  23. P.SourcePath.Add('src');
  24. P.IncludePath.Add('src/unix',AllUnixOSes);
  25. P.IncludePath.Add('src/win',AllWindowsOSes);
  26. P.IncludePath.Add('src/$(OS)',AllOSes-AllWindowsOSes-AllUnixOSes);
  27. T:=P.Targets.AddUnit('pipes.pp');
  28. T.Dependencies.AddInclude('pipes.inc');
  29. T:=P.Targets.AddUnit('process.pp');
  30. T.Dependencies.AddInclude('process.inc');
  31. // T.ResourceStrings:=True;
  32. T:=P.Targets.AddUnit('simpleipc.pp');
  33. T.Dependencies.AddInclude('simpleipc.inc');
  34. T.ResourceStrings:=True;
  35. T:=P.Targets.AddUnit('dbugmsg.pp');
  36. T.ResourceStrings:=True;
  37. T:=P.Targets.AddUnit('dbugintf.pp');
  38. T.ResourceStrings:=True;
  39. {$ifndef ALLPACKAGES}
  40. Run;
  41. end;
  42. end.
  43. {$endif ALLPACKAGES}