fpmake.pp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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('tosunits');
  13. P.ShortName := 'tos';
  14. P.Author := 'FPC core team';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Description := 'tosunits, OS interface units for Atari TOS/GEM';
  18. {$ifdef ALLPACKAGES}
  19. P.Directory:=ADirectory;
  20. {$endif ALLPACKAGES}
  21. P.Version:='3.3.1';
  22. P.SourcePath.Add('src');
  23. P.OSes:=[atari];
  24. T:=P.Targets.AddUnit('gemdos.pas');
  25. T:=P.Targets.AddUnit('xbios.pas');
  26. T:=P.Targets.AddUnit('bios.pas');
  27. T:=P.Targets.AddUnit('tos.pas');
  28. T:=P.Targets.AddUnit('vdi.pas');
  29. T:=P.Targets.AddUnit('aes.pas');
  30. T:=P.Targets.AddUnit('gem.pas');
  31. T:=P.Targets.AddUnit('gemcmmn.pas');
  32. T:=P.Targets.AddUnit('nf_ops.pas');
  33. T:=P.Targets.AddUnit('metados.pas');
  34. P.ExamplePath.Add('examples');
  35. T:=P.Targets.AddExampleProgram('higem.pas');
  36. T:=P.Targets.AddExampleProgram('gemwin.pas');
  37. T:=P.Targets.AddExampleProgram('gemcube.pas');
  38. T:=P.Targets.AddExampleProgram('showpic.pas');
  39. P.Sources.AddDoc('README.txt');
  40. P.NamespaceMap:='namespaces.lst';
  41. {$ifndef ALLPACKAGES}
  42. Run;
  43. end;
  44. end.
  45. {$endif ALLPACKAGES}