fpmake.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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('dblib');
  13. P.ShortName := 'dblb';
  14. P.Directory:=ADirectory;
  15. P.Version:='3.3.1';
  16. P.Author := 'Library: (FreeTDS/Microsoft), header: Ladislav Karrach';
  17. P.License := 'Library: FreeTDS License, header: LGPL with modification, ';
  18. P.HomepageURL := 'www.freepascal.org';
  19. P.Email := '';
  20. P.Description := 'Headers for the MS SQL Server RDBMS';
  21. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  22. P.SourcePath.Add('src');
  23. P.IncludePath.Add('src');
  24. P.OSes := [linux,freebsd,netbsd,openbsd,solaris,win32,win64,haiku,android,dragonfly,beos];
  25. if Defaults.CPU=jvm then
  26. P.OSes := P.OSes - [android];
  27. T:=P.Targets.AddUnit('dblib.pp',P.OSes);
  28. P.NamespaceMap:='namespaces.lst';
  29. {$ifndef ALLPACKAGES}
  30. Run;
  31. end;
  32. end.
  33. {$endif ALLPACKAGES}