fpmake.pp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} 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.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.Dependencies.Add('rtl-objpas');
  31. P.Dependencies.Add('rtl-generics');
  32. P.Dependencies.Add('fcl-json');
  33. P.SourcePath.Add('src');
  34. P.IncludePath.Add('src');
  35. T:=P.Targets.AddUnit('system.permissions.pp');
  36. T:=P.Targets.AddUnit('system.messaging.pp');
  37. T:=P.Targets.AddUnit('system.netencoding.pp');
  38. T.ResourceStrings := True;
  39. T:=P.Targets.AddUnit('system.ioutils.pp');
  40. T.ResourceStrings := True;
  41. T:=P.Targets.AddUnit('system.devices.pp');
  42. T:=P.Targets.AddUnit('system.analytics.pp');
  43. T:=P.Targets.AddUnit('system.ansistrings.pp');
  44. T:=P.Targets.AddUnit('system.imagelist.pp');
  45. T:=P.Targets.AddUnit('system.diagnostics.pp');
  46. T:=P.Targets.AddUnit('system.notification.pp');
  47. T.Dependencies.AddUnit('system.messaging');
  48. T:=P.Targets.AddUnit('system.pushnotifications.pp');
  49. T.Dependencies.AddUnit('system.messaging');
  50. T:=P.Targets.AddUnit('system.json.pp');
  51. T.ResourceStrings := True;
  52. {$ifndef ALLPACKAGES}
  53. Run;
  54. end;
  55. end.
  56. {$endif ALLPACKAGES}