PageRenderTime 26ms CodeModel.GetById 23ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/utmp/fpmake.pp

https://github.com/slibre/freepascal
Puppet | 32 lines | 26 code | 6 blank | 0 comment | 0 complexity | a2bee509fde877f442d14551a0e54b7d MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1{$ifndef ALLPACKAGES}
 2{$mode objfpc}{$H+}
 3program fpmake;
 4
 5uses fpmkunit;
 6
 7Var
 8  P : TPackage;
 9  T : TTarget;
10begin
11  With Installer do
12    begin
13{$endif ALLPACKAGES}
14
15    P:=AddPackage('utmp');
16{$ifdef ALLPACKAGES}
17    P.Directory:='utmp';
18{$endif ALLPACKAGES}
19    P.Version:='2.7.1';
20    P.SourcePath.Add('src');
21    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux];
22
23    T:=P.Targets.AddUnit('utmp.pp');
24
25    P.ExamplePath.Add('examples');
26    P.Targets.AddExampleProgram('testutmp.pp');
27
28{$ifndef ALLPACKAGES}
29    Run;
30    end;
31end.
32{$endif ALLPACKAGES}