/packages/utmp/fpmake.pp

https://github.com/slibre/freepascal · Puppet · 32 lines · 26 code · 6 blank · 0 comment · 0 complexity · a2bee509fde877f442d14551a0e54b7d MD5 · raw file

  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('utmp');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='utmp';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.SourcePath.Add('src');
  18. P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux];
  19. T:=P.Targets.AddUnit('utmp.pp');
  20. P.ExamplePath.Add('examples');
  21. P.Targets.AddExampleProgram('testutmp.pp');
  22. {$ifndef ALLPACKAGES}
  23. Run;
  24. end;
  25. end.
  26. {$endif ALLPACKAGES}