fpmake.pp 678 B

1234567891011121314151617181920212223242526272829303132333435363738
  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('openal');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='openal';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.SourcePath.Add('src');
  18. P.IncludePath.Add('src');
  19. T:=P.Targets.AddUnit('openal.pas');
  20. with T.Dependencies do
  21. begin
  22. AddInclude('alh.inc');
  23. AddInclude('alch.inc');
  24. AddInclude('alexth.inc');
  25. end;
  26. P.ExamplePath.Add('examples');
  27. P.Targets.AddExampleProgram('madopenal.pas');
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}