diff options
author | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-01-16 13:21:51 +0000 |
---|---|---|
committer | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-01-16 13:21:51 +0000 |
commit | e6dd76b3264fe39cc72f26ed7a64414030887929 (patch) | |
tree | 9ce04ddf40916f085993df8ee35b189ba1b1cb91 /rtl/haiku | |
parent | 63ee41b7398db6ebbf8572b8170087aa5a85a8a4 (diff) | |
parent | c4e038844db8fd3a487bea643fc6bb4438b067e2 (diff) | |
download | fpc-e6dd76b3264fe39cc72f26ed7a64414030887929.tar.gz |
* Sync with trunk r23404.
* Regenerated makefiles.
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/targetandroid@23405 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/haiku')
-rw-r--r-- | rtl/haiku/Makefile | 29 | ||||
-rw-r--r-- | rtl/haiku/system.pp | 4 |
2 files changed, 25 insertions, 8 deletions
diff --git a/rtl/haiku/Makefile b/rtl/haiku/Makefile index f5334ae45d..f283f961d1 100644 --- a/rtl/haiku/Makefile +++ b/rtl/haiku/Makefile @@ -1,5 +1,5 @@ # -# Don't edit, this file is generated by FPCMake Version 2.0.0 [2012/07/08] +# Don't edit, this file is generated by FPCMake Version 2.0.0 [2013/01/16] # default: all MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux jvm-java jvm-android @@ -211,6 +211,14 @@ endif ifeq ($(OS_TARGET),linux) linuxHier=1 endif +ifndef CROSSCOMPILE +BUILDFULLNATIVE=1 +export BUILDFULLNATIVE +endif +ifdef BUILDFULLNATIVE +BUILDNATIVE=1 +export BUILDNATIVE +endif export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE ifdef FPCDIR override FPCDIR:=$(subst \,/,$(FPCDIR)) @@ -260,11 +268,13 @@ ifndef BINUTILSPREFIX ifndef CROSSBINDIR ifdef CROSSCOMPILE ifndef DARWIN2DARWIN +ifneq ($(CPU_TARGET),jvm) BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)- endif endif endif endif +endif UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX)) ifeq ($(UNITSDIR),) UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET)) @@ -2184,6 +2194,18 @@ BATCHEXT=.sh EXEEXT= SHORTSUFFIX=aix endif +ifeq ($(OS_TARGET),java) +OEXT=.class +ASMEXT=.j +SHAREDLIBEXT=.jar +SHORTSUFFIX=java +endif +ifeq ($(OS_TARGET),android) +OEXT=.class +ASMEXT=.j +SHAREDLIBEXT=.jar +SHORTSUFFIX=android +endif ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) FPCMADE=fpcmade.$(SHORTSUFFIX) ZIPSUFFIX=$(SHORTSUFFIX) @@ -2537,17 +2559,12 @@ endif endif ifdef CREATESHARED override FPCOPT+=-Cg -ifeq ($(CPU_TARGET),i386) -override FPCOPT+=-Aas endif -endif -ifeq ($(findstring 2.0.,$(FPC_VERSION)),) ifneq ($(findstring $(OS_TARGET),freebsd openbsd netbsd linux solaris),) ifeq ($(CPU_TARGET),x86_64) override FPCOPT+=-Cg endif endif -endif ifdef LINKSHARED endif ifdef OPT diff --git a/rtl/haiku/system.pp b/rtl/haiku/system.pp index 998c211406..3b95fbc76e 100644 --- a/rtl/haiku/system.pp +++ b/rtl/haiku/system.pp @@ -29,7 +29,7 @@ function disable_debugger(state : integer): integer; cdecl; external 'root' name { OS independant parts} -{$I system.inc} +{$I sysunix.inc} {***************************************************************************** System Dependent Exit code @@ -463,7 +463,7 @@ begin SysInitExceptions; // WriteLn('after SysInitException'); - initunicodestringmanager; + InitUnixStrings; { Setup IO } SysInitStdIO; { Reset IO Error } |