fpmake.pp 866 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('openssl');
  13. P.ShortName:='ossl';
  14. P.Description := 'Interface units for OpenSSL libraries supporting SSL-encrypted network communication.';
  15. {$ifdef ALLPACKAGES}
  16. P.Directory:=ADirectory;
  17. {$endif ALLPACKAGES}
  18. P.Version:='3.3.1';
  19. P.SourcePath.Add('src');
  20. P.OSes := AllUnixOSes+AllWindowsOSes+[OS2,EMX]-[qnx];
  21. if Defaults.CPU=jvm then
  22. P.OSes := P.OSes - [java,android];
  23. P.Dependencies.Add('rtl-extra',[OS2,EMX]);
  24. T:=P.Targets.AddUnit('openssl.pas');
  25. T:=P.Targets.AddUnit('fpopenssl.pp');
  26. P.ExamplePath.Add('examples');
  27. P.Targets.AddExampleProgram('test1.pas');
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}