fpmake.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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('libsee');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='libsee';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.5.1';
  17. P.Author := 'David Leonard';
  18. P.License := 'BSD style';
  19. P.HomepageURL := 'http://www.adaptive-enterprises.com.au/~d/software/see/';
  20. P.Email := '[email protected]';
  21. P.Description := 'Headers for the libSEE library (javascript engine)';
  22. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  23. P.SourcePath.Add('src');
  24. P.IncludePath.Add('src');
  25. T:=P.Targets.AddUnit('libsee.pas');
  26. P.ExamplePath.Add('examples');
  27. P.Targets.AddExampleUnit('mod_stream.pp');
  28. P.Targets.AddExampleProgram('tlibsee.pp');
  29. P.Targets.AddExampleProgram('testwrite.pp');
  30. P.Targets.AddExampleProgram('teststream.pp');
  31. {$ifndef ALLPACKAGES}
  32. Run;
  33. end;
  34. end.
  35. {$endif ALLPACKAGES}