mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:49:25 +02:00

C Makefile C Makefile.fpc --- Recording mergeinfo for merge of r49045 into '.': U . Summary of conflicts: Text conflicts: 2 # revisions: 49045 r49045 | jonas | 2021-03-24 15:33:09 +0100 (Wed, 24 Mar 2021) | 1 line Changed paths: M /trunk/Makefile M /trunk/Makefile.fpc * support building with FPC 3.2.2 git-svn-id: branches/fixes_3_2@49384 -
57 lines
1.4 KiB
ObjectPascal
57 lines
1.4 KiB
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
program fpmake;
|
|
|
|
{$mode objfpc}{$h+}
|
|
|
|
uses fpmkunit;
|
|
{$endif}
|
|
|
|
Procedure Add_OData(ADirectory : string);
|
|
|
|
function StdDep(T : TTarget) : TTarget;
|
|
begin
|
|
T.Dependencies.AddUnit('odatabase');
|
|
T.Dependencies.AddUnit('odataservice');
|
|
Result:=T;
|
|
end;
|
|
|
|
Var
|
|
P : TPackage;
|
|
T : TTarget;
|
|
|
|
begin
|
|
With Installer do
|
|
begin
|
|
P:=AddPackage('odata');
|
|
P.ShortName:='odat';
|
|
P.Author := 'Michael Van Canneyt';
|
|
P.License := 'LGPL with modification, ';
|
|
P.HomepageURL := 'www.freepascal.org';
|
|
P.Email := '';
|
|
P.Description := 'OData client base libraries, Microsoft Office365 clients';
|
|
P.NeedLibC:= false;
|
|
P.OSes := [beos,haiku,freebsd,darwin,iphonesim,ios,solaris,netbsd,openbsd,linux,win32,win64,wince,aix,amiga,aros,morphos,dragonfly];
|
|
P.Directory:=ADirectory;
|
|
P.Version:='3.2.3';
|
|
P.Dependencies.Add('fcl-base');
|
|
P.Dependencies.Add('rtl-extra');
|
|
P.Dependencies.Add('rtl-objpas');
|
|
P.Dependencies.Add('fcl-json');
|
|
P.Dependencies.Add('fcl-web');
|
|
P.SourcePath.Add('src');
|
|
T:=P.Targets.AddUnit('odatabase.pp');
|
|
T:=P.Targets.AddUnit('odataservice.pp');
|
|
T.Dependencies.AddUnit('odatabase');
|
|
T:=StdDep(P.Targets.AddUnit('msgraph.pp'));
|
|
T:=StdDep(P.Targets.AddUnit('sharepoint.pp'));
|
|
T:=P.Targets.AddUnit('office365client.pp');
|
|
end;
|
|
end;
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
begin
|
|
Add_OData('');
|
|
Installer.Run;
|
|
end.
|
|
{$endif ALLPACKAGES}
|