fpmake.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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('h68units');
  13. P.ShortName := 'h68';
  14. P.Author := 'FPC core team';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Description := 'h68units, OS interface units for Human 68k/Sharp X68000';
  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:=[human68k];
  25. T:=P.Targets.AddUnit('h68kdos.pas');
  26. with T.Dependencies do
  27. begin
  28. AddInclude('h68kdos.inc');
  29. end;
  30. T:=P.Targets.AddUnit('h68kiocs.pas');
  31. T:=P.Targets.AddUnit('h68kutil.pas');
  32. P.ExamplePath.Add('examples');
  33. T:=P.Targets.AddExampleProgram('gradient.pas');
  34. P.Sources.AddDoc('README.md');
  35. {$ifndef ALLPACKAGES}
  36. Run;
  37. end;
  38. end.
  39. {$endif ALLPACKAGES}