mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 03:29:41 +02:00
+ Added SunOS and QNX targets
This commit is contained in:
parent
4697ef5406
commit
0e53052605
14
fcl/Makefile
14
fcl/Makefile
@ -189,6 +189,12 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
override COMPILER_INCLUDEDIR+=unix
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
override COMPILER_INCLUDEDIR+=posix
|
||||
endif
|
||||
ifeq ($(OS_TARGET),qnx)
|
||||
override COMPILER_INCLUDEDIR+=posix
|
||||
endif
|
||||
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
||||
override COMPILER_TARGETDIR+=$(OS_TARGET)
|
||||
ifdef REQUIRE_UNITSDIR
|
||||
@ -752,6 +758,14 @@ ifeq ($(OS_TARGET),atari)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),qnx)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_RTL
|
||||
PACKAGEDIR_RTL:=$(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR)))))
|
||||
ifneq ($(PACKAGEDIR_RTL),)
|
||||
|
@ -29,6 +29,8 @@ includedir=$(OS_TARGET) inc
|
||||
includedir_linux=unix
|
||||
includedir_freebsd=unix
|
||||
includedir_netbsd=unix
|
||||
includedir_sunos=posix
|
||||
includedir_qnx=posix
|
||||
sourcedir=$(OS_TARGET) inc
|
||||
|
||||
[libs]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -39,19 +39,19 @@ interface
|
||||
type
|
||||
TTarget=(
|
||||
t_linux,t_go32v2,t_win32,t_os2,t_freebsd,t_beos,t_netbsd,
|
||||
t_amiga,t_atari
|
||||
t_amiga,t_atari, t_sunos, t_qnx
|
||||
);
|
||||
TTargetSet=set of TTarget;
|
||||
|
||||
const
|
||||
TargetStr : array[TTarget] of string=(
|
||||
'linux','go32v2','win32','os2','freebsd','beos','netbsd',
|
||||
'amiga','atari'
|
||||
'amiga','atari','sunos', 'qnx'
|
||||
);
|
||||
|
||||
TargetSuffix : array[TTarget] of string=(
|
||||
'_linux','_go32v2','_win32','_os2','_freebsd','_beos','_netbsd',
|
||||
'_amiga','_atari'
|
||||
'_amiga','_atari','_sunos', '_qnx'
|
||||
);
|
||||
|
||||
|
||||
@ -1331,7 +1331,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.15 2001-10-14 21:38:32 peter
|
||||
Revision 1.16 2001-12-11 23:01:56 carl
|
||||
+ Added SunOS and QNX targets
|
||||
|
||||
Revision 1.15 2001/10/14 21:38:32 peter
|
||||
* cross compiling support
|
||||
|
||||
Revision 1.14 2001/09/29 19:47:50 carl
|
||||
|
Loading…
Reference in New Issue
Block a user