fpmake.pp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('tplylib');
  13. P.ShortName:='tpll';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.2.4-rc1';
  18. { java and jvm-android do not support
  19. fpc_get_output used in these sources }
  20. if Defaults.CPU=jvm then
  21. P.OSes := P.OSes - [java,android];
  22. { palmos does not support command line parameters }
  23. P.OSes := P.OSes - [palmos];
  24. { Program does not fit in 16-bit memory constraints }
  25. P.OSes := P.OSes - [msdos,win16];
  26. { avr-embedded and i8086-embedded do not meet needed requirements }
  27. if Defaults.CPU in [avr,i8086] then
  28. P.OSes := P.OSes - [embedded];
  29. P.Author := '<various>';
  30. P.License := 'LGPL with modification';
  31. P.HomepageURL := 'www.freepascal.org';
  32. P.Email := '';
  33. P.Description := 'Library units for a compiler generator for Turbo Pascal and compatibles.';
  34. P.NeedLibC:= false;
  35. P.SourcePath.Add('src');
  36. P.IncludePath.Add('src');
  37. P.Options.Add('-Sg');
  38. P.Targets.AddUnit('lexlib.pas');
  39. P.Targets.AddUnit('yacclib.pas');
  40. {$ifndef ALLPACKAGES}
  41. Run;
  42. end;
  43. end.
  44. {$endif ALLPACKAGES}