+ 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 -
This commit is contained in:
svenbarth 2012-05-18 07:17:02 +00:00
parent 19053de279
commit 90db273224
12 changed files with 15 additions and 5 deletions

View File

@ -26,6 +26,7 @@ begin
P.Email := '';
P.Description := 'BZip2 decompression unit.';
P.NeedLibC:= true;
P.OSes := P.OSes - [nativent];
P.SourcePath.Add('src');
P.IncludePath.Add('src');

View File

@ -25,6 +25,7 @@ begin
P.Email := '';
P.Description := 'Standalone CHM reader and writer library';
P.NeedLibC:= false;
P.OSes := P.OSes - [nativent];
D:=P.Dependencies.Add('fcl-xml');
D:=P.Dependencies.Add('fcl-base');

View File

@ -86,7 +86,7 @@ begin
T.ResourceStrings:=true;
T:=P.Targets.AddUnit('fptemplate.pp');
T.ResourceStrings:=true;
T:=P.Targets.AddUnit('syncobjs.pp',AllOSes-[GO32v2,OS2,EMX]);
T:=P.Targets.AddUnit('syncobjs.pp',AllOSes-[GO32v2,OS2,EMX,nativent]);
T:=P.Targets.AddUnit('uriparser.pp');
T:=P.Targets.AddUnit('wformat.pp');
T:=P.Targets.AddUnit('whtml.pp');

View File

@ -28,6 +28,7 @@ begin
P.Email := '';
P.Description := 'Unit testing system inspired by JUnit of Free Component Libraries (FCL), FPC''s OOP library.';
P.NeedLibC:= false;
P.OSes := P.OSes - [nativent];
P.SourcePath.Add('src');
P.IncludePath.Add('src');

View File

@ -27,6 +27,7 @@ begin
P.Email := '';
P.Description := 'Image loading and conversion parts of Free Component Libraries (FCL), FPC''s OOP library.';
P.NeedLibC:= false;
P.OSes := P.OSes - [nativent];
P.SourcePath.Add('src');
P.IncludePath.Add('src');

View File

@ -24,6 +24,7 @@ begin
P.Email := '';
P.Description := 'Basic library of the fpmake/fppkg build system.';
P.NeedLibC:= false; // true for headers that indirectly link to libc?
P.OSes := P.OSes - [nativent];
// All dependencies (including implicit) are listed
// here to be able to update all requirements to

View File

@ -84,7 +84,7 @@ Type
amiga,atari, solaris, qnx, netware, openbsd,wdosx,
palmos,macos,darwin,emx,watcom,morphos,netwlibc,
win64,wince,gba,nds,embedded,symbian,haiku,iphonesim,
aix,java,android
aix,java,android,nativent
);
TOSes = Set of TOS;
@ -141,7 +141,7 @@ Const
AllLimit83fsOses= [go32v2,os2,emx,watcom];
AllSmartLinkLibraryOSes = [Linux]; // OSes that use .a library files for smart-linking
AllImportLibraryOSes = AllWindowsOSes + [os2,emx,netwlibc,netware,watcom,go32v2,macos];
AllImportLibraryOSes = AllWindowsOSes + [os2,emx,netwlibc,netware,watcom,go32v2,macos,nativent];
{ This table is kept OS,Cpu because it is easier to maintain (PFV) }
OSCPUSupported : array[TOS,TCpu] of boolean = (
@ -178,7 +178,8 @@ Const
{ iphonesim}( false, true, false, false, false, false, false, false, false, false, false, false, false),
{ aix } ( false, false, false, true, false, false, false, true, false, false, false, false, false),
{ java } ( false, false, false, false, false, false, false, false, false, false, false, false, true ),
{ android } ( false, false, false, false, false, false, false, false, false, false, false, false, true )
{ android } ( false, false, false, false, false, false, false, false, false, false, false, false, true ),
{ nativent }( false, true, false, false, false, false, false, false, false, false, false, false, false)
);
// Useful

View File

@ -45,6 +45,7 @@ begin
P.Email := '';
P.Description := 'Libraries to create fppkg package managers.';
P.NeedLibC:= false;
P.OSes := P.OSes - [nativent];
P.SourcePath.Add('src');

View File

@ -18,6 +18,7 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.SourcePath.Add('src');
P.OSes := P.OSes - [nativent];
T:=P.Targets.AddUnit('gd.pas');

View File

@ -18,6 +18,7 @@ begin
P.Directory:='paszlib';
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.OSes := P.OSes - [nativent];
D:=P.Dependencies.Add('hash');
D.Version:='2.7.1';
P.SourcePath.Add('src');

View File

@ -23,7 +23,7 @@ begin
P.Dependencies.Add('pthreads',AllUnixOSes);
if Defaults.CPU=arm then
P.OSes := P.OSes - [darwin];
P.OSes := P.OSes - [iphonesim,os2,emx,go32v2,watcom];
P.OSes := P.OSes - [iphonesim,os2,emx,go32v2,watcom,nativent];
T:=P.Targets.AddUnit('logger.pas');
with T.Dependencies do

View File

@ -18,6 +18,7 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.SourcePath.Add('src');
P.OSes := P.OSes - [nativent];
T:=P.Targets.AddUnit('unzip51g.pp');
with T.Dependencies do