fpmake.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:='vclcomp';
  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,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.3.1';
  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.SourcePath.Add('src');
  31. P.IncludePath.Add('src');
  32. T:=P.Targets.AddUnit('system.netencoding.pp');
  33. T.ResourceStrings := True;
  34. {$ifndef ALLPACKAGES}
  35. Run;
  36. end;
  37. end.
  38. {$endif ALLPACKAGES}