fpc/packages/users/fpmake.pp
marco 74aff88586 --- Merging r49045 into '.':
C    Makefile
C    Makefile.fpc
--- Recording mergeinfo for merge of r49045 into '.':
 U   .
Summary of conflicts:
  Text conflicts: 2

# revisions: 49045
r49045 | jonas | 2021-03-24 15:33:09 +0100 (Wed, 24 Mar 2021) | 1 line
Changed paths:
   M /trunk/Makefile
   M /trunk/Makefile.fpc

  * support building with FPC 3.2.2

git-svn-id: branches/fixes_3_2@49384 -
2021-05-20 20:03:52 +00:00

54 lines
1.2 KiB
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('users');
P.ShortName := 'user';
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.2.3';
P.Author := 'Michael van Canneyt, Marco van de Voort';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.OSes := [freebsd,linux];
P.Email := '';
P.Description := 'Headers to access Unix groups and users.';
P.NeedLibC:= false;
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('crypth.pp',[linux]);
T:=P.Targets.AddUnit('grp.pp');
T:=P.Targets.AddUnit('pwd.pp');
T:=P.Targets.AddUnit('shadow.pp',[linux]);
T:=P.Targets.AddUnit('users.pp');
with T.Dependencies do
begin
AddUnit('pwd');
AddUnit('shadow',[linux]);
AddUnit('grp');
end;
T.ResourceStrings := true;
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testpass.pp');
P.Targets.AddExampleProgram('testpass2.pp');
P.Targets.AddExampleProgram('testuser.pp');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}