From 49646f2597375b9f375262363bcb3fb2548c7f9a Mon Sep 17 00:00:00 2001 From: vincents Date: Sun, 26 Mar 2006 21:20:34 +0000 Subject: [PATCH] regenerated to support i386-darwin git-svn-id: trunk@9021 - --- components/turbopower_ipro/Makefile | 61 +++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 13 deletions(-) diff --git a/components/turbopower_ipro/Makefile b/components/turbopower_ipro/Makefile index d5d62f2569..02bff4930c 100644 --- a/components/turbopower_ipro/Makefile +++ b/components/turbopower_ipro/Makefile @@ -1,8 +1,8 @@ # -# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/01/26] +# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/03/23] # 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-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-wince powerpc64-linux +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 m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince powerpc64-linux BSDs = freebsd netbsd openbsd darwin UNIXs = linux $(BSDs) solaris qnx LIMIT83fs = go32v2 os2 emx watcom @@ -275,6 +275,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) override TARGET_UNITS+=turbopoweripro.pas endif +ifeq ($(FULL_TARGET),i386-darwin) +override TARGET_UNITS+=turbopoweripro.pas +endif ifeq ($(FULL_TARGET),i386-emx) override TARGET_UNITS+=turbopoweripro.pas endif @@ -344,6 +347,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) override TARGET_UNITS+=turbopoweripro.pas endif +ifeq ($(FULL_TARGET),arm-palmos) +override TARGET_UNITS+=turbopoweripro.pas +endif ifeq ($(FULL_TARGET),arm-wince) override TARGET_UNITS+=turbopoweripro.pas endif @@ -386,6 +392,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) 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-darwin) +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-emx) 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 @@ -455,6 +464,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) 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),arm-palmos) +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),arm-wince) 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 @@ -497,6 +509,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif +ifeq ($(FULL_TARGET),i386-darwin) +override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl +endif ifeq ($(FULL_TARGET),i386-emx) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif @@ -566,6 +581,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif +ifeq ($(FULL_TARGET),arm-palmos) +override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl +endif ifeq ($(FULL_TARGET),arm-wince) override COMPILER_OPTIONS+=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl endif @@ -608,6 +626,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) override COMPILER_UNITDIR+=../../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-darwin) +override COMPILER_UNITDIR+=../../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-emx) override COMPILER_UNITDIR+=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ endif @@ -677,6 +698,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) override COMPILER_UNITDIR+=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ endif +ifeq ($(FULL_TARGET),arm-palmos) +override COMPILER_UNITDIR+=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ +endif ifeq ($(FULL_TARGET),arm-wince) override COMPILER_UNITDIR+=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ endif @@ -719,6 +743,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) endif +ifeq ($(FULL_TARGET),i386-darwin) +override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) +endif ifeq ($(FULL_TARGET),i386-emx) override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) endif @@ -788,6 +815,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) endif +ifeq ($(FULL_TARGET),arm-palmos) +override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) +endif ifeq ($(FULL_TARGET),arm-wince) override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET) endif @@ -1434,12 +1464,17 @@ endif endif export ZIPPROG ifndef TARPROG +TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH)))) +ifeq ($(TARPROG),) TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH)))) ifeq ($(TARPROG),) TARPROG= __missing_command_TARPROG else TARPROG:=$(firstword $(TARPROG)) endif +else +TARPROG:=$(firstword $(TARPROG)) +endif endif export TARPROG ASNAME=$(BINUTILSPREFIX)as @@ -1563,6 +1598,9 @@ endif ifeq ($(FULL_TARGET),i386-wdosx) REQUIRE_PACKAGES_RTL=1 endif +ifeq ($(FULL_TARGET),i386-darwin) +REQUIRE_PACKAGES_RTL=1 +endif ifeq ($(FULL_TARGET),i386-emx) REQUIRE_PACKAGES_RTL=1 endif @@ -1632,6 +1670,9 @@ endif ifeq ($(FULL_TARGET),arm-linux) REQUIRE_PACKAGES_RTL=1 endif +ifeq ($(FULL_TARGET),arm-palmos) +REQUIRE_PACKAGES_RTL=1 +endif ifeq ($(FULL_TARGET),arm-wince) REQUIRE_PACKAGES_RTL=1 endif @@ -1704,14 +1745,15 @@ override FPCOPT+=-gl override FPCOPTDEF+=DEBUG endif ifdef RELEASE +ifneq ($(findstring 2.0.,$(FPC_VERSION)),) ifeq ($(CPU_TARGET),i386) FPCCPUOPT:=-OG2p3 -else +endif ifeq ($(CPU_TARGET),powerpc) FPCCPUOPT:=-O1r -else -FPCCPUOPT:= endif +else +FPCCPUOPT:=-O2 endif override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n override FPCOPTDEF+=RELEASE @@ -1720,9 +1762,7 @@ ifdef STRIP override FPCOPT+=-Xs endif ifdef OPTIMIZE -ifeq ($(CPU_TARGET),i386) -override FPCOPT+=-OG2p3 -endif +override FPCOPT+=-O2 endif ifdef VERBOSE override FPCOPT+=-vwni @@ -1766,11 +1806,6 @@ override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR) override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX) endif endif -ifeq ($(OS_TARGET),linux) -ifeq ($(FPC_VERSION),1.0.6) -override FPCOPTDEF+=HASUNIX -endif -endif ifdef CREATESHARED override FPCOPT+=-Cg ifeq ($(CPU_TARGET),i386)