{$ifndef ALLPACKAGES} {$mode objfpc}{$H+} program fpmake; uses {$ifdef unix}cthreads,{$endif} fpmkunit; Var P : TPackage; T : TTarget; begin With Installer do begin {$endif ALLPACKAGES} P:=AddPackage('proj4'); P.ShortName := 'prj4'; {$ifdef ALLPACKAGES} P.Directory:=ADirectory; {$endif ALLPACKAGES} P.Version:='3.3.1'; P.SourcePath.Add('src'); P.IncludePath.Add('src'); P.OSes := [linux]; T:=P.Targets.AddUnit('proj.pas'); with T.Dependencies do begin end; // 'Makefile // 'Makefile.fpc // 'test1.xml // 'test2.xml P.NamespaceMap:='namespaces.lst'; {$ifndef ALLPACKAGES} Run; end; end. {$endif ALLPACKAGES}