fpmake.pp 885 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Const
  6. DBLibOSes = [linux,freebsd,netbsd,openbsd,win32,win64,haiku];
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. {$endif ALLPACKAGES}
  14. P:=AddPackage('dblib');
  15. {$ifdef ALLPACKAGES}
  16. P.Directory:='dblib';
  17. {$endif ALLPACKAGES}
  18. P.Version:='2.6.3';
  19. P.Author := 'Library: (FreeTDS/Microsoft), header: Lacack2';
  20. P.License := 'Library: FreeTDS License, header: LGPL with modification, ';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'Headers for the MS SQL Server RDBMS';
  24. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  25. P.SourcePath.Add('src');
  26. P.IncludePath.Add('src');
  27. T:=P.Targets.AddUnit('dblib.pp',DBLibOSes);
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}