fpmake.pp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. P.ShortName:='fclp';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.0.1';
  18. P.Author := 'Michael van Canneyt and Free Pascal Development team';
  19. P.License := 'LGPL with modification';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Process (execution) related parts of Free Component Libraries (FCL), FPC''s OOP library.';
  23. P.Options.Add('-S2h');
  24. P.NeedLibC:= false;
  25. P.OSes:=AllOSes-[embedded,msdos];
  26. P.SourcePath.Add('src');
  27. P.IncludePath.Add('src/unix',AllUnixOSes);
  28. P.IncludePath.Add('src/win',[win32,win64]);
  29. P.IncludePath.Add('src/amicommon',AllAmigaLikeOSes);
  30. P.IncludePath.Add('src/$(OS)',AllOSes-[win32,win64]-AllUnixOSes-AllAmigaLikeOSes);
  31. P.IncludePath.Add('src/dummy',AllOSes-[win32,win64]-AllUnixOSes-AllAmigaLikeOSes);
  32. P.Dependencies.add('morphunits',[morphos]);
  33. P.Dependencies.add('arosunits',[aros]);
  34. P.Dependencies.add('amunits',[amiga]);
  35. T:=P.Targets.AddUnit('pipes.pp');
  36. T.Dependencies.AddInclude('pipes.inc');
  37. T:=P.Targets.AddUnit('process.pp');
  38. T.Dependencies.AddInclude('process.inc');
  39. T.ResourceStrings:=True;
  40. T:=P.Targets.AddUnit('simpleipc.pp');
  41. T.Dependencies.AddInclude('simpleipc.inc');
  42. T.ResourceStrings:=True;
  43. T:=P.Targets.AddUnit('pipesipc.pp',AllUnixOSes);
  44. T.Dependencies.AddInclude('simpleipc.inc');
  45. T.ResourceStrings:=True;
  46. T:=P.Targets.AddUnit('dbugmsg.pp');
  47. T.ResourceStrings:=True;
  48. T:=P.Targets.AddUnit('dbugintf.pp');
  49. T.ResourceStrings:=True;
  50. {$ifndef ALLPACKAGES}
  51. Run;
  52. end;
  53. end.
  54. {$endif ALLPACKAGES}