123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- {$ifndef ALLPACKAGES}
- {$mode objfpc}{$H+}
- program fpmake;
- uses fpmkunit;
- Var
- P : TPackage;
- T : TTarget;
- begin
- With Installer do
- begin
- {$endif ALLPACKAGES}
- P:=AddPackage('users');
- {$ifdef ALLPACKAGES}
- P.Directory:='users';
- {$endif ALLPACKAGES}
- P.Version:='2.2.2-0';
- P.Author := 'Michael van Canneyt, Marco van de Voort';
- P.License := 'LGPL with modification, ';
- P.HomepageURL := 'www.freepascal.org';
- 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}
|