{$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:='3.3.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}