fpmake.pp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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.04rc1';
  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. if Defaults.CPU=powerpc then
  27. P.OSes:=P.OSes-[amiga];
  28. P.SourcePath.Add('src');
  29. P.IncludePath.Add('src/unix',AllUnixOSes);
  30. P.IncludePath.Add('src/winall',AllWindowsOSes);
  31. P.IncludePath.Add('src/win',[win32,win64]);
  32. P.IncludePath.Add('src/amicommon',AllAmigaLikeOSes);
  33. P.IncludePath.Add('src/$(OS)',AllOSes-[win32,win64]-AllUnixOSes-AllAmigaLikeOSes);
  34. P.IncludePath.Add('src/dummy',AllOSes-[win32,win64]-AllUnixOSes-AllAmigaLikeOSes);
  35. P.Dependencies.add('morphunits',[morphos]);
  36. P.Dependencies.add('arosunits',[aros]);
  37. P.Dependencies.add('amunits',[amiga]);
  38. P.Dependencies.add('fcl-base');
  39. T:=P.Targets.AddUnit('pipes.pp');
  40. T.Dependencies.AddInclude('pipes.inc');
  41. T:=P.Targets.AddUnit('process.pp');
  42. T.Dependencies.AddInclude('process.inc');
  43. T.ResourceStrings:=True;
  44. T:=P.Targets.AddUnit('simpleipc.pp');
  45. T.Dependencies.AddInclude('simpleipc.inc');
  46. T.ResourceStrings:=True;
  47. T:=P.Targets.AddUnit('pipesipc.pp',AllUnixOSes);
  48. T.Dependencies.AddInclude('simpleipc.inc');
  49. T.ResourceStrings:=True;
  50. T:=P.Targets.AddUnit('dbugmsg.pp');
  51. T.ResourceStrings:=True;
  52. T:=P.Targets.AddUnit('dbugintf.pp');
  53. T.ResourceStrings:=True;
  54. {$ifndef ALLPACKAGES}
  55. Run;
  56. end;
  57. end.
  58. {$endif ALLPACKAGES}