|
@@ -70,7 +70,7 @@ interface
|
|
o_linux,o_go32v2,o_win32,o_os2,o_freebsd,o_beos,o_netbsd,
|
|
o_linux,o_go32v2,o_win32,o_os2,o_freebsd,o_beos,o_netbsd,
|
|
o_amiga,o_atari, o_solaris, o_qnx, o_netware, o_openbsd,o_wdosx,
|
|
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_palmos,o_macos,o_darwin,o_emx,o_watcom,o_morphos,o_netwlibc,
|
|
- o_win64,o_wince
|
|
|
|
|
|
+ o_win64,o_wince,o_gba
|
|
);
|
|
);
|
|
|
|
|
|
TTargetSet=array[tcpu,tos] of boolean;
|
|
TTargetSet=array[tcpu,tos] of boolean;
|
|
@@ -88,14 +88,14 @@ interface
|
|
'linux','go32v2','win32','os2','freebsd','beos','netbsd',
|
|
'linux','go32v2','win32','os2','freebsd','beos','netbsd',
|
|
'amiga','atari','solaris', 'qnx', 'netware','openbsd','wdosx',
|
|
'amiga','atari','solaris', 'qnx', 'netware','openbsd','wdosx',
|
|
'palmos','macos','darwin','emx','watcom','morphos','netwlibc',
|
|
'palmos','macos','darwin','emx','watcom','morphos','netwlibc',
|
|
- 'win64','wince'
|
|
|
|
|
|
+ 'win64','wince','gba'
|
|
);
|
|
);
|
|
|
|
|
|
OSSuffix : array[TOS] of string=(
|
|
OSSuffix : array[TOS] of string=(
|
|
'_linux','_go32v2','_win32','_os2','_freebsd','_beos','_netbsd',
|
|
'_linux','_go32v2','_win32','_os2','_freebsd','_beos','_netbsd',
|
|
'_amiga','_atari','_solaris', '_qnx', '_netware','_openbsd','_wdosx',
|
|
'_amiga','_atari','_solaris', '_qnx', '_netware','_openbsd','_wdosx',
|
|
'_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc',
|
|
'_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc',
|
|
- '_win64','_wince'
|
|
|
|
|
|
+ '_win64','_wince','_gba'
|
|
);
|
|
);
|
|
|
|
|
|
{ This table is kept OS,Cpu because it is easier to maintain (PFV) }
|
|
{ This table is kept OS,Cpu because it is easier to maintain (PFV) }
|
|
@@ -123,7 +123,8 @@ interface
|
|
{ morphos } ( false, false, true, false ,false, false, false),
|
|
{ morphos } ( false, false, true, false ,false, false, false),
|
|
{ netwlibc }( true, false, false, false, false, false, false),
|
|
{ netwlibc }( true, false, false, false, false, false, false),
|
|
{ win64 } ( false, false, false, false, true, false, false),
|
|
{ win64 } ( false, false, false, false, true, false, false),
|
|
- { wince }( true, false, false, false, false, true, false)
|
|
|
|
|
|
+ { wince }( true, false, false, false, false, true, false),
|
|
|
|
+ { gba } ( false, false, false, false, false, true, false)
|
|
);
|
|
);
|
|
|
|
|
|
type
|
|
type
|
|
@@ -716,12 +717,14 @@ implementation
|
|
{ Add some default variables like FPCDIR, UNITSDIR }
|
|
{ Add some default variables like FPCDIR, UNITSDIR }
|
|
AddFPCDefaultVariables;
|
|
AddFPCDefaultVariables;
|
|
{ Load LCL code ? }
|
|
{ Load LCL code ? }
|
|
|
|
+{$ifdef SupportLCL}
|
|
s:=GetVariable('require_packages',true);
|
|
s:=GetVariable('require_packages',true);
|
|
if (pos('lcl',s)>0) or (PackageName='lcl') then
|
|
if (pos('lcl',s)>0) or (PackageName='lcl') then
|
|
begin
|
|
begin
|
|
FUsesLCL:=true;
|
|
FUsesLCL:=true;
|
|
AddLCLDefaultVariables;
|
|
AddLCLDefaultVariables;
|
|
end;
|
|
end;
|
|
|
|
+{$endif SupportLCL}
|
|
{ Show globals }
|
|
{ Show globals }
|
|
Verbose(FPCMakeDebug,s_globals);
|
|
Verbose(FPCMakeDebug,s_globals);
|
|
Variables.Foreach(@PrintDic);
|
|
Variables.Foreach(@PrintDic);
|