* Added Wii support to fpcmake

git-svn-id: trunk@17036 -
This commit is contained in:
Legolas 2011-02-27 19:28:42 +00:00
parent 5fc349eda7
commit 23d4e04c5c
3 changed files with 2394 additions and 2316 deletions

File diff suppressed because it is too large Load Diff

View File

@ -972,6 +972,13 @@ SHAREDLIBEXT=.dll
SHORTSUFFIX=nativent
endif
# wii
ifeq ($(OS_TARGET),wii)
EXEEXT=.dol
SHAREDLIBEXT=.so
SHORTSUFFIX=wii
endif
else
# long version for 1.0.x - target specific extensions

View File

@ -70,7 +70,8 @@ interface
o_linux,o_go32v2,o_win32,o_os2,o_freebsd,o_beos,o_haiku,o_netbsd,
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_win64,o_wince,o_gba,o_nds,o_embedded,o_symbian,o_nativent,o_iphonesim,
o_wii
);
TTargetSet=array[tcpu,tos] of boolean;
@ -93,7 +94,7 @@ interface
'amiga','atari','solaris', 'qnx', 'netware','openbsd','wdosx',
'palmos','macos','darwin','emx','watcom','morphos','netwlibc',
'win64','wince','gba','nds','embedded','symbian','nativent',
'iphonesim'
'iphonesim', 'wii'
);
OSSuffix : array[TOS] of string=(
@ -101,7 +102,7 @@ interface
'_amiga','_atari','_solaris', '_qnx', '_netware','_openbsd','_wdosx',
'_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc',
'_win64','_wince','_gba','_nds','_embedded','_symbian','_nativent',
'_iphonesim'
'_iphonesim','_wii'
);
{ This table is kept OS,Cpu because it is easier to maintain (PFV) }
@ -136,7 +137,8 @@ interface
{ embedded }( true, true, true, true, true, true, true, true, true , false, false, false, false, false),
{ symbian } ( true, false, false, false, false, true, false, false, false, false, false, false, false, false),
{ nativent }( true, false, false, false, false, false, false, false, false, false, false, false, false, false),
{ iphonesim }( true, false, false, false, false, false, false, false, false, false, false, false, false, false)
{ iphonesim }( true, false, false, false, false, false, false, false, false, false, false, false, false, false),
{ wii } ( false, false, true, false, false, false, false, false, false, false, false, false, false, false)
);
type