fpmake.pp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('vcl-compat');
  13. P.ShortName:='vcl';
  14. P.Author := 'Michael Van Canneyt';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'Various non-visual VCL compatibility units.';
  19. P.OSes := [beos,haiku,freebsd,darwin,iphonesim,ios,solaris,netbsd,openbsd,linux,win32,win64,wince,aix,amiga,aros,morphos,dragonfly,android];
  20. if Defaults.CPU=jvm then
  21. P.OSes := P.OSes - [java,android];
  22. {$ifdef ALLPACKAGES}
  23. P.Directory:=ADirectory;
  24. {$endif ALLPACKAGES}
  25. P.Version:='3.2.4-rc1';
  26. P.Dependencies.Add('fcl-base');
  27. P.Dependencies.Add('fcl-xml');
  28. P.Dependencies.Add('fcl-web');
  29. P.Dependencies.Add('rtl-extra');
  30. P.Dependencies.Add('rtl-objpas');
  31. P.Dependencies.Add('rtl-generics');
  32. P.SourcePath.Add('src');
  33. P.IncludePath.Add('src');
  34. T:=P.Targets.AddUnit('system.netencoding.pp');
  35. T.ResourceStrings := True;
  36. T:=P.Targets.AddUnit('system.ioutils.pp');
  37. T.ResourceStrings := True;
  38. T:=P.Targets.AddUnit('system.ansistrings.pp');
  39. T:=P.Targets.AddUnit('system.imagelist.pp');
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}