mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 19:27:16 +01:00
30 lines
503 B
ObjectPascal
30 lines
503 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('libpng');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='libpng';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.7.1';
|
|
P.Dependencies.Add('zlib');
|
|
P.SourcePath.Add('src');
|
|
P.OSes := AllUnixOSes-[qnx]+[win32,os2,emx];
|
|
|
|
T:=P.Targets.AddUnit('png.pp');
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|