fpmake.pp 1.2 KB

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