mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 08:33:43 +02:00
36 lines
614 B
ObjectPascal
36 lines
614 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('xforms');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='xforms';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.0.0';
|
|
P.SourcePath.Add('src');
|
|
// P.Dependencies.Add('x11');
|
|
|
|
T:=P.Targets.AddUnit('xforms.pp');
|
|
with T.Dependencies do
|
|
begin
|
|
AddInclude('cursorfont.inc');
|
|
AddUnit('xlib');
|
|
AddUnit('xresource');
|
|
end;
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|