fpmake.pp 2.0 KB

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