mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 07:19:35 +02:00

* Added a fpmake.pp in the root, to compile the utils and packages in one go git-svn-id: trunk@24783 -
39 lines
673 B
ObjectPascal
39 lines
673 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses fpmkunit;
|
|
|
|
Var
|
|
P : TPackage;
|
|
T : TTarget;
|
|
|
|
begin
|
|
With Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
P:=AddPackage('jni');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
|
|
P.Version:='2.7.1';
|
|
P.OSes := [win32,win64,linux,android];
|
|
|
|
P.Author := 'FreePascal development team';
|
|
P.License := 'LGPL with modification, ';
|
|
P.HomepageURL := 'www.freepascal.org';
|
|
|
|
P.SourcePath.Add('src');
|
|
P.SupportBuildModes := [bmOneByOne];
|
|
|
|
P.Options.Add('-Ur');
|
|
|
|
T:=P.Targets.AddUnit('jni.pas');
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|