fpmake.pp 1022 B

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('qlunits');
  13. P.ShortName := 'qlun';
  14. P.Author := 'FPC core team';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Description := 'qlunits, OS interface and utility units for the Sinclair QL';
  18. {$ifdef ALLPACKAGES}
  19. P.Directory:=ADirectory;
  20. {$endif ALLPACKAGES}
  21. P.Version:='3.3.1';
  22. P.SourcePath.Add('src');
  23. P.IncludePath.Add('src');
  24. P.OSes:=[sinclairql];
  25. T:=P.Targets.AddUnit('qdos.pas');
  26. T:=P.Targets.AddUnit('qlfloat.pas');
  27. T:=P.Targets.AddUnit('qlutil.pas');
  28. T:=P.Targets.AddUnit('sms.pas');
  29. P.ExamplePath.Add('examples');
  30. T:=P.Targets.AddExampleProgram('qlcube.pas');
  31. T:=P.Targets.AddExampleProgram('mtinf.pas');
  32. T:=P.Targets.AddExampleProgram('sms_info.pas');
  33. {$ifndef ALLPACKAGES}
  34. Run;
  35. end;
  36. end.
  37. {$endif ALLPACKAGES}