mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 09:49:28 +01:00
32 lines
512 B
ObjectPascal
32 lines
512 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('syslog');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='syslog';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
|
|
T:=P.Targets.AddUnit('systemlog.pp');
|
|
|
|
P.ExamplePath.Add('tests/');
|
|
P.Targets.AddExampleProgram('testlog.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|