|
@@ -1,11 +1,12 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/10/21]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/10/30]
|
|
|
#
|
|
|
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-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
UNIXs = linux $(BSDs) solaris qnx
|
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
|
+OSNeedsComspecToRunBatch = go32v2 watcom
|
|
|
FORCE:
|
|
|
.PHONY: FORCE
|
|
|
override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH)))
|
|
@@ -56,6 +57,11 @@ else
|
|
|
SRCBATCHEXT=.bat
|
|
|
endif
|
|
|
endif
|
|
|
+ifdef COMSPEC
|
|
|
+ifneq ($(findstring $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
|
|
|
+RUNBATCH=$(COMSPEC) /C
|
|
|
+endif
|
|
|
+endif
|
|
|
ifdef inUnix
|
|
|
PATHSEP=/
|
|
|
else
|
|
@@ -104,7 +110,11 @@ ifndef FPC
|
|
|
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
|
|
ifneq ($(FPCPROG),)
|
|
|
FPCPROG:=$(firstword $(FPCPROG))
|
|
|
+ifneq ($(CPU_TARGET),)
|
|
|
+FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
|
|
|
+else
|
|
|
FPC:=$(shell $(FPCPROG) -PB)
|
|
|
+endif
|
|
|
ifneq ($(findstring Error,$(FPC)),)
|
|
|
override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
|
|
|
endif
|
|
@@ -248,160 +258,160 @@ override FPCOPT+=-dEXCEPTIONS_IN_SYSTEM
|
|
|
endif
|
|
|
override FPCOPT+=-dNO_EXCEPTIONS_IN_SYSTEM
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-win32)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-os2)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-beos)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-solaris)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-qnx)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netware)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-darwin)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-emx)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-watcom)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netwlibc)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-wince)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-symbian)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-atari)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-macos)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-gba)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-nds)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
-override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl
|
|
|
+override TARGET_UNITS+=system objpas macpas strings watcom dos crt objects cpu charset types getopts heaptrc lnfodwrf lineinfo ctypes fgl math typinfo mmx ucomplex varutils variants sysutils
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_LOADERS+=prt0
|
|
@@ -1789,7 +1799,7 @@ override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
|
|
|
endif
|
|
|
ifndef CROSSBOOTSTRAP
|
|
|
ifneq ($(BINUTILSPREFIX),)
|
|
|
-override FPCOPT+=-XP$(BINUTILSPREFIX)
|
|
|
+override FPCOPT+=-XP$(BINUTILSPREFIX)
|
|
|
endif
|
|
|
ifneq ($(BINUTILSPREFIX),)
|
|
|
override FPCOPT+=-Xr$(RLINKPATH)
|
|
@@ -1921,9 +1931,13 @@ ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
EXECPPAS=
|
|
|
else
|
|
|
ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
+ifdef RUNBATCH
|
|
|
+EXECPPAS:=@$(RUNBATCH) $(PPAS)
|
|
|
+else
|
|
|
EXECPPAS:=@$(PPAS)
|
|
|
endif
|
|
|
endif
|
|
|
+endif
|
|
|
.PHONY: fpc_loaders
|
|
|
ifneq ($(TARGET_LOADERS),)
|
|
|
override ALLTARGET+=fpc_loaders
|
|
@@ -2311,8 +2325,9 @@ SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
|
|
|
include $(PROCINC)/makefile.cpu
|
|
|
SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
|
|
|
SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
|
|
|
-prt0$(OEXT) : prt0.asm
|
|
|
- wasm prt0.asm -bt=dos -5s -fp5 -ms -zq
|
|
|
+prt0$(OEXT) : prt0.as
|
|
|
+ wasm prt0.as -bt=dos -5s -fp5 -ms -zq
|
|
|
+ $(COPY) prt0$(OEXT) $(UNITTARGETDIRPREFIX)prt0$(OEXT)
|
|
|
system$(PPUEXT) : system.pp $(SYSDEPS)
|
|
|
$(COMPILER) -Us -Sg system.pp
|
|
|
objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc system$(PPUEXT)
|
|
@@ -2334,11 +2349,6 @@ dos$(PPUEXT) : dos.pp $(INC)/filerec.inc $(INC)/textrec.inc \
|
|
|
crt$(PPUEXT) : crt.pp $(INC)/textrec.inc watcom$(PPUEXT) system$(PPUEXT)
|
|
|
objects$(PPUEXT) : $(INC)/objects.pp system$(PPUEXT)
|
|
|
printer$(PPUEXT) : printer.pp system$(PPUEXT)
|
|
|
-include $(GRAPHDIR)/makefile.inc
|
|
|
-GRAPHINCDEPS=$(addprefix $(GRAPHDIR)/,$(GRAPHINCNAMES))
|
|
|
-graph$(PPUEXT) : graph.pp watcom$(PPUEXT) ports$(PPUEXT) system$(PPUEXT) \
|
|
|
- $(GRAPHINCDEPS) vesa.inc vesah.inc dpmi.inc
|
|
|
- $(COMPILER) -I$(GRAPHDIR) graph.pp
|
|
|
sysutils$(PPUEXT) : sysutils.pp $(wildcard $(OBJPASDIR)/sysutils/*.inc) \
|
|
|
objpas$(PPUEXT) dos$(PPUEXT) watcom$(PPUEXT) sysconst$(PPUEXT)
|
|
|
$(COMPILER) -Fi$(OBJPASDIR)/sysutils sysutils.pp
|
|
@@ -2356,6 +2366,16 @@ varutils$(PPUEXT) : $(OBJPASDIR)/cvarutil.inc $(OBJPASDIR)/varutils.inc \
|
|
|
$(COMPILER) -I$(OBJPASDIR) varutils.pp
|
|
|
types$(PPUEXT) : $(OBJPASDIR/types.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $(OBJPASDIR)/types.pp
|
|
|
+rtlconst$(PPUEXT) : $(OBJPASDIR)/rtlconst.pp
|
|
|
+ $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/rtlconst.pp
|
|
|
+sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp objpas$(PPUEXT)
|
|
|
+ $(COMPILER) $(OBJPASDIR)/sysconst.pp
|
|
|
+dateutil$(PPUEXT) : $(OBJPASDIR)/dateutil.pp
|
|
|
+ $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/dateutil.pp
|
|
|
+convutil$(PPUEXT) : $(OBJPASDIR)/convutil.pp
|
|
|
+ $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/convutil.pp
|
|
|
+strutils$(PPUEXT) : $(OBJPASDIR)/strutils.pp
|
|
|
+ $(COMPILER) $(OBJPASDIR)/strutils.pp
|
|
|
macpas$(PPUEXT) : $(INC)/macpas.pp system$(PPUEXT)
|
|
|
$(COMPILER) $(INC)/macpas.pp $(REDIR)
|
|
|
cpu$(PPUEXT) : $(PROCINC)/cpu.pp system$(PPUEXT)
|