fpmake.pp 879 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('svgalib');
  13. P.ShortName := 'svga';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.OSes := [beos,haiku,linux,freebsd,solaris,netbsd,openbsd,dragonfly];
  19. P.SourcePath.Add('src');
  20. T:=P.Targets.AddUnit('svgalib.pp');
  21. T:=P.Targets.AddUnit('vgamouse.pp');
  22. P.Sources.AddSrc('README.txt');
  23. P.ExamplePath.Add('examples');
  24. P.Targets.AddExampleProgram('testvga.pp');
  25. P.Targets.AddExampleProgram('vgatest.pp');
  26. P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  27. P.NamespaceMap:='namespaces.lst';
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}