Browse Source

+ added the win16 target to fpcmake

git-svn-id: trunk@31523 -
nickysn 10 years ago
parent
commit
b8b90f96a1
3 changed files with 150 additions and 132 deletions
  1. 136 127
      utils/fpcm/fpcmake.inc
  2. 9 1
      utils/fpcm/fpcmake.ini
  3. 5 4
      utils/fpcm/fpcmmain.pp

File diff suppressed because it is too large
+ 136 - 127
utils/fpcm/fpcmake.inc


+ 9 - 1
utils/fpcm/fpcmake.ini

@@ -10,7 +10,7 @@
 # OS categories
 BSDs = freebsd netbsd openbsd darwin dragonfly
 UNIXs = linux $(BSDs) solaris qnx haiku aix
-LIMIT83fs = go32v2 os2 emx watcom msdos
+LIMIT83fs = go32v2 os2 emx watcom msdos win16
 OSNeedsComspecToRunBatch = go32v2 watcom
 
 #Empty target for rules that always should run. Needed if
@@ -1138,6 +1138,14 @@ EXEEXT=.bin
 SHORTSUFFIX=emb
 endif
 
+# Win16
+ifeq ($(OS_TARGET),win16)
+STATICLIBPREFIX=
+STATICLIBEXT=.a
+SHAREDLIBEXT=.dll
+SHORTSUFFIX=w16
+endif
+
 
 # For 8.3 limited OS's the short suffixes
 # Otherwise use the full source/target names

+ 5 - 4
utils/fpcm/fpcmmain.pp

@@ -75,7 +75,7 @@ interface
         o_amiga,o_atari, o_solaris, o_qnx, o_netware, o_openbsd,o_wdosx,
         o_palmos,o_macos,o_darwin,o_emx,o_watcom,o_morphos,o_netwlibc,
         o_win64,o_wince,o_gba,o_nds,o_embedded,o_symbian,o_nativent,o_iphonesim,
-        o_wii,o_aix,o_java,o_android,o_msdos,o_aros,o_dragonfly
+        o_wii,o_aix,o_java,o_android,o_msdos,o_aros,o_dragonfly,o_win16
       );
 
       TTargetSet=array[tcpu,tos] of boolean;
@@ -99,7 +99,7 @@ interface
         'palmos','macos','darwin','emx','watcom','morphos','netwlibc',
         'win64','wince','gba','nds','embedded','symbian','nativent',
         'iphonesim', 'wii', 'aix', 'java', 'android', 'msdos', 'aros',
-        'dragonfly'
+        'dragonfly', 'win16'
       );
 
       OSSuffix : array[TOS] of string=(
@@ -108,7 +108,7 @@ interface
         '_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc',
         '_win64','_wince','_gba','_nds','_embedded','_symbian','_nativent',
         '_iphonesim','_wii','_aix','_java','_android','_msdos','_aros',
-        '_dragonfly'
+        '_dragonfly','_win16'
       );
 
       { This table is kept OS,Cpu because it is easier to maintain (PFV) }
@@ -150,7 +150,8 @@ interface
         { android } ( true,  false, false, false, false, true,  false, false, false, false, false, true,  false, false,   true,  false, false),
         { msdos }   ( false, false, false, false, false, false, false, false, false, false, false, false, false, false,   false, true , false),
         { aros }    ( true,  false, false, false, true,  false, false, false, false, false, false, false, false, false,   false, false, false),
-        {dragonfly} ( false, false, false, false, true,  false, false, false, false, false, false, false, false, false,   false, false, false)
+        {dragonfly} ( false, false, false, false, true,  false, false, false, false, false, false, false, false, false,   false, false, false),
+        { win16 }   ( false, false, false, false, false, false, false, false, false, false, false, false, false, false,   false, true , false)
       );
 
     type

Some files were not shown because too many files changed in this diff