fpmake.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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('ami-extra');
  13. P.Author := 'FPC core team';
  14. P.License := 'LGPL with modification';
  15. P.HomepageURL := 'www.freepascal.org';
  16. P.Description := 'ami-extra, additional units for Amiga-like systems';
  17. P.Dependencies.Add('morphunits',[morphos]);
  18. P.Dependencies.Add('arosunits',[aros]);
  19. if Defaults.CPU=m68k then
  20. P.Dependencies.Add('amunits',[amiga]);
  21. if Defaults.CPU=powerpc then
  22. P.Dependencies.Add('os4units',[amiga]);
  23. {$ifdef ALLPACKAGES}
  24. P.Directory:=ADirectory;
  25. {$endif ALLPACKAGES}
  26. P.Version:='3.2.2rc1';
  27. P.SourcePath.Add('src');
  28. P.OSes:=AllAmigaLikeOSes;
  29. T:=P.Targets.AddUnit('amsgbox.pas');
  30. T:=P.Targets.AddUnit('cliputils.pas');
  31. T:=P.Targets.AddUnit('pcq.pas');
  32. T:=P.Targets.AddUnit('muihelper.pas');
  33. P.ExamplePath.Add('examples');
  34. T:=P.Targets.AddExampleProgram('muihelloworld.pas');
  35. {$ifndef ALLPACKAGES}
  36. Run;
  37. end;
  38. end.
  39. {$endif ALLPACKAGES}