mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 03:49:08 +02:00
+ darwin support added
This commit is contained in:
parent
9de6468186
commit
f48b695397
File diff suppressed because it is too large
Load Diff
@ -777,6 +777,14 @@ EXEEXT=
|
||||
FPCMADE=fpcmade.mcc
|
||||
endif
|
||||
|
||||
# Darwin
|
||||
ifeq ($(OS_TARGET),darwin)
|
||||
EXEEXT=
|
||||
HASSHAREDLIB=1
|
||||
FPCMADE=fpcmade.darwin
|
||||
ZIPSUFFIX=darwin
|
||||
endif
|
||||
|
||||
else
|
||||
# long version for 1.0.x - target specific extensions
|
||||
|
||||
|
@ -60,7 +60,7 @@ interface
|
||||
TTarget=(
|
||||
t_linux,t_go32v2,t_win32,t_os2,t_freebsd,t_beos,t_netbsd,
|
||||
t_amiga,t_atari, t_sunos, t_qnx, t_netware, t_openbsd,t_wdosx,
|
||||
t_palmos,t_macos,t_macosx,t_emx
|
||||
t_palmos,t_macos,t_darwin,t_emx
|
||||
);
|
||||
TTargetSet=set of TTarget;
|
||||
|
||||
@ -76,13 +76,13 @@ interface
|
||||
TargetStr : array[TTarget] of string=(
|
||||
'linux','go32v2','win32','os2','freebsd','beos','netbsd',
|
||||
'amiga','atari','sunos', 'qnx', 'netware','openbsd','wdosx',
|
||||
'palmos','macos','macosx','emx'
|
||||
'palmos','macos','darwin','emx'
|
||||
);
|
||||
|
||||
TargetSuffix : array[TTarget] of string=(
|
||||
'_linux','_go32v2','_win32','_os2','_freebsd','_beos','_netbsd',
|
||||
'_amiga','_atari','_sunos', '_qnx', '_netware','_openbsd','_wdosx',
|
||||
'_palmos','_macos','_macosx','_emx'
|
||||
'_palmos','_macos','_darwin','_emx'
|
||||
);
|
||||
|
||||
TargetCpuPossible : array[TTarget,TCpu] of boolean = (
|
||||
@ -1554,7 +1554,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.31 2003-04-24 23:21:01 peter
|
||||
Revision 1.32 2003-05-20 23:54:45 florian
|
||||
+ darwin support added
|
||||
|
||||
Revision 1.31 2003/04/24 23:21:01 peter
|
||||
* support different cpu target
|
||||
|
||||
Revision 1.30 2003/03/23 23:18:26 hajny
|
||||
|
Loading…
Reference in New Issue
Block a user