mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 06:29:25 +02:00

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 -
57 lines
1.7 KiB
ObjectPascal
57 lines
1.7 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('hash');
|
|
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
|
|
P.Author := 'Free Pascal development team, Mark Adler, Jacques Nomssi Nzali, Silvio Clecio';
|
|
P.License := 'LGPL with modification, ';
|
|
P.HomepageURL := 'www.freepascal.org';
|
|
P.Email := '';
|
|
P.Description := 'Several hash and cryptography algorithms (MD5,CRC,Linux crypt and NTLM1).';
|
|
P.NeedLibC:= false;
|
|
P.OSes:=P.OSes-[embedded,win16,macosclassic,palmos];
|
|
if Defaults.CPU=jvm then
|
|
P.OSes := P.OSes - [java,android];
|
|
|
|
P.Dependencies.Add('rtl-objpas');
|
|
|
|
P.Version:='3.2.3';
|
|
T:=P.Targets.AddUnit('src/md5.pp');
|
|
T.Dependencies.AddInclude('src/md5i386.inc', [i386], AllOSes-[darwin]);
|
|
T:=P.Targets.AddUnit('src/sha1.pp');
|
|
T.Dependencies.AddInclude('src/sha1i386.inc', [i386], AllOSes-[darwin]);
|
|
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/hmac.pp');
|
|
T:=P.Targets.AddUnit('src/unixcrypt.pas');
|
|
|
|
T.OSes:=[Linux];
|
|
T:=P.Targets.AddExampleunit('examples/mdtest.pas');
|
|
T:=P.Targets.AddExampleunit('examples/crctest.pas');
|
|
T:=P.Targets.AddExampleunit('examples/sha1test.pp');
|
|
T:=P.Targets.AddExampleunit('examples/hmd5.pp');
|
|
T:=P.Targets.AddExampleunit('examples/hsha1.pp');
|
|
T:=P.Targets.AddExampleunit('examples/md5performancetest.pas');
|
|
T:=P.Targets.AddExampleunit('examples/sha1performancetest.pas');
|
|
// md5.ref
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|