fpmake.pp 1.1 KB

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