summaryrefslogtreecommitdiff
path: root/packages/os2units/fpmake.pp
blob: 85c0979be7fe373a832095a1529fcb36b13cffe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;

Var
  P : TPackage;
begin
  With Installer do
    begin
{$endif ALLPACKAGES}

    P:=AddPackage('os2units');
    P.ShortName:='os2';
    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.).';
{$ifdef ALLPACKAGES}
    P.Directory:=ADirectory;
{$endif ALLPACKAGES}
    P.Version:='3.2.0-beta';
    P.OSes := [OS2,emx];
    P.SourcePath.Add('src');
//    P.Dependencies.Add('x11');
   // P.Targets.AddUnit('buildall.pas',[OS2]);
    P.Targets.AddUnit('clkdll.pas');
    P.Targets.AddUnit('dive.pas');
    P.Targets.AddUnit('ftpapi.pas');
    P.Targets.AddUnit('hwvideo.pas');
    P.Targets.AddUnit('lvm.pas');
    P.Targets.AddUnit('mciapi.pas');
    P.Targets.AddUnit('mcidrv.pas');
    P.Targets.AddUnit('mci.pas');
    P.Targets.AddUnit('mmbase.pas');
    P.Targets.AddUnit('mmio.pas');
//    P.Targets.AddUnit('som.pas');
    P.Targets.AddUnit('sw.pas');
//    P.Targets.AddUnit('wpstk.pp');

    P.Sources.AddSrc('readme.txt');

   // not compilable defunct for now

    P.ExamplePath.Add('examples');
    P.Targets.AddExampleProgram('mciapi1.pas');
    P.Targets.AddExampleProgram('mciapi2.pas');
    P.Targets.AddExampleProgram('clktest.pas');
    P.Targets.AddExampleProgram('ftptest.pas');
    P.Targets.AddExampleProgram('lvmtest.pas');
    P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');

{$ifndef ALLPACKAGES}
    Run;
    end;
end.
{$endif ALLPACKAGES}