|
@@ -1,8 +1,8 @@
|
|
#
|
|
#
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2010/10/20]
|
|
|
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2011/06/02]
|
|
#
|
|
#
|
|
default: all
|
|
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 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-solaris 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 mipsel-linux
|
|
|
|
|
|
+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 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-solaris 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 mipsel-linux
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
UNIXs = linux $(BSDs) solaris qnx haiku
|
|
UNIXs = linux $(BSDs) solaris qnx haiku
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
@@ -107,24 +107,36 @@ FPC=$(PP)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
ifndef FPC
|
|
ifndef FPC
|
|
|
|
+DETERMINE_NATIVE_COMPILER=1
|
|
|
|
+else
|
|
|
|
+ifdef CROSSCOMPILE
|
|
|
|
+ifndef FPCFPMAKE
|
|
|
|
+DETERMINE_NATIVE_COMPILER=1
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+ifdef DETERMINE_NATIVE_COMPILER
|
|
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
|
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
|
ifneq ($(FPCPROG),)
|
|
ifneq ($(FPCPROG),)
|
|
FPCPROG:=$(firstword $(FPCPROG))
|
|
FPCPROG:=$(firstword $(FPCPROG))
|
|
ifneq ($(CPU_TARGET),)
|
|
ifneq ($(CPU_TARGET),)
|
|
-FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
|
|
|
|
|
|
+FPCNATIVE:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
|
|
else
|
|
else
|
|
-FPC:=$(shell $(FPCPROG) -PB)
|
|
|
|
|
|
+FPCNATIVE:=$(shell $(FPCPROG) -PB)
|
|
endif
|
|
endif
|
|
-ifneq ($(findstring Error,$(FPC)),)
|
|
|
|
-override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
|
|
|
|
|
|
+ifneq ($(findstring Error,$(FPCNATIVE)),)
|
|
|
|
+override FPCNATIVE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
|
|
else
|
|
else
|
|
-ifeq ($(strip $(wildcard $(FPC))),)
|
|
|
|
-FPC:=$(firstword $(FPCPROG))
|
|
|
|
|
|
+ifeq ($(strip $(wildcard $(FPCNATIVE))),)
|
|
|
|
+FPCNATIVE:=$(firstword $(FPCPROG))
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
else
|
|
else
|
|
-override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
|
|
|
|
|
|
+override FPCNATIVE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
|
|
+ifndef FPC
|
|
|
|
+FPC=$(FPCNATIVE)
|
|
endif
|
|
endif
|
|
override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
|
|
override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
|
|
override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
|
|
override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
|
|
@@ -264,10 +276,27 @@ ifeq ($(UNITSDIR),)
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
endif
|
|
endif
|
|
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
|
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
|
|
|
+ifndef FPCFPMAKE
|
|
|
|
+ifdef CROSSCOMPILE
|
|
|
|
+ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),)
|
|
|
|
+FPCFPMAKE:=$(FPCNATIVE)
|
|
|
|
+else
|
|
|
|
+FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR))))
|
|
|
|
+FPMAKE_SKIP_CONFIG=-n
|
|
|
|
+export FPCFPMAKE
|
|
|
|
+export FPMAKE_SKIP_CONFIG
|
|
|
|
+endif
|
|
|
|
+else
|
|
|
|
+FPCFPMAKE=$(FPC)
|
|
|
|
+FPMAKE_SKIP_CONFIG=-n
|
|
|
|
+export FPCFPMAKE
|
|
|
|
+export FPMAKE_SKIP_CONFIG
|
|
|
|
+endif
|
|
|
|
+endif
|
|
override PACKAGE_NAME=fcl-process
|
|
override PACKAGE_NAME=fcl-process
|
|
override PACKAGE_VERSION=2.5.1
|
|
override PACKAGE_VERSION=2.5.1
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -279,34 +308,34 @@ ifeq ($(FULL_TARGET),i386-os2)
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-beos)
|
|
ifeq ($(FULL_TARGET),i386-beos)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-haiku)
|
|
ifeq ($(FULL_TARGET),i386-haiku)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-solaris)
|
|
ifeq ($(FULL_TARGET),i386-solaris)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-qnx)
|
|
ifeq ($(FULL_TARGET),i386-qnx)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-netware)
|
|
ifeq ($(FULL_TARGET),i386-netware)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-darwin)
|
|
ifeq ($(FULL_TARGET),i386-darwin)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-emx)
|
|
ifeq ($(FULL_TARGET),i386-emx)
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
@@ -330,16 +359,16 @@ ifeq ($(FULL_TARGET),i386-nativent)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -348,7 +377,7 @@ ifeq ($(FULL_TARGET),m68k-atari)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -357,10 +386,10 @@ ifeq ($(FULL_TARGET),m68k-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -369,7 +398,7 @@ ifeq ($(FULL_TARGET),powerpc-macos)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -377,29 +406,32 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+override TARGET_UNITS+=pipes process
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),x86_64-solaris)
|
|
ifeq ($(FULL_TARGET),x86_64-solaris)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),x86_64-darwin)
|
|
ifeq ($(FULL_TARGET),x86_64-darwin)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
@@ -408,13 +440,13 @@ ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),arm-palmos)
|
|
ifeq ($(FULL_TARGET),arm-palmos)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),arm-darwin)
|
|
ifeq ($(FULL_TARGET),arm-darwin)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
@@ -432,10 +464,10 @@ ifeq ($(FULL_TARGET),arm-symbian)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
@@ -444,13 +476,13 @@ ifeq ($(FULL_TARGET),avr-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),armeb-linux)
|
|
ifeq ($(FULL_TARGET),armeb-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
override TARGET_UNITS+=pipes process
|
|
override TARGET_UNITS+=pipes process
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
-override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf
|
|
|
|
|
|
+override TARGET_UNITS+=pipes process simpleipc dbugmsg dbugintf pipesipc
|
|
endif
|
|
endif
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override TARGET_RSTS+=process simpleipc
|
|
override TARGET_RSTS+=process simpleipc
|
|
@@ -563,6 +595,9 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
override TARGET_RSTS+=process simpleipc
|
|
override TARGET_RSTS+=process simpleipc
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+override TARGET_RSTS+=process simpleipc
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
override TARGET_RSTS+=process simpleipc
|
|
override TARGET_RSTS+=process simpleipc
|
|
endif
|
|
endif
|
|
@@ -750,6 +785,9 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
override COMPILER_OPTIONS+=-S2h
|
|
override COMPILER_OPTIONS+=-S2h
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+override COMPILER_OPTIONS+=-S2h
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
override COMPILER_OPTIONS+=-S2h
|
|
override COMPILER_OPTIONS+=-S2h
|
|
endif
|
|
endif
|
|
@@ -936,6 +974,9 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
override COMPILER_INCLUDEDIR+=src/$(OS_TARGET) src
|
|
override COMPILER_INCLUDEDIR+=src/$(OS_TARGET) src
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+override COMPILER_INCLUDEDIR+=src/$(OS_TARGET) src
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
override COMPILER_INCLUDEDIR+=src/$(OS_TARGET) src src/unix src/dummy
|
|
override COMPILER_INCLUDEDIR+=src/$(OS_TARGET) src src/unix src/dummy
|
|
endif
|
|
endif
|
|
@@ -1122,6 +1163,9 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
override COMPILER_SOURCEDIR+=src/$(OS_TARGET) src
|
|
override COMPILER_SOURCEDIR+=src/$(OS_TARGET) src
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+override COMPILER_SOURCEDIR+=src/$(OS_TARGET) src
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
override COMPILER_SOURCEDIR+=src/$(OS_TARGET) src
|
|
override COMPILER_SOURCEDIR+=src/$(OS_TARGET) src
|
|
endif
|
|
endif
|
|
@@ -1543,6 +1587,11 @@ ifeq ($(OS_TARGET),NativeNT)
|
|
SHAREDLIBEXT=.dll
|
|
SHAREDLIBEXT=.dll
|
|
SHORTSUFFIX=nativent
|
|
SHORTSUFFIX=nativent
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_TARGET),wii)
|
|
|
|
+EXEEXT=.dol
|
|
|
|
+SHAREDLIBEXT=.so
|
|
|
|
+SHORTSUFFIX=wii
|
|
|
|
+endif
|
|
else
|
|
else
|
|
ifeq ($(OS_TARGET),go32v1)
|
|
ifeq ($(OS_TARGET),go32v1)
|
|
PPUEXT=.pp1
|
|
PPUEXT=.pp1
|
|
@@ -2079,6 +2128,9 @@ endif
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
@@ -2162,6 +2214,15 @@ UNITDIR_RTL=$(PACKAGEDIR_RTL)/units/$(TARGETSUFFIX)
|
|
else
|
|
else
|
|
UNITDIR_RTL=$(PACKAGEDIR_RTL)
|
|
UNITDIR_RTL=$(PACKAGEDIR_RTL)
|
|
endif
|
|
endif
|
|
|
|
+ifneq ($(wildcard $(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX)),)
|
|
|
|
+UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX)
|
|
|
|
+else
|
|
|
|
+ifneq ($(wildcard $(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX)),)
|
|
|
|
+UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX)
|
|
|
|
+else
|
|
|
|
+UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)
|
|
|
|
+endif
|
|
|
|
+endif
|
|
ifdef CHECKDEPEND
|
|
ifdef CHECKDEPEND
|
|
$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE):
|
|
$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE):
|
|
$(MAKE) -C $(PACKAGEDIR_RTL)/$(OS_TARGET) $(FPCMADE)
|
|
$(MAKE) -C $(PACKAGEDIR_RTL)/$(OS_TARGET) $(FPCMADE)
|
|
@@ -2179,6 +2240,9 @@ endif
|
|
ifdef UNITDIR_RTL
|
|
ifdef UNITDIR_RTL
|
|
override COMPILER_UNITDIR+=$(UNITDIR_RTL)
|
|
override COMPILER_UNITDIR+=$(UNITDIR_RTL)
|
|
endif
|
|
endif
|
|
|
|
+ifdef UNITDIR_FPMAKE_RTL
|
|
|
|
+override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_RTL)
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
ifndef NOCPUDEF
|
|
ifndef NOCPUDEF
|
|
override FPCOPTDEF=$(ARCH)
|
|
override FPCOPTDEF=$(ARCH)
|
|
@@ -2668,6 +2732,7 @@ fpc_baseinfo:
|
|
@$(ECHO) Full Target.. $(FULL_TARGET)
|
|
@$(ECHO) Full Target.. $(FULL_TARGET)
|
|
@$(ECHO) SourceSuffix. $(SOURCESUFFIX)
|
|
@$(ECHO) SourceSuffix. $(SOURCESUFFIX)
|
|
@$(ECHO) TargetSuffix. $(TARGETSUFFIX)
|
|
@$(ECHO) TargetSuffix. $(TARGETSUFFIX)
|
|
|
|
+ @$(ECHO) FPC fpmake... $(FPCFPMAKE)
|
|
@$(ECHO)
|
|
@$(ECHO)
|
|
@$(ECHO) == Directory info ==
|
|
@$(ECHO) == Directory info ==
|
|
@$(ECHO)
|
|
@$(ECHO)
|