fpmake.pp 1.4 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-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.HomepageURL := '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. P.IncludePath.Add('src/dummy');
  28. T:=P.Targets.AddUnit('pipes.pp');
  29. T.Dependencies.AddInclude('pipes.inc');
  30. T:=P.Targets.AddUnit('process.pp');
  31. T.Dependencies.AddInclude('process.inc');
  32. // T.ResourceStrings:=True;
  33. T:=P.Targets.AddUnit('simpleipc.pp');
  34. T.Dependencies.AddInclude('simpleipc.inc');
  35. T.ResourceStrings:=True;
  36. T:=P.Targets.AddUnit('dbugmsg.pp');
  37. T.ResourceStrings:=True;
  38. T:=P.Targets.AddUnit('dbugintf.pp');
  39. T.ResourceStrings:=True;
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}