/packages/fcl-db/src/codegen/Makefile
Makefile | 2802 lines | 2799 code | 0 blank | 3 comment | 7 complexity | 2b5ffccc17e3867d26ce594c96447b04 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
Large files files are truncated, but you can click here to view the full file
1# 2# Don't edit, this file is generated by FPCMake Version 2.0.0 [2012/04/25] 3# 4default: all 5MAKEFILETARGETS=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 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 powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux 6BSDs = freebsd netbsd openbsd darwin 7UNIXs = linux $(BSDs) solaris qnx haiku aix 8LIMIT83fs = go32v2 os2 emx watcom 9OSNeedsComspecToRunBatch = go32v2 watcom 10FORCE: 11.PHONY: FORCE 12override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH))) 13ifneq ($(findstring darwin,$(OSTYPE)),) 14inUnix=1 #darwin 15SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH))) 16else 17ifeq ($(findstring ;,$(PATH)),) 18inUnix=1 19SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH))) 20else 21SEARCHPATH:=$(subst ;, ,$(PATH)) 22endif 23endif 24SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE)))) 25PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH)))) 26ifeq ($(PWD),) 27PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH)))) 28ifeq ($(PWD),) 29$(error You need the GNU utils package to use this Makefile) 30else 31PWD:=$(firstword $(PWD)) 32SRCEXEEXT= 33endif 34else 35PWD:=$(firstword $(PWD)) 36SRCEXEEXT=.exe 37endif 38ifndef inUnix 39ifeq ($(OS),Windows_NT) 40inWinNT=1 41else 42ifdef OS2_SHELL 43inOS2=1 44endif 45endif 46else 47ifneq ($(findstring cygdrive,$(PATH)),) 48inCygWin=1 49endif 50endif 51ifdef inUnix 52SRCBATCHEXT=.sh 53else 54ifdef inOS2 55SRCBATCHEXT=.cmd 56else 57SRCBATCHEXT=.bat 58endif 59endif 60ifdef COMSPEC 61ifneq ($(findstring $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),) 62ifndef RUNBATCH 63RUNBATCH=$(COMSPEC) /C 64endif 65endif 66endif 67ifdef inUnix 68PATHSEP=/ 69else 70PATHSEP:=$(subst /,\,/) 71ifdef inCygWin 72PATHSEP=/ 73endif 74endif 75ifdef PWD 76BASEDIR:=$(subst \,/,$(shell $(PWD))) 77ifdef inCygWin 78ifneq ($(findstring /cygdrive/,$(BASEDIR)),) 79BASENODIR:=$(patsubst /cygdrive%,%,$(BASEDIR)) 80BASEDRIVE:=$(firstword $(subst /, ,$(BASENODIR))) 81BASEDIR:=$(subst /cygdrive/$(BASEDRIVE)/,$(BASEDRIVE):/,$(BASEDIR)) 82endif 83endif 84else 85BASEDIR=. 86endif 87ifdef inOS2 88ifndef ECHO 89ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH)))) 90ifeq ($(ECHO),) 91ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH)))) 92ifeq ($(ECHO),) 93ECHO=echo 94else 95ECHO:=$(firstword $(ECHO)) 96endif 97else 98ECHO:=$(firstword $(ECHO)) 99endif 100endif 101export ECHO 102endif 103override DEFAULT_FPCDIR=../../../.. 104ifndef FPC 105ifdef PP 106FPC=$(PP) 107endif 108endif 109ifndef FPC 110FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) 111ifneq ($(FPCPROG),) 112FPCPROG:=$(firstword $(FPCPROG)) 113ifneq ($(CPU_TARGET),) 114FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB) 115else 116FPC:=$(shell $(FPCPROG) -PB) 117endif 118ifneq ($(findstring Error,$(FPC)),) 119override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 120else 121ifeq ($(strip $(wildcard $(FPC))),) 122FPC:=$(firstword $(FPCPROG)) 123endif 124endif 125else 126override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 127endif 128endif 129override FPC:=$(subst $(SRCEXEEXT),,$(FPC)) 130override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT) 131FOUNDFPC:=$(strip $(wildcard $(FPC))) 132ifeq ($(FOUNDFPC),) 133FOUNDFPC=$(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH)))) 134ifeq ($(FOUNDFPC),) 135$(error Compiler $(FPC) not found) 136endif 137endif 138ifndef FPC_COMPILERINFO 139FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO) 140endif 141ifndef FPC_VERSION 142FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO)) 143endif 144export FPC FPC_VERSION FPC_COMPILERINFO 145unexport CHECKDEPEND ALLDEPENDENCIES 146ifndef CPU_TARGET 147ifdef CPU_TARGET_DEFAULT 148CPU_TARGET=$(CPU_TARGET_DEFAULT) 149endif 150endif 151ifndef OS_TARGET 152ifdef OS_TARGET_DEFAULT 153OS_TARGET=$(OS_TARGET_DEFAULT) 154endif 155endif 156ifndef CPU_SOURCE 157CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO)) 158endif 159ifndef CPU_TARGET 160CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO)) 161endif 162ifndef OS_SOURCE 163OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO)) 164endif 165ifndef OS_TARGET 166OS_TARGET:=$(word 5,$(FPC_COMPILERINFO)) 167endif 168FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET) 169FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE) 170ifeq ($(CPU_TARGET),armeb) 171ARCH=arm 172override FPCOPT+=-Cb 173else 174ifeq ($(CPU_TARGET),armel) 175ARCH=arm 176override FPCOPT+=-CaEABI 177else 178ARCH=$(CPU_TARGET) 179endif 180endif 181ifeq ($(FULL_TARGET),arm-embedded) 182ifeq ($(SUBARCH),) 183$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined) 184endif 185override FPCOPT+=-Cp$(SUBARCH) 186endif 187ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) 188TARGETSUFFIX=$(OS_TARGET) 189SOURCESUFFIX=$(OS_SOURCE) 190else 191ifneq ($(findstring $(OS_TARGET),$(LIMIT83fs)),) 192TARGETSUFFIX=$(OS_TARGET) 193else 194TARGETSUFFIX=$(FULL_TARGET) 195endif 196SOURCESUFFIX=$(FULL_SOURCE) 197endif 198ifneq ($(FULL_TARGET),$(FULL_SOURCE)) 199CROSSCOMPILE=1 200endif 201ifeq ($(findstring makefile,$(MAKECMDGOALS)),) 202ifeq ($(findstring $(FULL_TARGET),$(MAKEFILETARGETS)),) 203$(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first) 204endif 205endif 206ifneq ($(findstring $(OS_TARGET),$(BSDs)),) 207BSDhier=1 208endif 209ifeq ($(OS_TARGET),linux) 210linuxHier=1 211endif 212export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE 213ifdef FPCDIR 214override FPCDIR:=$(subst \,/,$(FPCDIR)) 215ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),) 216override FPCDIR=wrong 217endif 218else 219override FPCDIR=wrong 220endif 221ifdef DEFAULT_FPCDIR 222ifeq ($(FPCDIR),wrong) 223override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR)) 224ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),) 225override FPCDIR=wrong 226endif 227endif 228endif 229ifeq ($(FPCDIR),wrong) 230ifdef inUnix 231override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION) 232ifeq ($(wildcard $(FPCDIR)/units),) 233override FPCDIR=/usr/lib/fpc/$(FPC_VERSION) 234endif 235else 236override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH)))))) 237override FPCDIR:=$(FPCDIR)/.. 238ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),) 239override FPCDIR:=$(FPCDIR)/.. 240ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),) 241override FPCDIR:=$(BASEDIR) 242ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),) 243override FPCDIR=c:/pp 244endif 245endif 246endif 247endif 248endif 249ifndef CROSSBINDIR 250CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX)) 251endif 252ifneq ($(findstring $(OS_TARGET),darwin iphonesim),) 253ifeq ($(OS_SOURCE),darwin) 254DARWIN2DARWIN=1 255endif 256endif 257ifndef BINUTILSPREFIX 258ifndef CROSSBINDIR 259ifdef CROSSCOMPILE 260ifndef DARWIN2DARWIN 261BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)- 262endif 263endif 264endif 265endif 266UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX)) 267ifeq ($(UNITSDIR),) 268UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET)) 269endif 270PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra) 271ifndef FPCFPMAKE 272ifdef CROSSCOMPILE 273ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),) 274FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) 275ifneq ($(FPCPROG),) 276FPCPROG:=$(firstword $(FPCPROG)) 277FPCFPMAKE:=$(shell $(FPCPROG) -PB) 278ifeq ($(strip $(wildcard $(FPCFPMAKE))),) 279FPCFPMAKE:=$(firstword $(FPCPROG)) 280endif 281else 282override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 283endif 284else 285FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))) 286FPMAKE_SKIP_CONFIG=-n 287export FPCFPMAKE 288export FPMAKE_SKIP_CONFIG 289endif 290else 291FPMAKE_SKIP_CONFIG=-n 292FPCFPMAKE=$(FPC) 293endif 294endif 295override PACKAGE_NAME=fcl-db 296PACKAGEDIR_MAIN:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /fcl-db/Makefile.fpc,$(PACKAGESDIR)))))) 297ifeq ($(FULL_TARGET),i386-linux) 298override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 299endif 300ifeq ($(FULL_TARGET),i386-go32v2) 301override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 302endif 303ifeq ($(FULL_TARGET),i386-win32) 304override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 305endif 306ifeq ($(FULL_TARGET),i386-os2) 307override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 308endif 309ifeq ($(FULL_TARGET),i386-freebsd) 310override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 311endif 312ifeq ($(FULL_TARGET),i386-beos) 313override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 314endif 315ifeq ($(FULL_TARGET),i386-haiku) 316override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 317endif 318ifeq ($(FULL_TARGET),i386-netbsd) 319override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 320endif 321ifeq ($(FULL_TARGET),i386-solaris) 322override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 323endif 324ifeq ($(FULL_TARGET),i386-qnx) 325override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 326endif 327ifeq ($(FULL_TARGET),i386-netware) 328override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 329endif 330ifeq ($(FULL_TARGET),i386-openbsd) 331override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 332endif 333ifeq ($(FULL_TARGET),i386-wdosx) 334override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 335endif 336ifeq ($(FULL_TARGET),i386-darwin) 337override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 338endif 339ifeq ($(FULL_TARGET),i386-emx) 340override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 341endif 342ifeq ($(FULL_TARGET),i386-watcom) 343override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 344endif 345ifeq ($(FULL_TARGET),i386-netwlibc) 346override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 347endif 348ifeq ($(FULL_TARGET),i386-wince) 349override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 350endif 351ifeq ($(FULL_TARGET),i386-embedded) 352override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 353endif 354ifeq ($(FULL_TARGET),i386-symbian) 355override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 356endif 357ifeq ($(FULL_TARGET),i386-nativent) 358override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 359endif 360ifeq ($(FULL_TARGET),i386-iphonesim) 361override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 362endif 363ifeq ($(FULL_TARGET),m68k-linux) 364override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 365endif 366ifeq ($(FULL_TARGET),m68k-freebsd) 367override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 368endif 369ifeq ($(FULL_TARGET),m68k-netbsd) 370override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 371endif 372ifeq ($(FULL_TARGET),m68k-amiga) 373override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 374endif 375ifeq ($(FULL_TARGET),m68k-atari) 376override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 377endif 378ifeq ($(FULL_TARGET),m68k-openbsd) 379override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 380endif 381ifeq ($(FULL_TARGET),m68k-palmos) 382override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 383endif 384ifeq ($(FULL_TARGET),m68k-embedded) 385override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 386endif 387ifeq ($(FULL_TARGET),powerpc-linux) 388override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 389endif 390ifeq ($(FULL_TARGET),powerpc-netbsd) 391override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 392endif 393ifeq ($(FULL_TARGET),powerpc-amiga) 394override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 395endif 396ifeq ($(FULL_TARGET),powerpc-macos) 397override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 398endif 399ifeq ($(FULL_TARGET),powerpc-darwin) 400override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 401endif 402ifeq ($(FULL_TARGET),powerpc-morphos) 403override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 404endif 405ifeq ($(FULL_TARGET),powerpc-embedded) 406override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 407endif 408ifeq ($(FULL_TARGET),powerpc-wii) 409override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 410endif 411ifeq ($(FULL_TARGET),powerpc-aix) 412override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 413endif 414ifeq ($(FULL_TARGET),sparc-linux) 415override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 416endif 417ifeq ($(FULL_TARGET),sparc-netbsd) 418override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 419endif 420ifeq ($(FULL_TARGET),sparc-solaris) 421override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 422endif 423ifeq ($(FULL_TARGET),sparc-embedded) 424override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 425endif 426ifeq ($(FULL_TARGET),x86_64-linux) 427override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 428endif 429ifeq ($(FULL_TARGET),x86_64-freebsd) 430override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 431endif 432ifeq ($(FULL_TARGET),x86_64-netbsd) 433override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 434endif 435ifeq ($(FULL_TARGET),x86_64-solaris) 436override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 437endif 438ifeq ($(FULL_TARGET),x86_64-openbsd) 439override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 440endif 441ifeq ($(FULL_TARGET),x86_64-darwin) 442override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 443endif 444ifeq ($(FULL_TARGET),x86_64-win64) 445override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 446endif 447ifeq ($(FULL_TARGET),x86_64-embedded) 448override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 449endif 450ifeq ($(FULL_TARGET),arm-linux) 451override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 452endif 453ifeq ($(FULL_TARGET),arm-palmos) 454override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 455endif 456ifeq ($(FULL_TARGET),arm-darwin) 457override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 458endif 459ifeq ($(FULL_TARGET),arm-wince) 460override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 461endif 462ifeq ($(FULL_TARGET),arm-gba) 463override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 464endif 465ifeq ($(FULL_TARGET),arm-nds) 466override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 467endif 468ifeq ($(FULL_TARGET),arm-embedded) 469override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 470endif 471ifeq ($(FULL_TARGET),arm-symbian) 472override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 473endif 474ifeq ($(FULL_TARGET),powerpc64-linux) 475override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 476endif 477ifeq ($(FULL_TARGET),powerpc64-darwin) 478override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 479endif 480ifeq ($(FULL_TARGET),powerpc64-embedded) 481override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 482endif 483ifeq ($(FULL_TARGET),powerpc64-aix) 484override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 485endif 486ifeq ($(FULL_TARGET),avr-embedded) 487override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 488endif 489ifeq ($(FULL_TARGET),armeb-linux) 490override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 491endif 492ifeq ($(FULL_TARGET),armeb-embedded) 493override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 494endif 495ifeq ($(FULL_TARGET),mips-linux) 496override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 497endif 498ifeq ($(FULL_TARGET),mipsel-linux) 499override TARGET_UNITS+=fpddcodegen fpcgcreatedbf fpcgdbcoll fpcgsqlconst fpcgtiopf fpddpopcode 500endif 501ifeq ($(FULL_TARGET),i386-linux) 502override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 503endif 504ifeq ($(FULL_TARGET),i386-go32v2) 505override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 506endif 507ifeq ($(FULL_TARGET),i386-win32) 508override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 509endif 510ifeq ($(FULL_TARGET),i386-os2) 511override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 512endif 513ifeq ($(FULL_TARGET),i386-freebsd) 514override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 515endif 516ifeq ($(FULL_TARGET),i386-beos) 517override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 518endif 519ifeq ($(FULL_TARGET),i386-haiku) 520override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 521endif 522ifeq ($(FULL_TARGET),i386-netbsd) 523override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 524endif 525ifeq ($(FULL_TARGET),i386-solaris) 526override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 527endif 528ifeq ($(FULL_TARGET),i386-qnx) 529override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 530endif 531ifeq ($(FULL_TARGET),i386-netware) 532override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 533endif 534ifeq ($(FULL_TARGET),i386-openbsd) 535override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 536endif 537ifeq ($(FULL_TARGET),i386-wdosx) 538override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 539endif 540ifeq ($(FULL_TARGET),i386-darwin) 541override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 542endif 543ifeq ($(FULL_TARGET),i386-emx) 544override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 545endif 546ifeq ($(FULL_TARGET),i386-watcom) 547override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 548endif 549ifeq ($(FULL_TARGET),i386-netwlibc) 550override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 551endif 552ifeq ($(FULL_TARGET),i386-wince) 553override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 554endif 555ifeq ($(FULL_TARGET),i386-embedded) 556override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 557endif 558ifeq ($(FULL_TARGET),i386-symbian) 559override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 560endif 561ifeq ($(FULL_TARGET),i386-nativent) 562override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 563endif 564ifeq ($(FULL_TARGET),i386-iphonesim) 565override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 566endif 567ifeq ($(FULL_TARGET),m68k-linux) 568override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 569endif 570ifeq ($(FULL_TARGET),m68k-freebsd) 571override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 572endif 573ifeq ($(FULL_TARGET),m68k-netbsd) 574override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 575endif 576ifeq ($(FULL_TARGET),m68k-amiga) 577override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 578endif 579ifeq ($(FULL_TARGET),m68k-atari) 580override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 581endif 582ifeq ($(FULL_TARGET),m68k-openbsd) 583override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 584endif 585ifeq ($(FULL_TARGET),m68k-palmos) 586override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 587endif 588ifeq ($(FULL_TARGET),m68k-embedded) 589override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 590endif 591ifeq ($(FULL_TARGET),powerpc-linux) 592override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 593endif 594ifeq ($(FULL_TARGET),powerpc-netbsd) 595override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 596endif 597ifeq ($(FULL_TARGET),powerpc-amiga) 598override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 599endif 600ifeq ($(FULL_TARGET),powerpc-macos) 601override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 602endif 603ifeq ($(FULL_TARGET),powerpc-darwin) 604override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 605endif 606ifeq ($(FULL_TARGET),powerpc-morphos) 607override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 608endif 609ifeq ($(FULL_TARGET),powerpc-embedded) 610override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 611endif 612ifeq ($(FULL_TARGET),powerpc-wii) 613override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 614endif 615ifeq ($(FULL_TARGET),powerpc-aix) 616override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 617endif 618ifeq ($(FULL_TARGET),sparc-linux) 619override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 620endif 621ifeq ($(FULL_TARGET),sparc-netbsd) 622override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 623endif 624ifeq ($(FULL_TARGET),sparc-solaris) 625override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 626endif 627ifeq ($(FULL_TARGET),sparc-embedded) 628override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 629endif 630ifeq ($(FULL_TARGET),x86_64-linux) 631override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 632endif 633ifeq ($(FULL_TARGET),x86_64-freebsd) 634override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 635endif 636ifeq ($(FULL_TARGET),x86_64-netbsd) 637override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 638endif 639ifeq ($(FULL_TARGET),x86_64-solaris) 640override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 641endif 642ifeq ($(FULL_TARGET),x86_64-openbsd) 643override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 644endif 645ifeq ($(FULL_TARGET),x86_64-darwin) 646override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 647endif 648ifeq ($(FULL_TARGET),x86_64-win64) 649override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 650endif 651ifeq ($(FULL_TARGET),x86_64-embedded) 652override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 653endif 654ifeq ($(FULL_TARGET),arm-linux) 655override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 656endif 657ifeq ($(FULL_TARGET),arm-palmos) 658override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 659endif 660ifeq ($(FULL_TARGET),arm-darwin) 661override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 662endif 663ifeq ($(FULL_TARGET),arm-wince) 664override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 665endif 666ifeq ($(FULL_TARGET),arm-gba) 667override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 668endif 669ifeq ($(FULL_TARGET),arm-nds) 670override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 671endif 672ifeq ($(FULL_TARGET),arm-embedded) 673override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 674endif 675ifeq ($(FULL_TARGET),arm-symbian) 676override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 677endif 678ifeq ($(FULL_TARGET),powerpc64-linux) 679override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 680endif 681ifeq ($(FULL_TARGET),powerpc64-darwin) 682override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 683endif 684ifeq ($(FULL_TARGET),powerpc64-embedded) 685override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 686endif 687ifeq ($(FULL_TARGET),powerpc64-aix) 688override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 689endif 690ifeq ($(FULL_TARGET),avr-embedded) 691override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 692endif 693ifeq ($(FULL_TARGET),armeb-linux) 694override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 695endif 696ifeq ($(FULL_TARGET),armeb-embedded) 697override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 698endif 699ifeq ($(FULL_TARGET),mips-linux) 700override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 701endif 702ifeq ($(FULL_TARGET),mipsel-linux) 703override TARGET_RSTS+=fpddcodegen fpcgsqlconst fpddpopcode 704endif 705override INSTALL_FPCPACKAGE=y 706ifeq ($(FULL_TARGET),i386-linux) 707override COMPILER_OPTIONS+=-S2h 708endif 709ifeq ($(FULL_TARGET),i386-go32v2) 710override COMPILER_OPTIONS+=-S2h 711endif 712ifeq ($(FULL_TARGET),i386-win32) 713override COMPILER_OPTIONS+=-S2h 714endif 715ifeq ($(FULL_TARGET),i386-os2) 716override COMPILER_OPTIONS+=-S2h 717endif 718ifeq ($(FULL_TARGET),i386-freebsd) 719override COMPILER_OPTIONS+=-S2h 720endif 721ifeq ($(FULL_TARGET),i386-beos) 722override COMPILER_OPTIONS+=-S2h 723endif 724ifeq ($(FULL_TARGET),i386-haiku) 725override COMPILER_OPTIONS+=-S2h 726endif 727ifeq ($(FULL_TARGET),i386-netbsd) 728override COMPILER_OPTIONS+=-S2h 729endif 730ifeq ($(FULL_TARGET),i386-solaris) 731override COMPILER_OPTIONS+=-S2h 732endif 733ifeq ($(FULL_TARGET),i386-qnx) 734override COMPILER_OPTIONS+=-S2h 735endif 736ifeq ($(FULL_TARGET),i386-netware) 737override COMPILER_OPTIONS+=-S2h 738endif 739ifeq ($(FULL_TARGET),i386-openbsd) 740override COMPILER_OPTIONS+=-S2h 741endif 742ifeq ($(FULL_TARGET),i386-wdosx) 743override COMPILER_OPTIONS+=-S2h 744endif 745ifeq ($(FULL_TARGET),i386-darwin) 746override COMPILER_OPTIONS+=-S2h 747endif 748ifeq ($(FULL_TARGET),i386-emx) 749override COMPILER_OPTIONS+=-S2h 750endif 751ifeq ($(FULL_TARGET),i386-watcom) 752override COMPILER_OPTIONS+=-S2h 753endif 754ifeq ($(FULL_TARGET),i386-netwlibc) 755override COMPILER_OPTIONS+=-S2h 756endif 757ifeq ($(FULL_TARGET),i386-wince) 758override COMPILER_OPTIONS+=-S2h 759endif 760ifeq ($(FULL_TARGET),i386-embedded) 761override COMPILER_OPTIONS+=-S2h 762endif 763ifeq ($(FULL_TARGET),i386-symbian) 764override COMPILER_OPTIONS+=-S2h 765endif 766ifeq ($(FULL_TARGET),i386-nativent) 767override COMPILER_OPTIONS+=-S2h 768endif 769ifeq ($(FULL_TARGET),i386-iphonesim) 770override COMPILER_OPTIONS+=-S2h 771endif 772ifeq ($(FULL_TARGET),m68k-linux) 773override COMPILER_OPTIONS+=-S2h 774endif 775ifeq ($(FULL_TARGET),m68k-freebsd) 776override COMPILER_OPTIONS+=-S2h 777endif 778ifeq ($(FULL_TARGET),m68k-netbsd) 779override COMPILER_OPTIONS+=-S2h 780endif 781ifeq ($(FULL_TARGET),m68k-amiga) 782override COMPILER_OPTIONS+=-S2h 783endif 784ifeq ($(FULL_TARGET),m68k-atari) 785override COMPILER_OPTIONS+=-S2h 786endif 787ifeq ($(FULL_TARGET),m68k-openbsd) 788override COMPILER_OPTIONS+=-S2h 789endif 790ifeq ($(FULL_TARGET),m68k-palmos) 791override COMPILER_OPTIONS+=-S2h 792endif 793ifeq ($(FULL_TARGET),m68k-embedded) 794override COMPILER_OPTIONS+=-S2h 795endif 796ifeq ($(FULL_TARGET),powerpc-linux) 797override COMPILER_OPTIONS+=-S2h 798endif 799ifeq ($(FULL_TARGET),powerpc-netbsd) 800override COMPILER_OPTIONS+=-S2h 801endif 802ifeq ($(FULL_TARGET),powerpc-amiga) 803override COMPILER_OPTIONS+=-S2h 804endif 805ifeq ($(FULL_TARGET),powerpc-macos) 806override COMPILER_OPTIONS+=-S2h 807endif 808ifeq ($(FULL_TARGET),powerpc-darwin) 809override COMPILER_OPTIONS+=-S2h 810endif 811ifeq ($(FULL_TARGET),powerpc-morphos) 812override COMPILER_OPTIONS+=-S2h 813endif 814ifeq ($(FULL_TARGET),powerpc-embedded) 815override COMPILER_OPTIONS+=-S2h 816endif 817ifeq ($(FULL_TARGET),powerpc-wii) 818override COMPILER_OPTIONS+=-S2h 819endif 820ifeq ($(FULL_TARGET),powerpc-aix) 821override COMPILER_OPTIONS+=-S2h 822endif 823ifeq ($(FULL_TARGET),sparc-linux) 824override COMPILER_OPTIONS+=-S2h 825endif 826ifeq ($(FULL_TARGET),sparc-netbsd) 827override COMPILER_OPTIONS+=-S2h 828endif 829ifeq ($(FULL_TARGET),sparc-solaris) 830override COMPILER_OPTIONS+=-S2h 831endif 832ifeq ($(FULL_TARGET),sparc-embedded) 833override COMPILER_OPTIONS+=-S2h 834endif 835ifeq ($(FULL_TARGET),x86_64-linux) 836override COMPILER_OPTIONS+=-S2h 837endif 838ifeq ($(FULL_TARGET),x86_64-freebsd) 839override COMPILER_OPTIONS+=-S2h 840endif 841ifeq ($(FULL_TARGET),x86_64-netbsd) 842override COMPILER_OPTIONS+=-S2h 843endif 844ifeq ($(FULL_TARGET),x86_64-solaris) 845override COMPILER_OPTIONS+=-S2h 846endif 847ifeq ($(FULL_TARGET),x86_64-openbsd) 848override COMPILER_OPTIONS+=-S2h 849endif 850ifeq ($(FULL_TARGET),x86_64-darwin) 851override COMPILER_OPTIONS+=-S2h 852endif 853ifeq ($(FULL_TARGET),x86_64-win64) 854override COMPILER_OPTIONS+=-S2h 855endif 856ifeq ($(FULL_TARGET),x86_64-embedded) 857override COMPILER_OPTIONS+=-S2h 858endif 859ifeq ($(FULL_TARGET),arm-linux) 860override COMPILER_OPTIONS+=-S2h 861endif 862ifeq ($(FULL_TARGET),arm-palmos) 863override COMPILER_OPTIONS+=-S2h 864endif 865ifeq ($(FULL_TARGET),arm-darwin) 866override COMPILER_OPTIONS+=-S2h 867endif 868ifeq ($(FULL_TARGET),arm-wince) 869override COMPILER_OPTIONS+=-S2h 870endif 871ifeq ($(FULL_TARGET),arm-gba) 872override COMPILER_OPTIONS+=-S2h 873endif 874ifeq ($(FULL_TARGET),arm-nds) 875override COMPILER_OPTIONS+=-S2h 876endif 877ifeq ($(FULL_TARGET),arm-embedded) 878override COMPILER_OPTIONS+=-S2h 879endif 880ifeq ($(FULL_TARGET),arm-symbian) 881override COMPILER_OPTIONS+=-S2h 882endif 883ifeq ($(FULL_TARGET),powerpc64-linux) 884override COMPILER_OPTIONS+=-S2h 885endif 886ifeq ($(FULL_TARGET),powerpc64-darwin) 887override COMPILER_OPTIONS+=-S2h 888endif 889ifeq ($(FULL_TARGET),powerpc64-embedded) 890override COMPILER_OPTIONS+=-S2h 891endif 892ifeq ($(FULL_TARGET),powerpc64-aix) 893override COMPILER_OPTIONS+=-S2h 894endif 895ifeq ($(FULL_TARGET),avr-embedded) 896override COMPILER_OPTIONS+=-S2h 897endif 898ifeq ($(FULL_TARGET),armeb-linux) 899override COMPILER_OPTIONS+=-S2h 900endif 901ifeq ($(FULL_TARGET),armeb-embedded) 902override COMPILER_OPTIONS+=-S2h 903endif 904ifeq ($(FULL_TARGET),mips-linux) 905override COMPILER_OPTIONS+=-S2h 906endif 907ifeq ($(FULL_TARGET),mipsel-linux) 908override COMPILER_OPTIONS+=-S2h 909endif 910ifdef REQUIRE_UNITSDIR 911override UNITSDIR+=$(REQUIRE_UNITSDIR) 912endif 913ifdef REQUIRE_PACKAGESDIR 914override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR) 915endif 916ifdef ZIPINSTALL 917ifneq ($(findstring $(OS_TARGET),$(UNIXs)),) 918UNIXHier=1 919endif 920else 921ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),) 922UNIXHier=1 923endif 924endif 925ifndef INSTALL_PREFIX 926ifdef PREFIX 927INSTALL_PREFIX=$(PREFIX) 928endif 929endif 930ifndef INSTALL_PREFIX 931ifdef UNIXHier 932INSTALL_PREFIX=/usr/local 933else 934ifdef INSTALL_FPCPACKAGE 935INSTALL_BASEDIR:=/pp 936else 937INSTALL_BASEDIR:=/$(PACKAGE_NAME) 938endif 939endif 940endif 941export INSTALL_PREFIX 942ifdef INSTALL_FPCSUBDIR 943export INSTALL_FPCSUBDIR 944endif 945ifndef DIST_DESTDIR 946DIST_DESTDIR:=$(BASEDIR) 947endif 948export DIST_DESTDIR 949ifndef COMPILER_UNITTARGETDIR 950ifdef PACKAGEDIR_MAIN 951COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX) 952else 953COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX) 954endif 955endif 956ifndef COMPILER_TARGETDIR 957COMPILER_TARGETDIR=. 958endif 959ifndef INSTALL_BASEDIR 960ifdef UNIXHier 961ifdef INSTALL_FPCPACKAGE 962INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION) 963else 964INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME) 965endif 966else 967INSTALL_BASEDIR:=$(INSTALL_PREFIX) 968endif 969endif 970ifndef INSTALL_BINDIR 971ifdef UNIXHier 972INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin 973else 974INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin 975ifdef INSTALL_FPCPACKAGE 976ifdef CROSSCOMPILE 977ifdef CROSSINSTALL 978INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX) 979else 980INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX) 981endif 982else 983INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX) 984endif 985endif 986endif 987endif 988ifndef INSTALL_UNITDIR 989INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX) 990ifdef INSTALL_FPCPACKAGE 991ifdef PACKAGE_NAME 992INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME) 993endif 994endif 995endif 996ifndef INSTALL_LIBDIR 997ifdef UNIXHier 998INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib 999else 1000INSTALL_LIBDIR:=$(INSTALL_UNITDIR) 1001endif 1002endif 1003ifndef INSTALL_SOURCEDIR 1004ifdef UNIXHier 1005ifdef BSDhier 1006SRCPREFIXDIR=share/src 1007else 1008ifdef linuxHier 1009SRCPREFIXDIR=share/src 1010else 1011SRCPREFIXDIR=src 1012endif 1013endif 1014ifdef INSTALL_FPCPACKAGE 1015ifdef INSTALL_FPCSUBDIR 1016INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME) 1017else 1018INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 1019endif 1020else 1021INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 1022endif 1023else 1024ifdef INSTALL_FPCPACKAGE 1025ifdef INSTALL_FPCSUBDIR 1026INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME) 1027else 1028INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME) 1029endif 1030else 1031INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source 1032endif 1033endif 1034endif 1035ifndef INSTALL_DOCDIR 1036ifdef UNIXHier 1037ifdef BSDhier 1038DOCPREFIXDIR=share/doc 1039else 1040ifdef linuxHier 1041DOCPREFIXDIR=share/doc 1042else 1043DOCPREFIXDIR=doc 1044endif 1045endif 1046ifdef INSTALL_FPCPACKAGE 1047INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 1048else 1049INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 1050endif 1051else 1052ifdef INSTALL_FPCPACKAGE 1053INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME) 1054else 1055INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc 1056endif 1057endif 1058endif 1059ifndef INSTALL_EXAMPLEDIR 1060ifdef UNIXHier 1061ifdef INSTALL_FPCPACKAGE 1062ifdef BSDhier 1063INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 1064else 1065ifdef linuxHier 1066INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples 1067else 1068INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME) 1069endif 1070endif 1071else 1072ifdef BSDhier 1073INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 1074else 1075ifdef linuxHier 1076INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 1077else 1078INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 1079endif 1080endif 1081endif 1082else 1083ifdef INSTALL_FPCPACKAGE 1084INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME) 1085else 1086INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples 1087endif 1088endif 1089endif 1090ifndef INSTALL_DATADIR 1091INSTALL_DATADIR=$(INSTALL_BASEDIR) 1092endif 1093ifndef INSTALL_SHAREDDIR 1094INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib 1095endif 1096ifdef CROSSCOMPILE 1097ifndef CROSSBINDIR 1098CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX)) 1099ifeq ($(CROSSBINDIR),) 1100CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE)) 1101endif 1102endif 1103else 1104CROSSBINDIR= 1105endif 1106BATCHEXT=.bat 1107LOADEREXT=.as 1108EXEEXT=.exe 1109PPLEXT=.ppl 1110PPUEXT=.ppu 1111OEXT=.o 1112ASMEXT=.s 1113SMARTEXT=.sl 1114STATICLIBEXT=.a 1115SHAREDLIBEXT=.so 1116SHAREDLIBPREFIX=libfp 1117STATICLIBPREFIX=libp 1118IMPORTLIBPREFIX=libimp 1119RSTEXT=.rst 1120EXEDBGEXT=.dbg 1121ifeq ($(OS_TARGET),go32v1) 1122STATICLIBPREFIX= 1123SHORTSUFFIX=v1 1124endif 1125ifeq ($(OS_TARGET),go32v2) 1126STATICLIBPREFIX= 1127SHORTSUFFIX=dos 1128IMPORTLIBPREFIX= 1129endif 1130ifeq ($(OS_TARGET),watcom) 1131STATICLIBPREFIX= 1132OEXT=.obj 1133ASMEXT=.asm 1134SHAREDLIBEXT=.dll 1135SHORTSUFFIX=wat 1136IMPORTLIBPREFIX= 1137endif 1138ifeq ($(OS_TARGET),linux) 1139BATCHEXT=.sh 1140EXEEXT= 1141HASSHAREDLIB=1 1142SHORTSUFFIX=lnx 1143endif 1144ifeq ($(OS_TARGET),freebsd) 1145BATCHEXT=.sh 1146EXEEXT= 1147HASSHAREDLIB=1 1148SHORTSUFFIX=fbs 1149endif 1150ifeq ($(OS_TARGET),netbsd) 1151BATCHEXT=.sh 1152EXEEXT= 1153HASSHAREDLIB=1 1154SHORTSUFFIX=nbs 1155endif 1156ifeq ($(OS_TARGET),openbsd) 1157BATCHEXT=.sh 1158EXEEXT= 1159HASSHAREDLIB=1 1160SHORTSUFFIX=obs 1161endif 1162ifeq ($(OS_TARGET),win32) 1163SHAREDLIBEXT=.dll 1164SHORTSUFFIX=w32 1165endif 1166ifeq ($(OS_TARGET),os2) 1167BATCHEXT=.cmd 1168AOUTEXT=.out 1169STATICLIBPREFIX= 1170SHAREDLIBEXT=.dll 1171SHORTSUFFIX=os2 1172ECHO=echo 1173IMPORTLIBPREFIX= 1174endif 1175ifeq ($(OS_TARGET),emx) 1176BATCHEXT=.cmd 1177AOUTEXT=.out 1178STATICLIBPREFIX= 1179SHAREDLIBEXT=.dll 1180SHORTSUFFIX=emx 1181ECHO=echo 1182IMPORTLIBPREFIX= 1183endif 1184ifeq ($(OS_TARGET),amiga) 1185EXEEXT= 1186SHAREDLIBEXT=.library 1187SHORTSUFFIX=amg 1188endif 1189ifeq ($(OS_TARGET),morphos) 1190EXEEXT= 1191SHAREDLIBEXT=.library 1192SHORTSUFFIX=mos 1193endif 1194ifeq ($(OS_TARGET),atari) 1195EXEEXT=.ttp 1196SHORTSUFFIX=ata 1197endif 1198ifeq ($(OS_TARGET),beos) 1199BATCHEXT=.sh 1200EXEEXT= 1201SHORTSUFFIX=be 1202endif 1203ifeq ($(OS_TARGET),haiku) 1204BATCHEXT=.sh 1205EXEEXT= 1206SHORTSUFFIX=hai 1207endif 1208ifeq ($(OS_TARGET),solaris) 1209BATCHEXT=.sh 1210EXEEXT= 1211SHORTSUFFIX=sun 1212endif 1213ifeq ($(OS_TARGET),qnx) 1214BATCHEXT=.sh 1215EXEEXT= 1216SHORTSUFFIX=qnx 1217endif 1218ifeq ($(OS_TARGET),netware) 1219EXEEXT=.nlm 1220STATICLIBPREFIX= 1221SHORTSUFFIX=nw 1222IMPORTLIBPREFIX=imp 1223endif 1224ifeq ($(OS_TARGET),netwlibc) 1225EXEEXT=.nlm 1226STATICLIBPREFIX= 1227SHORTSUFFIX=nwl 1228IMPORTLIBPREFIX=imp 1229endif 1230ifeq ($(OS_TARGET),macos) 1231BATCHEXT= 1232EXEEXT= 1233DEBUGSYMEXT=.xcoff 1234SHORTSUFFIX=mac 1235IMPORTLIBPREFIX=imp 1236endif 1237ifneq ($(findstring $(OS_TARGET),darwin iphonesim),) 1238BATCHEXT=.sh 1239EXEEXT= 1240HASSHAREDLIB=1 1241SHORTSUFFIX=dwn 1242EXEDBGEXT=.dSYM 1243endif 1244ifeq ($(OS_TARGET),gba) 1245EXEEXT=.gba 1246SHAREDLIBEXT=.so 1247SHORTSUFFIX=gba 1248endif 1249ifeq ($(OS_TARGET),symbian) 1250SHAREDLIBEXT=.dll 1251SHORTSUFFIX=symbian 1252endif 1253ifeq ($(OS_TARGET),NativeNT) 1254SHAREDLIBEXT=.dll 1255SHORTSUFFIX=nativent 1256endif 1257ifeq ($(OS_TARGET),wii) 1258EXEEXT=.dol 1259SHAREDLIBEXT=.so 1260SHORTSUFFIX=wii 1261endif 1262ifeq ($(OS_TARGET),aix) 1263BATCHEXT=.sh 1264EXEEXT= 1265SHORTSUFFIX=aix 1266endif 1267ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) 1268FPCMADE=fpcmade.$(SHORTSUFFIX) 1269ZIPSUFFIX=$(SHORTSUFFIX) 1270ZIPCROSSPREFIX= 1271ZIPSOURCESUFFIX=src 1272ZIPEXAMPLESUFFIX=exm 1273else 1274FPCMADE=fpcmade.$(TARGETSUFFIX) 1275ZIPSOURCESUFFIX=.source 1276ZIPEXAMPLESUFFIX=.examples 1277ifdef CROSSCOMPILE 1278ZIPSUFFIX=.$(SOURCESUFFIX) 1279ZIPCROSSPREFIX=$(TARGETSUFFIX)- 1280else 1281ZIPSUFFIX=.$(TARGETSUFFIX) 1282ZIPCROSSPREFIX= 1283endif 1284endif 1285ifndef ECHO 1286ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH)))) 1287ifeq ($(ECHO),) 1288ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH)))) 1289ifeq ($(ECHO),) 1290ECHO= __missing_command_ECHO 1291else 1292ECHO:=$(firstword $(ECHO)) 1293endif 1294else 1295ECHO:=$(firstword $(ECHO)) 1296endif 1297endif 1298export ECHO 1299ifndef DATE 1300DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH)))) 1301ifeq ($(DATE),) 1302DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH)))) 1303ifeq ($(DATE),) 1304DATE= __missing_command_DATE 1305else 1306DATE:=$(firstword $(DATE)) 1307endif 1308else 1309DATE:=$(firstword $(DATE)) 1310endif 1311endif 1312export DATE 1313ifndef GINSTALL 1314GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH)))) 1315ifeq ($(GINSTALL),) 1316GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH)))) 1317ifeq ($(GINSTALL),) 1318GINSTALL= __missing_command_GINSTALL 1319else 1320GINSTALL:=$(firstword $(GINSTALL)) 1321endif 1322else 1323GINSTALL:=$(firstword $(GINSTALL)) 1324endif 1325endif 1326export GINSTALL 1327ifndef CPPROG 1328CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH)))) 1329ifeq ($(CPPROG),) 1330CPPROG= __missing_command_CPPROG 1331else 1332CPPROG:=$(firstword $(CPPROG)) 1333endif 1334endif 1335export CPPROG 1336ifndef RMPROG 1337RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH)))) 1338ifeq ($(RMPROG),) 1339RMPROG= __missing_command_RMPROG 1340else 1341RMPROG:=$(firstword $(RMPROG)) 1342endif 1343endif 1344export RMPROG 1345ifndef MVPROG 1346MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH)))) 1347ifeq ($(MVPROG),) 1348MVPROG= __missing_command_MVPROG 1349else 1350MVPROG:=$(firstword $(MVPROG)) 1351endif 1352endif 1353export MVPROG 1354ifndef MKDIRPROG 1355MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH)))) 1356ifeq ($(MKDIRPROG),) 1357MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH)))) 1358ifeq ($(MKDIRPROG),) 1359MKDIRPROG= __missing_command_MKDIRPROG 1360else 1361MKDIRPROG:=$(firstword $(MKDIRPROG)) 1362endif 1363else 1364MKDIRPROG:=$(firstword $(MKDIRPROG)) 1365endif 1366endif 1367export MKDIRPROG 1368ifndef ECHOREDIR 1369ifndef inUnix 1370ECHOREDIR=echo 1371else 1372ECHOREDIR=$(ECHO) 1373endif 1374endif 1375ifndef COPY 1376COPY:=$(CPPROG) -fp 1377endif 1378ifndef COPYTREE 1379COPYTREE:=$(CPPROG) -Rfp 1380endif 1381ifndef MKDIRTREE 1382MKDIRTREE:=$(MKDIRPROG) -p 1383endif 1384ifndef MOVE 1385MOVE:=$(MVPROG) -f 1386endif 1387ifndef DEL 1388DEL:=$(RMPROG) -f 1389endif 1390ifndef DELTREE 1391DELTREE:=$(RMPROG) -rf 1392endif 1393ifndef INSTALL 1394ifdef inUnix 1395INSTALL:=$(GINSTALL) -c -m 644 1396else 1397INSTALL:=$(COPY) 1398endif 1399endif 1400ifndef INSTALLEXE 1401ifdef inUnix 1402INSTALLEXE:=$(GINSTALL) -c -m 755 1403else 1404INSTALLEXE:=$(COPY) 1405endif 1406endif 1407ifndef MKDIR 1408MKDIR:=$(GINSTALL) -m 755 -d 1409endif 1410export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR 1411ifndef PPUMOVE 1412PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH)))) 1413ifeq ($(PPUMOVE),) 1414PPUMOVE= __missing_command_PPUMOVE 1415else 1416PPUMOVE:=$(firstword $(PPUMOVE)) 1417endif 1418endif 1419export PPUMOVE 1420ifndef FPCMAKE 1421FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH)))) 1422ifeq ($(FPCMAKE),) 1423FPCMAKE= __missing_command_FPCMAKE 1424else 1425FPCMAKE:=$(firstword $(FPCMAKE)) 1426endif 1427endif 1428export FPCMAKE 1429ifndef ZIPPROG 1430ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH)))) 1431ifeq ($(ZIPPROG),) 1432ZIPPROG= __missing_command_ZIPPROG 1433else 1434ZIPPROG:=$(firstword $(ZIPPROG)) 1435endif 1436endif 1437export ZIPPROG 1438ifndef TARPROG 1439TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH)))) 1440ifeq ($(TARPROG),) 1441TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH)))) 1442ifeq ($(TARPROG),) 1443TARPROG= __missing_command_TARPROG 1444else 1445TARPROG:=$(firstword $(TARPROG)) 1446endif 1447else 1448TARPROG:=$(firstword $(TARPROG)) 1449endif 1450endif 1451export TARPROG 1452ASNAME=$(BINUTILSPREFIX)as 1453LDNAME=$(BINUTILSPREFIX)ld 1454ARNAME=$(BINUTILSPREFIX)ar 1455RCNAME=$(BINUTILSPREFIX)rc 1456ifndef ASPROG 1457ifdef CROSSBINDIR 1458ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT) 1459else 1460ASPROG=$(ASNAME) 1461endif 1462endif 1463ifndef LDPROG 1464ifdef CROSSBINDIR 1465LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT) 1466else 1467LDPROG=$(LDNAME) 1468endif 1469endif 1470ifndef RCPROG 1471ifdef CROSSBINDIR 1472RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT) 1473else 1474RCPROG=$(RCNAME) 1475endif 1476endif 1477ifndef ARPROG 1478ifdef CROSSBINDIR 1479ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT) 1480else 1481ARPROG=$(ARNAME) 1482endif 1483endif 1484AS=$(ASPROG) 1485LD=$(LDPROG) 1486RC=$(RCPROG) 1487AR=$(ARPROG) 1488PPAS=ppas$(SRCBATCHEXT) 1489ifdef inUnix 1490LDCONFIG=ldconfig 1491else 1492LDCONFIG= 1493endif 1494ifdef DATE 1495DATESTR:=$(shell $(DATE) +%Y%m%d) 1496else 1497DATESTR= 1498endif 1499ZIPOPT=-9 1500ZIPEXT=.zip 1501ifeq ($(USETAR),bz2) 1502TAROPT=vj 1503TAREXT=.tar.bz2 1504else 1505TAROPT=vz 1506TAREXT=.tar.gz 1507endif 1508override REQUIRE_PACKAGES=rtl fcl-base 1509ifeq ($(FULL_TARGET),i386-linux) 1510REQUIRE_PACKAGES_RTL=1 1511REQUIRE_PACKAGES_PASZLIB=1 1512REQUIRE_PACKAGES_FCL-PROCESS=1 1513REQUIRE_PACKAGES_HASH=1 1514REQUIRE_PACKAGES_FPMKUNIT=1 1515REQUIRE_PACKAGES_FCL-BASE=1 1516endif 1517ifeq ($(FULL_TARGET),i386-go32v2) 1518REQUIRE_PACKAGES_RTL=1 1519REQUIRE_PACKAGES_PASZLIB=1 1520REQUIRE_PACKAGES_FCL-PROCESS=1 1521REQUIRE_PACKAGES_HASH=1 1522REQUIRE_PACKAGES_FPMKUNIT=1 1523REQUIRE_PACKAGES_FCL-BASE=1 1524endif 1525ifeq ($(FULL_TARGET),i386-win32) 1526REQUIRE_PACKAGES_RTL=1 1527REQUIRE_PACKAGES_PASZLIB=1 1528REQUIRE_PACKAGES_FCL-PROCESS=1 1529REQUIRE_PACKAGES_HASH=1 1530REQUIRE_PACKAGES_FPMKUNIT=1 1531REQUIRE_PACKAGES_FCL-BASE=1 1532endif 1533ifeq ($(FULL_TARGET),i386-os2) 1534REQUIRE_PACKAGES_RTL=1 1535REQUIRE_PACKAGES_PASZLIB=1 1536REQUIRE_PACKAGES_FCL-PROCESS=1 1537REQUIRE_PACKAGES_HASH=1 1538REQUIRE_PACKAGES_FPMKUNIT=1 1539REQUIRE_PACKAGES_FCL-BASE=1 1540endif 1541ifeq ($(FULL_TARGET),i386-freebsd) 1542REQUIRE_PACKAGES_RTL=1 1543REQUIRE_PACKAGES_PASZLIB=1 1544REQUIRE_PACKAGES_FCL-PROCESS=1 1545REQUIRE_PACKAGES_HASH=1 1546REQUIRE_PACKAGES_FPMKUNIT=1 1547REQUIRE_PACKAGES_FCL-BASE=1 1548endif 1549ifeq ($(FULL_TARGET),i386-beos) 1550REQUIRE_PACKAGES_RTL=1 1551REQUIRE_PACKAGES_PASZLIB=1 1552REQUIRE_PACKAGES_FCL-PROCESS=1 1553REQUIRE_PACKAGES_HASH=1 1554REQUIRE_PACKAGES_FPMKUNIT=1 1555REQUIRE_PACKAGES_FCL-BASE=1 1556endif 1557ifeq ($(FULL_TARGET),i386-haiku) 1558REQUIRE_PACKAGES_RTL=1 1559REQUIRE_PACKAGES_PASZLIB=1 1560REQUIRE_PACKAGES_FCL-PROCESS=1 1561REQUIRE_PACKAGES_HASH=1 1562REQUIRE_PACKAGES_FPMKUNIT=1 1563REQUIRE_PACKAGES_FCL-BASE=1 1564endif 1565ifeq ($(FULL_TARGET),i386-netbsd) 1566REQUIRE_PACKAGES_RTL=1 1567REQUIRE_PACKAGES_PASZLIB=1 1568REQUIRE_PACKAGES_FCL-PROCESS=1 1569REQUIRE_PACKAGES_HASH=1 1570REQUIRE_PACKAGES_FPMKUNIT=1 1571REQUIRE_PACKAGES_FCL-BASE=1 1572endif 1573ifeq ($(FULL_TARGET),i386-solaris) 1574REQUIRE_PACKAGES_RTL=1 1575REQUIRE_PACKAGES_PASZLIB=1 1576REQUIRE_PACKAGES_FCL-PROCESS=1 1577REQUIRE_PACKAGES_HASH=1 1578REQUIRE_PACKAGES_FPMKUNIT=1 1579REQUIRE_PACKAGES_FCL-BASE=1 1580endif 1581ifeq ($(FULL_TARGET),i386-qnx) 1582REQUIRE_PACKAGES_RTL=1 1583REQUIRE_PACKAGES_PASZLIB=1 1584REQUIRE_PACKAGES_FCL-PROCESS=1 1585REQUIRE_PACKAGES_HASH=1 1586REQUIRE_PACKAGES_FPMKUNIT=1 1587REQUIRE_PACKAGES_FCL-BASE=1 1588endif 1589ifeq ($(FULL_TARGET),i386-netware) 1590REQUIRE_PACKAGES_RTL=1 1591REQUIRE_PACKAGES_PASZLIB=1 1592REQUIRE_PACKAGES_FCL-PROCESS=1 1593REQUIRE_PACKAGES_HASH=1 1594REQUIRE_PACKAGES_FPMKUNIT=1 1595REQUIRE_PACKAGES_FCL-BASE=1 1596endif 1597ifeq ($(FULL_TARGET),i386-openbsd) 1598REQUIRE_PACKAGES_RTL=1 1599REQUIRE_PACKAGES_PASZLIB=1 1600REQUIRE_PACKAGES_FCL-PROCESS=1 1601REQUIRE_PACKAGES_HASH=1 1602REQUIRE_PACKAGES_FPMKUNIT=1 1603REQUIRE_PACKAGES_FCL-BASE=1 1604endif 1605ifeq ($(FULL_TARGET),i386-wdosx) 1606REQUIRE_PACKAGES_RTL=1 1607REQUIRE_PACKAGES_PASZLIB=1 1608REQUIRE_PACKAGES_FCL-PROCESS=1 1609REQUIRE_PACKAGES_HASH=1 1610REQUIRE_PACKAGES_FPMKUNIT=1 1611REQUIRE_PACKAGES_FCL-BASE=1 1612endif 1613ifeq ($(FULL_TARGET),i386-darwin) 1614REQUIRE_PACKAGES_RTL=1 1615REQUIRE_PACKAGES_PASZLIB=1 1616REQUIRE_PACKAGES_FCL-PROCESS=1 1617REQUIRE_PACKAGES_HASH=1 1618REQUIRE_PACKAGES_FPMKUNIT=1 1619REQUIRE_PACKAGES_FCL-BASE=1 1620endif 1621ifeq ($(FULL_TARGET),i386-emx) 1622REQUIRE_PACKAGES_RTL=1 1623REQUIRE_PACKAGES_PASZLIB=1 1624REQUIRE_PACKAGES_FCL-PROCESS=1 1625REQUIRE_PACKAGES_HASH=1 1626REQUIRE_PACKAGES_FPMKUNIT=1 1627REQUIRE_PACKAGES_FCL-BASE=1 1628endif 1629ifeq ($(FULL_TARGET),i386-watcom) 1630REQUIRE_PACKAGES_RTL=1 1631REQUIRE_PACKAGES_PASZLIB=1 1632REQUIRE_PACKAGES_FCL-PROCESS=1 1633REQUIRE_PACKAGES_HASH=1 1634REQUIRE_PACKAGES_FPMKUNIT=1 1635REQUIRE_PACKAGES_FCL-BASE=1 1636endif 1637ifeq ($(FULL_TARGET),i386-netwlibc) 1638REQUIRE_PACKAGES_RTL=1 1639REQUIRE_PACKAGES_PASZLIB=1 1640REQUIRE_PACKAGES_FCL-PROCESS=1 1641REQUIRE_PACKAGES_HASH=1 1642REQUIRE_PACKAGES_FPMKUNIT=1 1643REQUIRE_PACKAGES_FCL-BASE=1 1644endif 1645ifeq ($(FULL_TARGET),i386-wince) 1646REQUIRE_PACKAGES_RTL=1 1647REQUIRE_PACKAGES_PASZLIB=1 1648REQUIRE_PACKAGES_FCL-PROCESS=1 1649REQUIRE_PACKAGES_HASH=1 1650REQUIRE_PACKAGES_FPMKUNIT=1 1651REQUIRE_PACKAGES_FCL-BASE=1 1652endif 1653ifeq ($(FULL_TARGET),i386-embedded) 1654REQUIRE_PACKAGES_RTL=1 1655REQUIRE_PACKAGES_PASZLIB=1 1656REQUIRE_PACKAGES_FCL-PROCESS=1 1657REQUIRE_PACKAGES_HASH=1 1658REQUIRE_PACKAGES_FPMKUNIT=1 1659REQUIRE_PACKAGES_FCL-BASE=1 1660endif 1661ifeq ($(FULL_TARGET),i386-symbian) 1662REQUIRE_PACKAGES_RTL=1 1663REQUIRE_PACKAGES_PASZLIB=1 1664REQUIRE_PACKAGES_FCL-PROCESS=1 1665REQUIRE_PACKAGES_HASH=1 1666REQUIRE_PACKAGES_FPMKUNIT=1 1667REQUIRE_PACKAGES_FCL-BASE=1 1668endif 1669ifeq ($(FULL_TARGET),i386-nativent) 1670REQUIRE_PACKAGES_RTL=1 1671REQUIRE_PACKAGES_PASZLIB=1 1672REQUIRE_PACKAGES_FCL-PROCESS=1 1673REQUIRE_PACKAGES_HASH=1 1674REQUIRE_PACKAGES_FPMKUNIT=1 1675REQUIRE_PACKAGES_FCL-BASE=1 1676endif 1677ifeq ($(FULL_TARGET),i386-iphonesim) 1678REQUIRE_PACKAGES_RTL=1 1679REQUIRE_PACKAGES_PASZLIB=1 1680REQUIRE_PACKAGES_FCL-PROCESS=1 1681REQUIRE_PACKAGES_HASH=1 1682REQUIRE_PACKAGES_FPMKUNIT=1 1683REQUIRE_PACKAGES_FCL-BASE=1 1684endif 1685ifeq ($(FULL_TARGET),m68k-linux) 1686REQUIRE_PACKAGES_RTL=1 1687REQUIRE_PACKAGES_PASZLIB=1 1688REQUIRE_PACKAGES_FCL-PROCESS=1 1689REQUIRE_PACKAGES_HASH=1 1690REQUIRE_PACKAGES_FPMKUNIT=1 1691REQUIRE_PACKAGES_FCL-BASE=1 1692endif 1693ifeq ($(FULL_TARGET),m68k-freebsd) 1694REQUIRE_PACKAGES_RTL=1 1695REQUIRE_PACKAGES_PASZLIB=1 1696REQUIRE_PACKAGES_FCL-PROCESS=1 1697REQUIRE_PACKAGES_HASH=1 1698REQUIRE_PACKAGES_FPMKUNIT=1 1699REQUIRE_PACKAGES_FCL-BASE=1 1700endif 1701ifeq ($(FULL_TARGET),m68k-netbsd) 1702REQUIRE_PACKAGES_RTL=1 1703REQUIRE_PACKAGES_PASZLIB=1 1704REQUIRE_PACKAGES_FCL-PROCESS=1 1705REQUIRE_PACKAGES_HASH=1 1706REQUIRE_PACKAGES_FPMKUNIT=1 1707REQUIRE_PACKAGES_FCL-BASE=1 1708endif 1709ifeq ($(FULL_TARGET),m68k-amiga) 1710REQUIRE_PACKAGES_RTL=1 1711REQUIRE_PACKAGES_PASZLIB=1 1712REQUIRE_PACKAGES_FCL-PROCESS=1 1713REQUIRE_PACKAGES_HASH=1 1714REQUIRE_PACKAGES_FPMKUNIT=1 1715REQUIRE_PACKAGES_FCL-BASE=1 1716endif 1717ifeq ($(FULL_TARGET),m68k-atari) 1718REQUIRE_PACKAGES_RTL=1 1719REQUIRE_PACKAGES_PASZLIB=1 1720REQUIRE_PACKAGES_FCL-PROCESS=1 1721REQUIRE_PACKAGES_HASH=1 1722REQUIRE_PACKAGES_FPMKUNIT=1 1723REQUIRE_PACKAGES_FCL-BASE=1 1724endif 1725ifeq ($(FULL_TARGET),m68k-openbsd) 1726REQUIRE_PACKAGES_RTL=1 1727REQUIRE_PACKAGES_PASZLIB=1 1728REQUIRE_PACKAGES_FCL-PROCESS=1 1729REQUIRE_PACKAGES_HASH=1 1730REQUIRE_PACKAGES_FPMKUNIT=1 1731REQUIRE_PACKAGES_FCL-BASE=1 1732endif 1733ifeq ($(FULL_TARGET),m68k-palmos) 1734REQUIRE_PACKAGES_RTL=1 1735REQUIRE_PACKAGES_PASZLIB=1 1736REQUIRE_PACKAGES_FCL-PROCESS=1 1737REQUIRE_PACKAGES_HASH=1 1738REQUIRE_PACKAGES_FPMKUNIT=1 1739REQUIRE_PACKAGES_FCL-BASE=1 1740endif 1741ifeq ($(FULL_TARGET),m68k-embedded) 1742REQUIRE_PACKAGES_RTL=1 1743REQUIRE_PACKAGES_PASZLIB=1 1744REQUIRE_PACKAGES_FCL-PROCESS=1 1745REQUIRE_PACKAGES_HASH=1 1746REQUIRE_PACKAGES_FPMKUNIT=1 1747REQUIRE_PACKAGES_FCL-BASE=1 1748endif 1749ifeq ($(FULL_TARGET),powerpc-linux) 1750REQUIRE_PACKAGES_RTL=1 1751REQUIRE_PACKAGES_PASZLIB=1 1752REQUIRE_PACKAGES_FCL-PROCESS=1 1753REQUIRE_PACKAGES_HASH=1 1754REQUIRE_PACKAGES_FPMKUNIT=1 1755REQUIRE_PACKAGES_FCL-BASE=1 1756endif 1757ifeq ($(FULL_TARGET),powerpc-netbsd) 1758REQUIRE_PACKAGES_RTL=1 1759REQUIRE_PACKAGES_PASZLIB=1 1760REQUIRE_PACKAGES_FCL-PROCESS=1 1761REQUIRE_PACKAGES_HASH=1 1762REQUIRE_PACKAGES_FPMKUNIT=1 1763REQUIRE_PACKAGES_FCL-BASE=1 1764endif 1765ifeq ($(FULL_TARGET),powerpc-amiga) 1766REQUIRE_PACKAGES_RTL=1 1767REQUIRE_PACKAGES_PASZLIB=1 1768REQUIRE_PACKAGES_FCL-PROCESS=1 1769REQUIRE_PACKAGES_HASH=1 1770REQUIRE_PACKAGES_FPMKUNIT=1 1771REQUIRE_PACKAGES_FCL-BASE=1 1772endif 1773ifeq ($(FULL_TARGET),powerpc-macos) 1774REQUIRE_PACKAGES_RTL=1 1775REQUIRE_PACKAGES_PASZLIB=1 1776REQUIRE_PACKAGES_FCL-PROCESS=1 1777REQUIRE_PACKAGES_HASH=1 1778REQUIRE_PACKAGES_FPMKUNIT=1 1779REQUIRE_PACKAGES_FCL-BASE=1 1780endif 1781ifeq ($(FULL_TARGET),powerpc-darwin) 1782REQUIRE_PACKAGES_RTL=1 1783REQUIRE_PACKAGES_PASZLIB=1 1784REQUIRE_PACKAGES_FCL-PROCESS=1 1785REQUIRE_PACKAGES_HASH=1 1786REQUIRE_PACKAGES_FPMKUNIT=1 1787REQUIRE_PACKAGES_FCL-BASE=1 1788endif 1789ifeq ($(FULL_TARGET),powerpc-morphos) 1790REQUIRE_PACKAGES_RTL=1 1791REQUIRE_PACKAGES_PASZLIB=1 1792REQUIRE_PACKAGES_FCL-PROCESS=1 1793REQUIRE_PACKAGES_HASH=1 1794REQUIRE_PACKAGES_FPMKUNIT=1 1795REQUIRE_PACKAGES_FCL-BASE=1 1796endif 1797ifeq ($(FULL_TARGET),powerpc-embedded) 1798REQUIRE_PACKAGES_RTL=1 1799REQUIRE_PACKAGES_PASZLIB=1 1800REQUIRE_PACKAGES_FCL-PROCESS=1 1801REQUIRE_PACKAGES_HASH=1 1802REQUIRE_PACKAGES_FPMKUNIT=1 1803REQUIRE_PACKAGES_FCL-BASE=1 1804endif 1805ifeq ($(FULL_TARGET),powerpc-wii) 1806REQUIRE_PACKAGES_RTL=1 1807REQUIRE_PACKAGES_PASZLIB=1 1808REQUIRE_PACKAGES_FCL-PROCESS=1 1809REQUIRE_PACKAGES_HASH=1 1810REQUIRE_PACKAGES_FPMKUNIT=1 1811REQUIRE_PACKAGES_FCL-BASE=1 1812endif 1813ifeq ($(FULL_TARGET),powerpc-aix) 1814REQUIRE_PACKAGES_RTL=1 1815REQUIRE_PACKAGES_PASZLIB=1 1816REQUIRE_PACKAGES_FCL-PROCESS=1 1817REQUIRE_PACKAGES_HASH=1 1818REQUIRE_PACKAGES_FPMKUNIT=1 1819REQUIRE_PACKAGES_FCL-BASE=1 1820endif 1821ifeq ($(FULL_TARGET),sparc-linux) 1822REQUIRE_PACKAGES_RTL=1 1823REQUIRE_PACKAGES_PASZLIB=1 1824REQUIRE_PACKAGES_FCL-PROCESS=1 1825REQUIRE_PACKAGES_HASH=1 1826REQUIRE_PACKAGES_FPMKUNIT=1 1827REQUIRE_PACKAGES_FCL-BASE=1 1828endif 1829ifeq ($(FULL_TARGET),sparc-netbsd) 1830REQUIRE_PACKAGES_RTL=1 1831REQUIRE_PACKAGES_PASZLIB=1 1832REQUIRE_PACKAGES_FCL-PROCESS=1 1833REQUIRE_PACKAGES_HASH=1 1834REQUIRE_PACKAGES_FPMKUNIT=1 1835REQUIRE_PACKAGES_FCL-BASE=1 1836endif 1837ifeq ($(FULL_TARGET),sparc-solaris) 1838REQUIRE_PACKAGES_RTL=1 1839REQUIRE_PACKAGES_PASZLIB=1 1840REQUIRE_PACKAGES_FCL-PROCESS=1 1841REQUIRE_PACKAGES_HASH=1 1842REQUIRE_PACKAGES_FPMKUNIT=1 1843REQUIRE_PACKAGES_FCL-BASE=1 1844endif 1845ifeq ($(FULL_TARGET),sparc-embedded) 1846REQUIRE_PACKAGES_RTL=1 1847REQUIRE_PACKAGES_PASZLIB=1 1848REQUIRE_PACKAGES_FCL-PROCESS=1 1849REQUIRE_PACKAGES_HASH=1 1850REQUIRE_PACKAGES_FPMKUNIT=1 1851REQUIRE_PACKAGES_FCL-BASE=1 1852endif 1853ifeq ($(FULL_TARGET),x86_64-linux) 1854REQUIRE_PACKAGES_RTL=1 1855REQUIRE_PACKAGES_PASZLIB=1 1856REQUIRE_PACKAGES_FCL-PROCESS=1 1857REQUIRE_PACKAGES_HASH=1 1858REQUIRE_PACKAGES_FPMKUNIT=1 1859REQUIRE_PACKAGES_FCL-BASE=1 1860endif 1861ifeq ($(FULL_TARGET),x86_64-freebsd) 1862REQUIRE_PACKAGES_RTL=1 1863REQUIRE_PACKAGES_PASZLIB=1 1864REQUIRE_PACKAGES_FCL-PROCESS=1 1865REQUIRE_PACKAGES_HASH=1 1866REQUIRE_PACKAGES_FPMKUNIT=1 1867REQUIRE_PACKAGES_FCL-BASE=1 1868endif 1869ifeq ($(FULL_TARGET),x86_64-netbsd) 1870REQUIRE_PACKAGES_RTL=1 1871REQUIRE_PACKAGES_PASZLIB=1 1872REQUIRE_PACKAGES_FCL-PROCESS=1 1873REQUIRE_PACKAGES_HASH=1 1874REQUIRE_PACKAGES_FPMKUNIT=1 1875REQUIRE_PACKAGES_FCL-BASE=1 1876endif 1877ifeq ($(FULL_TARGET),x86_64-solaris) 1878REQUI…
Large files files are truncated, but you can click here to view the full file