fpmake.pp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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('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. T:=P.Targets.AddUnit('qsound.pas');
  30. P.ExamplePath.Add('examples');
  31. T:=P.Targets.AddExampleProgram('qlcube.pas');
  32. T:=P.Targets.AddExampleProgram('mtinf.pas');
  33. T:=P.Targets.AddExampleProgram('sms_info.pas');
  34. P.ExamplePath.Add('tests');
  35. T:=P.Targets.AddExampleProgram('tsysvars.pas');
  36. T:=P.Targets.AddExampleProgram('trecsize.pas');
  37. P.NamespaceMap:='namespaces.lst';
  38. {$ifndef ALLPACKAGES}
  39. Run;
  40. end;
  41. end.
  42. {$endif ALLPACKAGES}