mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 20:51:32 +02:00
33 lines
547 B
ObjectPascal
33 lines
547 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('openssl');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='openssl';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
// P.Dependencies.Add('x11');
|
|
|
|
T:=P.Targets.AddUnit('openssl.pas');
|
|
|
|
P.ExamplePath.Add('examples');
|
|
P.Targets.AddExampleProgram('test1.pas');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|