fpmake.pp 594 B

123456789101112131415161718192021222324252627282930313233
  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. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.SourcePath.Add('src');
  18. P.OSes := AllUnixOSes+AllWindowsOSes-[qnx];
  19. // P.Dependencies.Add('x11');
  20. T:=P.Targets.AddUnit('openssl.pas');
  21. P.ExamplePath.Add('examples');
  22. P.Targets.AddExampleProgram('test1.pas');
  23. {$ifndef ALLPACKAGES}
  24. Run;
  25. end;
  26. end.
  27. {$endif ALLPACKAGES}