Browse Source

+ 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 -

svenbarth 13 năm trước cách đây
mục cha
commit
90db273224

+ 1 - 0
packages/bzip2/fpmake.pp

@@ -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');

+ 1 - 0
packages/chm/fpmake.pp

@@ -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');

+ 1 - 1
packages/fcl-base/fpmake.pp

@@ -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');

+ 1 - 0
packages/fcl-fpcunit/fpmake.pp

@@ -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');

+ 1 - 0
packages/fcl-image/fpmake.pp

@@ -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');

+ 1 - 0
packages/fpmkunit/fpmake.pp

@@ -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

+ 4 - 3
packages/fpmkunit/src/fpmkunit.pp

@@ -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

+ 1 - 0
packages/fppkg/fpmake.pp

@@ -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');
 

+ 1 - 0
packages/libgd/fpmake.pp

@@ -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');
 

+ 1 - 0
packages/paszlib/fpmake.pp

@@ -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');

+ 1 - 1
packages/sdl/fpmake.pp

@@ -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

+ 1 - 0
packages/unzip/fpmake.pp

@@ -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