mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:19:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 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:='hash';
 | 
						|
{$endif ALLPACKAGES}
 | 
						|
 | 
						|
    P.Author := 'Free Pascal development team, Mark Adler, Jacques Nomssi Nzali';
 | 
						|
    P.License := 'LGPL with modification, ';
 | 
						|
    P.HomepageURL := 'www.freepascal.org';
 | 
						|
    P.Email := '';
 | 
						|
    P.Description := 'Several hash algorithms (MD5,CRC,Linux crypt and NTLM1).';
 | 
						|
    P.NeedLibC:= false;
 | 
						|
 | 
						|
    P.Version:='2.7.1';
 | 
						|
    T:=P.Targets.AddUnit('src/md5.pp');
 | 
						|
    T:=P.Targets.AddUnit('src/sha1.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');
 | 
						|
    T:=P.Targets.AddExampleunit('examples/crctest.pas');
 | 
						|
    T:=P.Targets.AddExampleunit('examples/sha1test.pp');
 | 
						|
    // md5.ref
 | 
						|
{$ifndef ALLPACKAGES}
 | 
						|
    Run;
 | 
						|
    end;
 | 
						|
end.
 | 
						|
{$endif ALLPACKAGES}
 |