blob: a56bc804fb8e8a3feb9314fc6d83a5468a841984 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
{$endif not ALLPACKAGES}
procedure add_dblib(const ADirectory: string);
Const
DBLibOSes = [linux,freebsd,netbsd,openbsd,solaris,win32,win64,haiku,android,dragonfly];
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
P:=AddPackage('dblib');
P.Directory:=ADirectory;
P.Version:='3.0.0';
P.Author := 'Library: (FreeTDS/Microsoft), header: Ladislav Karrach';
P.License := 'Library: FreeTDS License, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Headers for the MS SQL Server RDBMS';
P.NeedLibC:= true; // true for headers that indirectly link to libc?
P.SourcePath.Add('src');
P.IncludePath.Add('src');
T:=P.Targets.AddUnit('dblib.pp',DBLibOSes);
end;
end;
{$ifndef ALLPACKAGES}
begin
add_dblib('');
Installer.Run;
end.
{$endif ALLPACKAGES}
|