fpmake.pp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. begin
  8. With Installer do
  9. begin
  10. {$endif ALLPACKAGES}
  11. P:=AddPackage('os2units');
  12. P.ShortName:='os2';
  13. P.Description := 'Interface units for various libraries included with OS/2 and/or eComStation (multimedia, direct graphics I/O, management of disk partitions / volumes, simple FTP communication library, etc.).';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.OSes := [OS2,emx];
  19. P.SourcePath.Add('src');
  20. // P.Dependencies.Add('x11');
  21. // P.Targets.AddUnit('buildall.pas',[OS2]);
  22. P.Targets.AddUnit('clkdll.pas');
  23. P.Targets.AddUnit('dive.pas');
  24. P.Targets.AddUnit('ftpapi.pas');
  25. P.Targets.AddUnit('hwvideo.pas');
  26. P.Targets.AddUnit('lvm.pas');
  27. P.Targets.AddUnit('mciapi.pas');
  28. P.Targets.AddUnit('mcidrv.pas');
  29. P.Targets.AddUnit('mci.pas');
  30. P.Targets.AddUnit('mmbase.pas');
  31. P.Targets.AddUnit('mmio.pas');
  32. // P.Targets.AddUnit('som.pas');
  33. P.Targets.AddUnit('sw.pas');
  34. // P.Targets.AddUnit('wpstk.pp');
  35. P.Sources.AddSrc('readme.txt');
  36. // not compilable defunct for now
  37. P.ExamplePath.Add('examples');
  38. P.Targets.AddExampleProgram('mciapi1.pas');
  39. P.Targets.AddExampleProgram('mciapi2.pas');
  40. P.Targets.AddExampleProgram('clktest.pas');
  41. P.Targets.AddExampleProgram('ftptest.pas');
  42. P.Targets.AddExampleProgram('lvmtest.pas');
  43. P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  44. {$ifndef ALLPACKAGES}
  45. Run;
  46. end;
  47. end.
  48. {$endif ALLPACKAGES}