fpc/packages/bzip2/fpmake.pp
svenbarth 90db273224 + added target NativeNT to supported OSes in fpmkunit
* modified fpmake files in packages to allow a "make all" for NativeNT in packages to work (nearly all packages need to be disabled; the main cause for this are the still missing DOS and Objects units for the target)

git-svn-id: trunk@21319 -
2012-05-18 07:17:02 +00:00

58 lines
1.3 KiB
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('bzip2');
{$ifdef ALLPACKAGES}
P.Directory:='bzip2';
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.Version:='2.7.1';
P.Author := 'Library: Julian R. Seward, header: Daniel Mantione';
// 3 clause becaue "prominent notice" is not required.
P.License := 'Library: 3 clause BSD, header: 3 clause BSD ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'BZip2 decompression unit.';
P.NeedLibC:= true;
P.OSes := P.OSes - [nativent];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
T:=P.Targets.AddUnit('bzip2comn.pp');
T:=P.Targets.AddUnit('bzip2.pas');
with T.Dependencies do
begin
AddInclude('bzip2i386.inc',[i386],AllOSes);
AddUnit('bzip2comn');
end;
T:=P.Targets.AddUnit('bzip2stream.pp');
with T.Dependencies do
begin
AddInclude('bzip2si386.inc',[i386],AllOSes);
AddUnit('bzip2comn');
end;
T.ResourceStrings := true;
P.ExamplePath.Add('examples');
T:=P.Targets.AddExampleProgram('pasbzip.pas');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}