mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 04:58:00 +02:00
59 lines
1.6 KiB
ObjectPascal
59 lines
1.6 KiB
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses {$ifdef unix}cthreads,{$endif} 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.3.1';
|
|
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,'.');
|
|
|
|
|
|
P.NamespaceMap:='namespaces.lst';
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|