fpmake.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('fcl-sound');
  13. P.ShortName:='fsnd';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.1.1';
  18. P.Dependencies.Add('fcl-base');
  19. P.Author := 'Abou Al Montacir of the Free Pascal development team';
  20. P.License := 'LGPL with modification, ';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'Sound loading, storing and conversion parts for the Free Component Libraries (FCL), FPC''s OOP library.';
  24. P.NeedLibC:= false;
  25. P.OSes:=AllOSes-[embedded,msdos];
  26. P.SourcePath.Add('src');
  27. T:=P.Targets.AddUnit('fpwavformat.pas');
  28. T:=P.Targets.AddUnit('fpwavreader.pas');
  29. with T.Dependencies do
  30. begin
  31. AddUnit('fpwavformat');
  32. end;
  33. T:=P.Targets.AddUnit('fpwavwriter.pas');
  34. with T.Dependencies do
  35. begin
  36. AddUnit('fpwavformat');
  37. end;
  38. {$ifndef ALLPACKAGES}
  39. Run;
  40. end;
  41. end.
  42. {$endif ALLPACKAGES}