From 23d97dd3781b5a938ded25aa64ec48da291308d5 Mon Sep 17 00:00:00 2001 From: vincents Date: Mon, 14 Jul 2008 09:06:56 +0000 Subject: [PATCH] default widget set for darwin is carbon git-svn-id: trunk@15777 - --- components/fpcunit/Makefile | 43 ++++++++++++++++++++++++++++++--- components/fpcunit/Makefile.fpc | 6 ++++- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/components/fpcunit/Makefile b/components/fpcunit/Makefile index 25636b0c28..da576946a3 100644 --- a/components/fpcunit/Makefile +++ b/components/fpcunit/Makefile @@ -1,8 +1,8 @@ # -# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/04/01] +# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/07/07] # default: all -MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos 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 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd 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 powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded +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 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd 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 powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded BSDs = freebsd netbsd openbsd darwin UNIXs = linux $(BSDs) solaris qnx LIMIT83fs = go32v2 os2 emx watcom @@ -238,13 +238,20 @@ endif ifndef CROSSBINDIR CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX)) endif +ifeq ($(OS_TARGET),darwin) +ifeq ($(OS_SOURCE),darwin) +DARWIN2DARWIN=1 +endif +endif ifndef BINUTILSPREFIX ifndef CROSSBINDIR ifdef CROSSCOMPILE +ifndef DARWIN2DARWIN BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)- endif endif endif +endif UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX)) ifeq ($(UNITSDIR),) UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET)) @@ -259,10 +266,14 @@ else ifeq ($(OS_TARGET),win64) LCL_PLATFORM=win32 else +ifeq ($(OS_TARGET),darwin) +LCL_PLATFORM=carbon +else LCL_PLATFORM=gtk endif endif endif +endif export LCL_PLATFORM ifeq ($(FULL_TARGET),i386-linux) override TARGET_UNITS+=fpcunittestrunner.pas @@ -282,6 +293,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override TARGET_UNITS+=fpcunittestrunner.pas endif +ifeq ($(FULL_TARGET),i386-haiku) +override TARGET_UNITS+=fpcunittestrunner.pas +endif ifeq ($(FULL_TARGET),i386-netbsd) override TARGET_UNITS+=fpcunittestrunner.pas endif @@ -453,6 +467,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) endif +ifeq ($(FULL_TARGET),i386-haiku) +override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) +endif ifeq ($(FULL_TARGET),i386-netbsd) override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) endif @@ -624,6 +641,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif +ifeq ($(FULL_TARGET),i386-haiku) +override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl +endif ifeq ($(FULL_TARGET),i386-netbsd) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif @@ -795,6 +815,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override COMPILER_INCLUDEDIR+=./ endif +ifeq ($(FULL_TARGET),i386-haiku) +override COMPILER_INCLUDEDIR+=./ +endif ifeq ($(FULL_TARGET),i386-netbsd) override COMPILER_INCLUDEDIR+=./ endif @@ -966,6 +989,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override COMPILER_UNITDIR+=../synedit/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ ./ endif +ifeq ($(FULL_TARGET),i386-haiku) +override COMPILER_UNITDIR+=../synedit/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ ./ +endif ifeq ($(FULL_TARGET),i386-netbsd) override COMPILER_UNITDIR+=../synedit/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ ./ endif @@ -1137,6 +1163,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) endif +ifeq ($(FULL_TARGET),i386-haiku) +override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) +endif ifeq ($(FULL_TARGET),i386-netbsd) override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) endif @@ -1579,6 +1608,11 @@ BATCHEXT=.sh EXEEXT= SHORTSUFFIX=be endif +ifeq ($(OS_TARGET),haiku) +BATCHEXT=.sh +EXEEXT= +SHORTSUFFIX=hai +endif ifeq ($(OS_TARGET),solaris) BATCHEXT=.sh EXEEXT= @@ -2056,6 +2090,9 @@ endif ifeq ($(FULL_TARGET),i386-beos) REQUIRE_PACKAGES_RTL=1 endif +ifeq ($(FULL_TARGET),i386-haiku) +REQUIRE_PACKAGES_RTL=1 +endif ifeq ($(FULL_TARGET),i386-netbsd) REQUIRE_PACKAGES_RTL=1 endif @@ -2613,7 +2650,7 @@ ifdef inUnix /bin/sh $(ZIPWRAPPER) else ifdef RUNBATCH - $(RUNBATCH) (ZIPWRAPPER) + $(RUNBATCH) $(ZIPWRAPPER) else $(ZIPWRAPPER) endif diff --git a/components/fpcunit/Makefile.fpc b/components/fpcunit/Makefile.fpc index 96d3939f82..e06ac59940 100644 --- a/components/fpcunit/Makefile.fpc +++ b/components/fpcunit/Makefile.fpc @@ -2,7 +2,7 @@ # # Makefile.fpc for FPCUnitTestRunner 0.1 # -# This file was generated on 22-4-2008 +# This file was generated on 14-7-2008 [package] name=fpcunittestrunner @@ -32,10 +32,14 @@ else ifeq ($(OS_TARGET),win64) LCL_PLATFORM=win32 else +ifeq ($(OS_TARGET),darwin) +LCL_PLATFORM=carbon +else LCL_PLATFORM=gtk endif endif endif +endif export LCL_PLATFORM [rules]