mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-03 07:46:05 +01:00
33 lines
644 B
ObjectPascal
33 lines
644 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('hash');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='hash';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.0.0';
|
|
T:=P.Targets.AddUnit('src/md5.pp');
|
|
T:=P.Targets.AddUnit('src/crc.pas');
|
|
T:=P.Targets.AddUnit('src/ntlm.pas');
|
|
T:=P.Targets.AddUnit('src/uuid.pas');
|
|
T:=P.Targets.AddUnit('src/unixcrypt.pas');
|
|
T.OSes:=[Linux];
|
|
T:=P.Targets.AddExampleunit('examples/mdtest.pas');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|