1# 2# Don't edit, this file is generated by FPCMake Version 2.0.0 3# 4default: all 5MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macosclassic m68k-embedded m68k-sinclairql powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macosclassic 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-haiku x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-android x86_64-aros x86_64-dragonfly arm-linux arm-netbsd arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos arm-ios powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-freebsd aarch64-darwin aarch64-win64 aarch64-android aarch64-ios wasm32-embedded wasm32-wasi sparc64-linux riscv32-linux riscv32-embedded riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos z80-amstradcpc 6BSDs = freebsd netbsd openbsd darwin dragonfly 7UNIXs = linux $(BSDs) solaris qnx haiku aix 8LIMIT83fs = go32v2 os2 emx watcom msdos win16 atari 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 103ifndef FPC 104ifdef PP 105FPC=$(PP) 106endif 107endif 108ifndef FPC 109FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) 110ifneq ($(FPCPROG),) 111FPCPROG:=$(firstword $(FPCPROG)) 112ifneq ($(CPU_TARGET),) 113FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB) 114else 115FPC:=$(shell $(FPCPROG) -PB) 116endif 117ifneq ($(findstring Error,$(FPC)),) 118override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 119else 120ifeq ($(strip $(wildcard $(FPC))),) 121FPC:=$(firstword $(FPCPROG)) 122endif 123endif 124else 125override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 126endif 127endif 128override FPC:=$(subst $(SRCEXEEXT),,$(FPC)) 129override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT) 130FOUNDFPC:=$(strip $(wildcard $(FPC))) 131ifeq ($(FOUNDFPC),) 132FOUNDFPC=$(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH)))) 133ifeq ($(FOUNDFPC),) 134$(error Compiler $(FPC) not found) 135endif 136endif 137ifndef FPC_COMPILERINFO 138FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO) 139endif 140ifndef FPC_VERSION 141FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO)) 142endif 143export FPC FPC_VERSION FPC_COMPILERINFO 144unexport CHECKDEPEND ALLDEPENDENCIES 145ifndef CPU_TARGET 146ifdef CPU_TARGET_DEFAULT 147CPU_TARGET=$(CPU_TARGET_DEFAULT) 148endif 149endif 150ifndef OS_TARGET 151ifdef OS_TARGET_DEFAULT 152OS_TARGET=$(OS_TARGET_DEFAULT) 153endif 154endif 155ifndef CPU_SOURCE 156CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO)) 157endif 158ifndef CPU_TARGET 159CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO)) 160endif 161ifndef OS_SOURCE 162OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO)) 163endif 164ifndef OS_TARGET 165OS_TARGET:=$(word 5,$(FPC_COMPILERINFO)) 166endif 167FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET) 168FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE) 169ifeq ($(CPU_TARGET),armeb) 170ARCH=arm 171override FPCOPT+=-Cb 172else 173ifeq ($(CPU_TARGET),armel) 174ARCH=arm 175override FPCOPT+=-CaEABI 176else 177ARCH=$(CPU_TARGET) 178endif 179endif 180ifeq ($(FULL_TARGET),arm-embedded) 181ifeq ($(SUBARCH),) 182$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined) 183endif 184override FPCOPT+=-Cp$(SUBARCH) 185endif 186ifeq ($(FULL_TARGET),avr-embedded) 187ifeq ($(SUBARCH),) 188$(error When compiling for avr-embedded, a sub-architecture (e.g. SUBARCH=avr25 or SUBARCH=avr35) must be defined) 189endif 190override FPCOPT+=-Cp$(SUBARCH) 191endif 192ifeq ($(FULL_TARGET),mipsel-embedded) 193ifeq ($(SUBARCH),) 194$(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined) 195endif 196override FPCOPT+=-Cp$(SUBARCH) 197endif 198ifeq ($(FULL_TARGET),xtensa-embedded) 199ifeq ($(SUBARCH),) 200$(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined) 201endif 202override FPCOPT+=-Cp$(SUBARCH) 203endif 204ifeq ($(FULL_TARGET),xtensa-freertos) 205ifeq ($(SUBARCH),) 206$(error When compiling for xtensa-freertos, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined) 207endif 208override FPCOPT+=-Cp$(SUBARCH) 209endif 210ifeq ($(FULL_TARGET),arm-freertos) 211ifeq ($(SUBARCH),) 212$(error When compiling for arm-freertos, a sub-architecture (e.g. SUBARCH=armv6m or SUBARCH=armv7em) must be defined) 213endif 214override FPCOPT+=-Cp$(SUBARCH) 215endif 216ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) 217TARGETSUFFIX=$(OS_TARGET) 218SOURCESUFFIX=$(OS_SOURCE) 219else 220ifneq ($(findstring $(OS_TARGET),$(LIMIT83fs)),) 221TARGETSUFFIX=$(OS_TARGET) 222else 223TARGETSUFFIX=$(FULL_TARGET) 224endif 225SOURCESUFFIX=$(FULL_SOURCE) 226endif 227ifneq ($(FULL_TARGET),$(FULL_SOURCE)) 228CROSSCOMPILE=1 229endif 230ifeq ($(findstring makefile,$(MAKECMDGOALS)),) 231ifeq ($(findstring $(FULL_TARGET),$(MAKEFILETARGETS)),) 232$(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first) 233endif 234endif 235ifneq ($(findstring $(OS_TARGET),$(BSDs)),) 236BSDhier=1 237endif 238ifeq ($(OS_TARGET),linux) 239linuxHier=1 240endif 241ifndef CROSSCOMPILE 242BUILDFULLNATIVE=1 243export BUILDFULLNATIVE 244endif 245ifdef BUILDFULLNATIVE 246BUILDNATIVE=1 247export BUILDNATIVE 248endif 249export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE 250ifdef FPCDIR 251override FPCDIR:=$(subst \,/,$(FPCDIR)) 252ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),) 253override FPCDIR=wrong 254endif 255else 256override FPCDIR=wrong 257endif 258ifdef DEFAULT_FPCDIR 259ifeq ($(FPCDIR),wrong) 260override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR)) 261ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),) 262override FPCDIR=wrong 263endif 264endif 265endif 266ifeq ($(FPCDIR),wrong) 267ifdef inUnix 268override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION) 269ifeq ($(wildcard $(FPCDIR)/units),) 270override FPCDIR=/usr/lib/fpc/$(FPC_VERSION) 271endif 272else 273override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH)))))) 274override FPCDIR:=$(FPCDIR)/.. 275ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),) 276override FPCDIR:=$(FPCDIR)/.. 277ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),) 278override FPCDIR:=$(BASEDIR) 279ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),) 280override FPCDIR=c:/pp 281endif 282endif 283endif 284endif 285endif 286ifndef CROSSBINDIR 287CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX)) 288endif 289ifneq ($(findstring $(OS_TARGET),darwin iphonesim ios),) 290ifneq ($(findstring $(OS_SOURCE),darwin ios),) 291DARWIN2DARWIN=1 292endif 293endif 294ifndef BINUTILSPREFIX 295ifndef CROSSBINDIR 296ifdef CROSSCOMPILE 297ifneq ($(OS_TARGET),msdos) 298ifndef DARWIN2DARWIN 299ifneq ($(CPU_TARGET),jvm) 300BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)- 301ifeq ($(OS_TARGET),android) 302ifeq ($(CPU_TARGET),arm) 303BINUTILSPREFIX=arm-linux-androideabi- 304else 305ifeq ($(CPU_TARGET),i386) 306BINUTILSPREFIX=i686-linux-android- 307else 308BINUTILSPREFIX=$(CPU_TARGET)-linux-android- 309endif 310endif 311endif 312endif 313endif 314else 315BINUTILSPREFIX=$(OS_TARGET)- 316endif 317endif 318endif 319endif 320UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX)) 321ifeq ($(UNITSDIR),) 322UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET)) 323endif 324PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages) 325ifndef FPCFPMAKE 326ifdef CROSSCOMPILE 327ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),) 328FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) 329ifneq ($(FPCPROG),) 330FPCPROG:=$(firstword $(FPCPROG)) 331FPCFPMAKE:=$(shell $(FPCPROG) -PB) 332ifeq ($(strip $(wildcard $(FPCFPMAKE))),) 333FPCFPMAKE:=$(firstword $(FPCPROG)) 334endif 335else 336override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) 337endif 338else 339FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))) 340FPMAKE_SKIP_CONFIG=-n 341export FPCFPMAKE 342export FPMAKE_SKIP_CONFIG 343endif 344else 345FPMAKE_SKIP_CONFIG=-n 346FPCFPMAKE=$(FPC) 347endif 348endif 349override PACKAGE_NAME=lazdebuggerlldb 350override PACKAGE_VERSION=0.0 351ifndef LCL_PLATFORM 352ifeq ($(OS_TARGET),win32) 353LCL_PLATFORM=win32 354else 355ifeq ($(OS_TARGET),win64) 356LCL_PLATFORM=win32 357else 358ifeq ($(OS_TARGET),darwin) 359LCL_PLATFORM=cocoa 360else 361LCL_PLATFORM=gtk2 362endif 363endif 364endif 365endif 366export LCL_PLATFORM 367DBG_OPTIONS= 368ifeq ($(OS_TARGET),darwin) 369DBG_OPTIONS=-gw 370endif 371ifeq ($(FULL_TARGET),i386-linux) 372override TARGET_UNITS+=lazdebuggerlldb.pas 373endif 374ifeq ($(FULL_TARGET),i386-go32v2) 375override TARGET_UNITS+=lazdebuggerlldb.pas 376endif 377ifeq ($(FULL_TARGET),i386-win32) 378override TARGET_UNITS+=lazdebuggerlldb.pas 379endif 380ifeq ($(FULL_TARGET),i386-os2) 381override TARGET_UNITS+=lazdebuggerlldb.pas 382endif 383ifeq ($(FULL_TARGET),i386-freebsd) 384override TARGET_UNITS+=lazdebuggerlldb.pas 385endif 386ifeq ($(FULL_TARGET),i386-beos) 387override TARGET_UNITS+=lazdebuggerlldb.pas 388endif 389ifeq ($(FULL_TARGET),i386-haiku) 390override TARGET_UNITS+=lazdebuggerlldb.pas 391endif 392ifeq ($(FULL_TARGET),i386-netbsd) 393override TARGET_UNITS+=lazdebuggerlldb.pas 394endif 395ifeq ($(FULL_TARGET),i386-solaris) 396override TARGET_UNITS+=lazdebuggerlldb.pas 397endif 398ifeq ($(FULL_TARGET),i386-netware) 399override TARGET_UNITS+=lazdebuggerlldb.pas 400endif 401ifeq ($(FULL_TARGET),i386-openbsd) 402override TARGET_UNITS+=lazdebuggerlldb.pas 403endif 404ifeq ($(FULL_TARGET),i386-wdosx) 405override TARGET_UNITS+=lazdebuggerlldb.pas 406endif 407ifeq ($(FULL_TARGET),i386-darwin) 408override TARGET_UNITS+=lazdebuggerlldb.pas 409endif 410ifeq ($(FULL_TARGET),i386-emx) 411override TARGET_UNITS+=lazdebuggerlldb.pas 412endif 413ifeq ($(FULL_TARGET),i386-watcom) 414override TARGET_UNITS+=lazdebuggerlldb.pas 415endif 416ifeq ($(FULL_TARGET),i386-netwlibc) 417override TARGET_UNITS+=lazdebuggerlldb.pas 418endif 419ifeq ($(FULL_TARGET),i386-wince) 420override TARGET_UNITS+=lazdebuggerlldb.pas 421endif 422ifeq ($(FULL_TARGET),i386-embedded) 423override TARGET_UNITS+=lazdebuggerlldb.pas 424endif 425ifeq ($(FULL_TARGET),i386-symbian) 426override TARGET_UNITS+=lazdebuggerlldb.pas 427endif 428ifeq ($(FULL_TARGET),i386-nativent) 429override TARGET_UNITS+=lazdebuggerlldb.pas 430endif 431ifeq ($(FULL_TARGET),i386-iphonesim) 432override TARGET_UNITS+=lazdebuggerlldb.pas 433endif 434ifeq ($(FULL_TARGET),i386-android) 435override TARGET_UNITS+=lazdebuggerlldb.pas 436endif 437ifeq ($(FULL_TARGET),i386-aros) 438override TARGET_UNITS+=lazdebuggerlldb.pas 439endif 440ifeq ($(FULL_TARGET),m68k-linux) 441override TARGET_UNITS+=lazdebuggerlldb.pas 442endif 443ifeq ($(FULL_TARGET),m68k-netbsd) 444override TARGET_UNITS+=lazdebuggerlldb.pas 445endif 446ifeq ($(FULL_TARGET),m68k-amiga) 447override TARGET_UNITS+=lazdebuggerlldb.pas 448endif 449ifeq ($(FULL_TARGET),m68k-atari) 450override TARGET_UNITS+=lazdebuggerlldb.pas 451endif 452ifeq ($(FULL_TARGET),m68k-palmos) 453override TARGET_UNITS+=lazdebuggerlldb.pas 454endif 455ifeq ($(FULL_TARGET),m68k-macosclassic) 456override TARGET_UNITS+=lazdebuggerlldb.pas 457endif 458ifeq ($(FULL_TARGET),m68k-embedded) 459override TARGET_UNITS+=lazdebuggerlldb.pas 460endif 461ifeq ($(FULL_TARGET),m68k-sinclairql) 462override TARGET_UNITS+=lazdebuggerlldb.pas 463endif 464ifeq ($(FULL_TARGET),powerpc-linux) 465override TARGET_UNITS+=lazdebuggerlldb.pas 466endif 467ifeq ($(FULL_TARGET),powerpc-netbsd) 468override TARGET_UNITS+=lazdebuggerlldb.pas 469endif 470ifeq ($(FULL_TARGET),powerpc-amiga) 471override TARGET_UNITS+=lazdebuggerlldb.pas 472endif 473ifeq ($(FULL_TARGET),powerpc-macosclassic) 474override TARGET_UNITS+=lazdebuggerlldb.pas 475endif 476ifeq ($(FULL_TARGET),powerpc-darwin) 477override TARGET_UNITS+=lazdebuggerlldb.pas 478endif 479ifeq ($(FULL_TARGET),powerpc-morphos) 480override TARGET_UNITS+=lazdebuggerlldb.pas 481endif 482ifeq ($(FULL_TARGET),powerpc-embedded) 483override TARGET_UNITS+=lazdebuggerlldb.pas 484endif 485ifeq ($(FULL_TARGET),powerpc-wii) 486override TARGET_UNITS+=lazdebuggerlldb.pas 487endif 488ifeq ($(FULL_TARGET),powerpc-aix) 489override TARGET_UNITS+=lazdebuggerlldb.pas 490endif 491ifeq ($(FULL_TARGET),sparc-linux) 492override TARGET_UNITS+=lazdebuggerlldb.pas 493endif 494ifeq ($(FULL_TARGET),sparc-netbsd) 495override TARGET_UNITS+=lazdebuggerlldb.pas 496endif 497ifeq ($(FULL_TARGET),sparc-solaris) 498override TARGET_UNITS+=lazdebuggerlldb.pas 499endif 500ifeq ($(FULL_TARGET),sparc-embedded) 501override TARGET_UNITS+=lazdebuggerlldb.pas 502endif 503ifeq ($(FULL_TARGET),x86_64-linux) 504override TARGET_UNITS+=lazdebuggerlldb.pas 505endif 506ifeq ($(FULL_TARGET),x86_64-freebsd) 507override TARGET_UNITS+=lazdebuggerlldb.pas 508endif 509ifeq ($(FULL_TARGET),x86_64-haiku) 510override TARGET_UNITS+=lazdebuggerlldb.pas 511endif 512ifeq ($(FULL_TARGET),x86_64-netbsd) 513override TARGET_UNITS+=lazdebuggerlldb.pas 514endif 515ifeq ($(FULL_TARGET),x86_64-solaris) 516override TARGET_UNITS+=lazdebuggerlldb.pas 517endif 518ifeq ($(FULL_TARGET),x86_64-openbsd) 519override TARGET_UNITS+=lazdebuggerlldb.pas 520endif 521ifeq ($(FULL_TARGET),x86_64-darwin) 522override TARGET_UNITS+=lazdebuggerlldb.pas 523endif 524ifeq ($(FULL_TARGET),x86_64-win64) 525override TARGET_UNITS+=lazdebuggerlldb.pas 526endif 527ifeq ($(FULL_TARGET),x86_64-embedded) 528override TARGET_UNITS+=lazdebuggerlldb.pas 529endif 530ifeq ($(FULL_TARGET),x86_64-iphonesim) 531override TARGET_UNITS+=lazdebuggerlldb.pas 532endif 533ifeq ($(FULL_TARGET),x86_64-android) 534override TARGET_UNITS+=lazdebuggerlldb.pas 535endif 536ifeq ($(FULL_TARGET),x86_64-aros) 537override TARGET_UNITS+=lazdebuggerlldb.pas 538endif 539ifeq ($(FULL_TARGET),x86_64-dragonfly) 540override TARGET_UNITS+=lazdebuggerlldb.pas 541endif 542ifeq ($(FULL_TARGET),arm-linux) 543override TARGET_UNITS+=lazdebuggerlldb.pas 544endif 545ifeq ($(FULL_TARGET),arm-netbsd) 546override TARGET_UNITS+=lazdebuggerlldb.pas 547endif 548ifeq ($(FULL_TARGET),arm-palmos) 549override TARGET_UNITS+=lazdebuggerlldb.pas 550endif 551ifeq ($(FULL_TARGET),arm-wince) 552override TARGET_UNITS+=lazdebuggerlldb.pas 553endif 554ifeq ($(FULL_TARGET),arm-gba) 555override TARGET_UNITS+=lazdebuggerlldb.pas 556endif 557ifeq ($(FULL_TARGET),arm-nds) 558override TARGET_UNITS+=lazdebuggerlldb.pas 559endif 560ifeq ($(FULL_TARGET),arm-embedded) 561override TARGET_UNITS+=lazdebuggerlldb.pas 562endif 563ifeq ($(FULL_TARGET),arm-symbian) 564override TARGET_UNITS+=lazdebuggerlldb.pas 565endif 566ifeq ($(FULL_TARGET),arm-android) 567override TARGET_UNITS+=lazdebuggerlldb.pas 568endif 569ifeq ($(FULL_TARGET),arm-aros) 570override TARGET_UNITS+=lazdebuggerlldb.pas 571endif 572ifeq ($(FULL_TARGET),arm-freertos) 573override TARGET_UNITS+=lazdebuggerlldb.pas 574endif 575ifeq ($(FULL_TARGET),arm-ios) 576override TARGET_UNITS+=lazdebuggerlldb.pas 577endif 578ifeq ($(FULL_TARGET),powerpc64-linux) 579override TARGET_UNITS+=lazdebuggerlldb.pas 580endif 581ifeq ($(FULL_TARGET),powerpc64-darwin) 582override TARGET_UNITS+=lazdebuggerlldb.pas 583endif 584ifeq ($(FULL_TARGET),powerpc64-embedded) 585override TARGET_UNITS+=lazdebuggerlldb.pas 586endif 587ifeq ($(FULL_TARGET),powerpc64-aix) 588override TARGET_UNITS+=lazdebuggerlldb.pas 589endif 590ifeq ($(FULL_TARGET),avr-embedded) 591override TARGET_UNITS+=lazdebuggerlldb.pas 592endif 593ifeq ($(FULL_TARGET),armeb-linux) 594override TARGET_UNITS+=lazdebuggerlldb.pas 595endif 596ifeq ($(FULL_TARGET),armeb-embedded) 597override TARGET_UNITS+=lazdebuggerlldb.pas 598endif 599ifeq ($(FULL_TARGET),mips-linux) 600override TARGET_UNITS+=lazdebuggerlldb.pas 601endif 602ifeq ($(FULL_TARGET),mipsel-linux) 603override TARGET_UNITS+=lazdebuggerlldb.pas 604endif 605ifeq ($(FULL_TARGET),mipsel-embedded) 606override TARGET_UNITS+=lazdebuggerlldb.pas 607endif 608ifeq ($(FULL_TARGET),mipsel-android) 609override TARGET_UNITS+=lazdebuggerlldb.pas 610endif 611ifeq ($(FULL_TARGET),mips64el-linux) 612override TARGET_UNITS+=lazdebuggerlldb.pas 613endif 614ifeq ($(FULL_TARGET),jvm-java) 615override TARGET_UNITS+=lazdebuggerlldb.pas 616endif 617ifeq ($(FULL_TARGET),jvm-android) 618override TARGET_UNITS+=lazdebuggerlldb.pas 619endif 620ifeq ($(FULL_TARGET),i8086-embedded) 621override TARGET_UNITS+=lazdebuggerlldb.pas 622endif 623ifeq ($(FULL_TARGET),i8086-msdos) 624override TARGET_UNITS+=lazdebuggerlldb.pas 625endif 626ifeq ($(FULL_TARGET),i8086-win16) 627override TARGET_UNITS+=lazdebuggerlldb.pas 628endif 629ifeq ($(FULL_TARGET),aarch64-linux) 630override TARGET_UNITS+=lazdebuggerlldb.pas 631endif 632ifeq ($(FULL_TARGET),aarch64-freebsd) 633override TARGET_UNITS+=lazdebuggerlldb.pas 634endif 635ifeq ($(FULL_TARGET),aarch64-darwin) 636override TARGET_UNITS+=lazdebuggerlldb.pas 637endif 638ifeq ($(FULL_TARGET),aarch64-win64) 639override TARGET_UNITS+=lazdebuggerlldb.pas 640endif 641ifeq ($(FULL_TARGET),aarch64-android) 642override TARGET_UNITS+=lazdebuggerlldb.pas 643endif 644ifeq ($(FULL_TARGET),aarch64-ios) 645override TARGET_UNITS+=lazdebuggerlldb.pas 646endif 647ifeq ($(FULL_TARGET),wasm32-embedded) 648override TARGET_UNITS+=lazdebuggerlldb.pas 649endif 650ifeq ($(FULL_TARGET),wasm32-wasi) 651override TARGET_UNITS+=lazdebuggerlldb.pas 652endif 653ifeq ($(FULL_TARGET),sparc64-linux) 654override TARGET_UNITS+=lazdebuggerlldb.pas 655endif 656ifeq ($(FULL_TARGET),riscv32-linux) 657override TARGET_UNITS+=lazdebuggerlldb.pas 658endif 659ifeq ($(FULL_TARGET),riscv32-embedded) 660override TARGET_UNITS+=lazdebuggerlldb.pas 661endif 662ifeq ($(FULL_TARGET),riscv64-linux) 663override TARGET_UNITS+=lazdebuggerlldb.pas 664endif 665ifeq ($(FULL_TARGET),riscv64-embedded) 666override TARGET_UNITS+=lazdebuggerlldb.pas 667endif 668ifeq ($(FULL_TARGET),xtensa-linux) 669override TARGET_UNITS+=lazdebuggerlldb.pas 670endif 671ifeq ($(FULL_TARGET),xtensa-embedded) 672override TARGET_UNITS+=lazdebuggerlldb.pas 673endif 674ifeq ($(FULL_TARGET),xtensa-freertos) 675override TARGET_UNITS+=lazdebuggerlldb.pas 676endif 677ifeq ($(FULL_TARGET),z80-embedded) 678override TARGET_UNITS+=lazdebuggerlldb.pas 679endif 680ifeq ($(FULL_TARGET),z80-zxspectrum) 681override TARGET_UNITS+=lazdebuggerlldb.pas 682endif 683ifeq ($(FULL_TARGET),z80-msxdos) 684override TARGET_UNITS+=lazdebuggerlldb.pas 685endif 686ifeq ($(FULL_TARGET),z80-amstradcpc) 687override TARGET_UNITS+=lazdebuggerlldb.pas 688endif 689ifeq ($(FULL_TARGET),i386-linux) 690override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 691endif 692ifeq ($(FULL_TARGET),i386-go32v2) 693override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 694endif 695ifeq ($(FULL_TARGET),i386-win32) 696override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 697endif 698ifeq ($(FULL_TARGET),i386-os2) 699override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 700endif 701ifeq ($(FULL_TARGET),i386-freebsd) 702override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 703endif 704ifeq ($(FULL_TARGET),i386-beos) 705override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 706endif 707ifeq ($(FULL_TARGET),i386-haiku) 708override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 709endif 710ifeq ($(FULL_TARGET),i386-netbsd) 711override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 712endif 713ifeq ($(FULL_TARGET),i386-solaris) 714override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 715endif 716ifeq ($(FULL_TARGET),i386-netware) 717override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 718endif 719ifeq ($(FULL_TARGET),i386-openbsd) 720override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 721endif 722ifeq ($(FULL_TARGET),i386-wdosx) 723override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 724endif 725ifeq ($(FULL_TARGET),i386-darwin) 726override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 727endif 728ifeq ($(FULL_TARGET),i386-emx) 729override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 730endif 731ifeq ($(FULL_TARGET),i386-watcom) 732override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 733endif 734ifeq ($(FULL_TARGET),i386-netwlibc) 735override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 736endif 737ifeq ($(FULL_TARGET),i386-wince) 738override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 739endif 740ifeq ($(FULL_TARGET),i386-embedded) 741override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 742endif 743ifeq ($(FULL_TARGET),i386-symbian) 744override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 745endif 746ifeq ($(FULL_TARGET),i386-nativent) 747override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 748endif 749ifeq ($(FULL_TARGET),i386-iphonesim) 750override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 751endif 752ifeq ($(FULL_TARGET),i386-android) 753override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 754endif 755ifeq ($(FULL_TARGET),i386-aros) 756override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 757endif 758ifeq ($(FULL_TARGET),m68k-linux) 759override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 760endif 761ifeq ($(FULL_TARGET),m68k-netbsd) 762override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 763endif 764ifeq ($(FULL_TARGET),m68k-amiga) 765override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 766endif 767ifeq ($(FULL_TARGET),m68k-atari) 768override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 769endif 770ifeq ($(FULL_TARGET),m68k-palmos) 771override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 772endif 773ifeq ($(FULL_TARGET),m68k-macosclassic) 774override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 775endif 776ifeq ($(FULL_TARGET),m68k-embedded) 777override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 778endif 779ifeq ($(FULL_TARGET),m68k-sinclairql) 780override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 781endif 782ifeq ($(FULL_TARGET),powerpc-linux) 783override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 784endif 785ifeq ($(FULL_TARGET),powerpc-netbsd) 786override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 787endif 788ifeq ($(FULL_TARGET),powerpc-amiga) 789override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 790endif 791ifeq ($(FULL_TARGET),powerpc-macosclassic) 792override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 793endif 794ifeq ($(FULL_TARGET),powerpc-darwin) 795override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 796endif 797ifeq ($(FULL_TARGET),powerpc-morphos) 798override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 799endif 800ifeq ($(FULL_TARGET),powerpc-embedded) 801override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 802endif 803ifeq ($(FULL_TARGET),powerpc-wii) 804override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 805endif 806ifeq ($(FULL_TARGET),powerpc-aix) 807override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 808endif 809ifeq ($(FULL_TARGET),sparc-linux) 810override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 811endif 812ifeq ($(FULL_TARGET),sparc-netbsd) 813override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 814endif 815ifeq ($(FULL_TARGET),sparc-solaris) 816override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 817endif 818ifeq ($(FULL_TARGET),sparc-embedded) 819override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 820endif 821ifeq ($(FULL_TARGET),x86_64-linux) 822override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 823endif 824ifeq ($(FULL_TARGET),x86_64-freebsd) 825override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 826endif 827ifeq ($(FULL_TARGET),x86_64-haiku) 828override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 829endif 830ifeq ($(FULL_TARGET),x86_64-netbsd) 831override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 832endif 833ifeq ($(FULL_TARGET),x86_64-solaris) 834override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 835endif 836ifeq ($(FULL_TARGET),x86_64-openbsd) 837override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 838endif 839ifeq ($(FULL_TARGET),x86_64-darwin) 840override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 841endif 842ifeq ($(FULL_TARGET),x86_64-win64) 843override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 844endif 845ifeq ($(FULL_TARGET),x86_64-embedded) 846override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 847endif 848ifeq ($(FULL_TARGET),x86_64-iphonesim) 849override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 850endif 851ifeq ($(FULL_TARGET),x86_64-android) 852override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 853endif 854ifeq ($(FULL_TARGET),x86_64-aros) 855override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 856endif 857ifeq ($(FULL_TARGET),x86_64-dragonfly) 858override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 859endif 860ifeq ($(FULL_TARGET),arm-linux) 861override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 862endif 863ifeq ($(FULL_TARGET),arm-netbsd) 864override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 865endif 866ifeq ($(FULL_TARGET),arm-palmos) 867override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 868endif 869ifeq ($(FULL_TARGET),arm-wince) 870override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 871endif 872ifeq ($(FULL_TARGET),arm-gba) 873override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 874endif 875ifeq ($(FULL_TARGET),arm-nds) 876override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 877endif 878ifeq ($(FULL_TARGET),arm-embedded) 879override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 880endif 881ifeq ($(FULL_TARGET),arm-symbian) 882override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 883endif 884ifeq ($(FULL_TARGET),arm-android) 885override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 886endif 887ifeq ($(FULL_TARGET),arm-aros) 888override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 889endif 890ifeq ($(FULL_TARGET),arm-freertos) 891override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 892endif 893ifeq ($(FULL_TARGET),arm-ios) 894override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 895endif 896ifeq ($(FULL_TARGET),powerpc64-linux) 897override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 898endif 899ifeq ($(FULL_TARGET),powerpc64-darwin) 900override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 901endif 902ifeq ($(FULL_TARGET),powerpc64-embedded) 903override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 904endif 905ifeq ($(FULL_TARGET),powerpc64-aix) 906override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 907endif 908ifeq ($(FULL_TARGET),avr-embedded) 909override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 910endif 911ifeq ($(FULL_TARGET),armeb-linux) 912override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 913endif 914ifeq ($(FULL_TARGET),armeb-embedded) 915override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 916endif 917ifeq ($(FULL_TARGET),mips-linux) 918override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 919endif 920ifeq ($(FULL_TARGET),mipsel-linux) 921override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 922endif 923ifeq ($(FULL_TARGET),mipsel-embedded) 924override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 925endif 926ifeq ($(FULL_TARGET),mipsel-android) 927override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 928endif 929ifeq ($(FULL_TARGET),mips64el-linux) 930override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 931endif 932ifeq ($(FULL_TARGET),jvm-java) 933override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 934endif 935ifeq ($(FULL_TARGET),jvm-android) 936override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 937endif 938ifeq ($(FULL_TARGET),i8086-embedded) 939override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 940endif 941ifeq ($(FULL_TARGET),i8086-msdos) 942override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 943endif 944ifeq ($(FULL_TARGET),i8086-win16) 945override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 946endif 947ifeq ($(FULL_TARGET),aarch64-linux) 948override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 949endif 950ifeq ($(FULL_TARGET),aarch64-freebsd) 951override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 952endif 953ifeq ($(FULL_TARGET),aarch64-darwin) 954override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 955endif 956ifeq ($(FULL_TARGET),aarch64-win64) 957override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 958endif 959ifeq ($(FULL_TARGET),aarch64-android) 960override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 961endif 962ifeq ($(FULL_TARGET),aarch64-ios) 963override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 964endif 965ifeq ($(FULL_TARGET),wasm32-embedded) 966override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 967endif 968ifeq ($(FULL_TARGET),wasm32-wasi) 969override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 970endif 971ifeq ($(FULL_TARGET),sparc64-linux) 972override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 973endif 974ifeq ($(FULL_TARGET),riscv32-linux) 975override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 976endif 977ifeq ($(FULL_TARGET),riscv32-embedded) 978override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 979endif 980ifeq ($(FULL_TARGET),riscv64-linux) 981override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 982endif 983ifeq ($(FULL_TARGET),riscv64-embedded) 984override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 985endif 986ifeq ($(FULL_TARGET),xtensa-linux) 987override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 988endif 989ifeq ($(FULL_TARGET),xtensa-embedded) 990override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 991endif 992ifeq ($(FULL_TARGET),xtensa-freertos) 993override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 994endif 995ifeq ($(FULL_TARGET),z80-embedded) 996override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 997endif 998ifeq ($(FULL_TARGET),z80-zxspectrum) 999override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 1000endif 1001ifeq ($(FULL_TARGET),z80-msxdos) 1002override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 1003endif 1004ifeq ($(FULL_TARGET),z80-amstradcpc) 1005override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 1006endif 1007ifeq ($(FULL_TARGET),i386-linux) 1008override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1009endif 1010ifeq ($(FULL_TARGET),i386-go32v2) 1011override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1012endif 1013ifeq ($(FULL_TARGET),i386-win32) 1014override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1015endif 1016ifeq ($(FULL_TARGET),i386-os2) 1017override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1018endif 1019ifeq ($(FULL_TARGET),i386-freebsd) 1020override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1021endif 1022ifeq ($(FULL_TARGET),i386-beos) 1023override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1024endif 1025ifeq ($(FULL_TARGET),i386-haiku) 1026override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1027endif 1028ifeq ($(FULL_TARGET),i386-netbsd) 1029override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1030endif 1031ifeq ($(FULL_TARGET),i386-solaris) 1032override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1033endif 1034ifeq ($(FULL_TARGET),i386-netware) 1035override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1036endif 1037ifeq ($(FULL_TARGET),i386-openbsd) 1038override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1039endif 1040ifeq ($(FULL_TARGET),i386-wdosx) 1041override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1042endif 1043ifeq ($(FULL_TARGET),i386-darwin) 1044override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1045endif 1046ifeq ($(FULL_TARGET),i386-emx) 1047override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1048endif 1049ifeq ($(FULL_TARGET),i386-watcom) 1050override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1051endif 1052ifeq ($(FULL_TARGET),i386-netwlibc) 1053override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1054endif 1055ifeq ($(FULL_TARGET),i386-wince) 1056override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1057endif 1058ifeq ($(FULL_TARGET),i386-embedded) 1059override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1060endif 1061ifeq ($(FULL_TARGET),i386-symbian) 1062override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1063endif 1064ifeq ($(FULL_TARGET),i386-nativent) 1065override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1066endif 1067ifeq ($(FULL_TARGET),i386-iphonesim) 1068override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1069endif 1070ifeq ($(FULL_TARGET),i386-android) 1071override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1072endif 1073ifeq ($(FULL_TARGET),i386-aros) 1074override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1075endif 1076ifeq ($(FULL_TARGET),m68k-linux) 1077override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1078endif 1079ifeq ($(FULL_TARGET),m68k-netbsd) 1080override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1081endif 1082ifeq ($(FULL_TARGET),m68k-amiga) 1083override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1084endif 1085ifeq ($(FULL_TARGET),m68k-atari) 1086override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1087endif 1088ifeq ($(FULL_TARGET),m68k-palmos) 1089override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1090endif 1091ifeq ($(FULL_TARGET),m68k-macosclassic) 1092override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1093endif 1094ifeq ($(FULL_TARGET),m68k-embedded) 1095override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1096endif 1097ifeq ($(FULL_TARGET),m68k-sinclairql) 1098override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1099endif 1100ifeq ($(FULL_TARGET),powerpc-linux) 1101override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1102endif 1103ifeq ($(FULL_TARGET),powerpc-netbsd) 1104override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1105endif 1106ifeq ($(FULL_TARGET),powerpc-amiga) 1107override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1108endif 1109ifeq ($(FULL_TARGET),powerpc-macosclassic) 1110override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1111endif 1112ifeq ($(FULL_TARGET),powerpc-darwin) 1113override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1114endif 1115ifeq ($(FULL_TARGET),powerpc-morphos) 1116override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1117endif 1118ifeq ($(FULL_TARGET),powerpc-embedded) 1119override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1120endif 1121ifeq ($(FULL_TARGET),powerpc-wii) 1122override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1123endif 1124ifeq ($(FULL_TARGET),powerpc-aix) 1125override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1126endif 1127ifeq ($(FULL_TARGET),sparc-linux) 1128override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1129endif 1130ifeq ($(FULL_TARGET),sparc-netbsd) 1131override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1132endif 1133ifeq ($(FULL_TARGET),sparc-solaris) 1134override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1135endif 1136ifeq ($(FULL_TARGET),sparc-embedded) 1137override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1138endif 1139ifeq ($(FULL_TARGET),x86_64-linux) 1140override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1141endif 1142ifeq ($(FULL_TARGET),x86_64-freebsd) 1143override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1144endif 1145ifeq ($(FULL_TARGET),x86_64-haiku) 1146override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1147endif 1148ifeq ($(FULL_TARGET),x86_64-netbsd) 1149override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1150endif 1151ifeq ($(FULL_TARGET),x86_64-solaris) 1152override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1153endif 1154ifeq ($(FULL_TARGET),x86_64-openbsd) 1155override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1156endif 1157ifeq ($(FULL_TARGET),x86_64-darwin) 1158override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1159endif 1160ifeq ($(FULL_TARGET),x86_64-win64) 1161override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1162endif 1163ifeq ($(FULL_TARGET),x86_64-embedded) 1164override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1165endif 1166ifeq ($(FULL_TARGET),x86_64-iphonesim) 1167override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1168endif 1169ifeq ($(FULL_TARGET),x86_64-android) 1170override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1171endif 1172ifeq ($(FULL_TARGET),x86_64-aros) 1173override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1174endif 1175ifeq ($(FULL_TARGET),x86_64-dragonfly) 1176override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1177endif 1178ifeq ($(FULL_TARGET),arm-linux) 1179override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1180endif 1181ifeq ($(FULL_TARGET),arm-netbsd) 1182override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1183endif 1184ifeq ($(FULL_TARGET),arm-palmos) 1185override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1186endif 1187ifeq ($(FULL_TARGET),arm-wince) 1188override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1189endif 1190ifeq ($(FULL_TARGET),arm-gba) 1191override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1192endif 1193ifeq ($(FULL_TARGET),arm-nds) 1194override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1195endif 1196ifeq ($(FULL_TARGET),arm-embedded) 1197override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1198endif 1199ifeq ($(FULL_TARGET),arm-symbian) 1200override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1201endif 1202ifeq ($(FULL_TARGET),arm-android) 1203override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1204endif 1205ifeq ($(FULL_TARGET),arm-aros) 1206override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1207endif 1208ifeq ($(FULL_TARGET),arm-freertos) 1209override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1210endif 1211ifeq ($(FULL_TARGET),arm-ios) 1212override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1213endif 1214ifeq ($(FULL_TARGET),powerpc64-linux) 1215override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1216endif 1217ifeq ($(FULL_TARGET),powerpc64-darwin) 1218override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1219endif 1220ifeq ($(FULL_TARGET),powerpc64-embedded) 1221override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1222endif 1223ifeq ($(FULL_TARGET),powerpc64-aix) 1224override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1225endif 1226ifeq ($(FULL_TARGET),avr-embedded) 1227override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1228endif 1229ifeq ($(FULL_TARGET),armeb-linux) 1230override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1231endif 1232ifeq ($(FULL_TARGET),armeb-embedded) 1233override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1234endif 1235ifeq ($(FULL_TARGET),mips-linux) 1236override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1237endif 1238ifeq ($(FULL_TARGET),mipsel-linux) 1239override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1240endif 1241ifeq ($(FULL_TARGET),mipsel-embedded) 1242override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1243endif 1244ifeq ($(FULL_TARGET),mipsel-android) 1245override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1246endif 1247ifeq ($(FULL_TARGET),mips64el-linux) 1248override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1249endif 1250ifeq ($(FULL_TARGET),jvm-java) 1251override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1252endif 1253ifeq ($(FULL_TARGET),jvm-android) 1254override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1255endif 1256ifeq ($(FULL_TARGET),i8086-embedded) 1257override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1258endif 1259ifeq ($(FULL_TARGET),i8086-msdos) 1260override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1261endif 1262ifeq ($(FULL_TARGET),i8086-win16) 1263override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1264endif 1265ifeq ($(FULL_TARGET),aarch64-linux) 1266override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1267endif 1268ifeq ($(FULL_TARGET),aarch64-freebsd) 1269override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1270endif 1271ifeq ($(FULL_TARGET),aarch64-darwin) 1272override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1273endif 1274ifeq ($(FULL_TARGET),aarch64-win64) 1275override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1276endif 1277ifeq ($(FULL_TARGET),aarch64-android) 1278override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1279endif 1280ifeq ($(FULL_TARGET),aarch64-ios) 1281override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1282endif 1283ifeq ($(FULL_TARGET),wasm32-embedded) 1284override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1285endif 1286ifeq ($(FULL_TARGET),wasm32-wasi) 1287override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1288endif 1289ifeq ($(FULL_TARGET),sparc64-linux) 1290override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1291endif 1292ifeq ($(FULL_TARGET),riscv32-linux) 1293override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1294endif 1295ifeq ($(FULL_TARGET),riscv32-embedded) 1296override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1297endif 1298ifeq ($(FULL_TARGET),riscv64-linux) 1299override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1300endif 1301ifeq ($(FULL_TARGET),riscv64-embedded) 1302override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1303endif 1304ifeq ($(FULL_TARGET),xtensa-linux) 1305override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1306endif 1307ifeq ($(FULL_TARGET),xtensa-embedded) 1308override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1309endif 1310ifeq ($(FULL_TARGET),xtensa-freertos) 1311override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1312endif 1313ifeq ($(FULL_TARGET),z80-embedded) 1314override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1315endif 1316ifeq ($(FULL_TARGET),z80-zxspectrum) 1317override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1318endif 1319ifeq ($(FULL_TARGET),z80-msxdos) 1320override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1321endif 1322ifeq ($(FULL_TARGET),z80-amstradcpc) 1323override COMPILER_OPTIONS+=-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS) 1324endif 1325ifeq ($(FULL_TARGET),i386-linux) 1326override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1327endif 1328ifeq ($(FULL_TARGET),i386-go32v2) 1329override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1330endif 1331ifeq ($(FULL_TARGET),i386-win32) 1332override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1333endif 1334ifeq ($(FULL_TARGET),i386-os2) 1335override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1336endif 1337ifeq ($(FULL_TARGET),i386-freebsd) 1338override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1339endif 1340ifeq ($(FULL_TARGET),i386-beos) 1341override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1342endif 1343ifeq ($(FULL_TARGET),i386-haiku) 1344override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1345endif 1346ifeq ($(FULL_TARGET),i386-netbsd) 1347override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1348endif 1349ifeq ($(FULL_TARGET),i386-solaris) 1350override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1351endif 1352ifeq ($(FULL_TARGET),i386-netware) 1353override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1354endif 1355ifeq ($(FULL_TARGET),i386-openbsd) 1356override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1357endif 1358ifeq ($(FULL_TARGET),i386-wdosx) 1359override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1360endif 1361ifeq ($(FULL_TARGET),i386-darwin) 1362override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1363endif 1364ifeq ($(FULL_TARGET),i386-emx) 1365override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1366endif 1367ifeq ($(FULL_TARGET),i386-watcom) 1368override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1369endif 1370ifeq ($(FULL_TARGET),i386-netwlibc) 1371override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1372endif 1373ifeq ($(FULL_TARGET),i386-wince) 1374override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1375endif 1376ifeq ($(FULL_TARGET),i386-embedded) 1377override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1378endif 1379ifeq ($(FULL_TARGET),i386-symbian) 1380override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1381endif 1382ifeq ($(FULL_TARGET),i386-nativent) 1383override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1384endif 1385ifeq ($(FULL_TARGET),i386-iphonesim) 1386override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1387endif 1388ifeq ($(FULL_TARGET),i386-android) 1389override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1390endif 1391ifeq ($(FULL_TARGET),i386-aros) 1392override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1393endif 1394ifeq ($(FULL_TARGET),m68k-linux) 1395override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1396endif 1397ifeq ($(FULL_TARGET),m68k-netbsd) 1398override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1399endif 1400ifeq ($(FULL_TARGET),m68k-amiga) 1401override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1402endif 1403ifeq ($(FULL_TARGET),m68k-atari) 1404override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1405endif 1406ifeq ($(FULL_TARGET),m68k-palmos) 1407override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1408endif 1409ifeq ($(FULL_TARGET),m68k-macosclassic) 1410override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1411endif 1412ifeq ($(FULL_TARGET),m68k-embedded) 1413override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1414endif 1415ifeq ($(FULL_TARGET),m68k-sinclairql) 1416override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1417endif 1418ifeq ($(FULL_TARGET),powerpc-linux) 1419override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1420endif 1421ifeq ($(FULL_TARGET),powerpc-netbsd) 1422override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1423endif 1424ifeq ($(FULL_TARGET),powerpc-amiga) 1425override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1426endif 1427ifeq ($(FULL_TARGET),powerpc-macosclassic) 1428override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1429endif 1430ifeq ($(FULL_TARGET),powerpc-darwin) 1431override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1432endif 1433ifeq ($(FULL_TARGET),powerpc-morphos) 1434override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1435endif 1436ifeq ($(FULL_TARGET),powerpc-embedded) 1437override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1438endif 1439ifeq ($(FULL_TARGET),powerpc-wii) 1440override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1441endif 1442ifeq ($(FULL_TARGET),powerpc-aix) 1443override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1444endif 1445ifeq ($(FULL_TARGET),sparc-linux) 1446override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1447endif 1448ifeq ($(FULL_TARGET),sparc-netbsd) 1449override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1450endif 1451ifeq ($(FULL_TARGET),sparc-solaris) 1452override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1453endif 1454ifeq ($(FULL_TARGET),sparc-embedded) 1455override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1456endif 1457ifeq ($(FULL_TARGET),x86_64-linux) 1458override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1459endif 1460ifeq ($(FULL_TARGET),x86_64-freebsd) 1461override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1462endif 1463ifeq ($(FULL_TARGET),x86_64-haiku) 1464override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1465endif 1466ifeq ($(FULL_TARGET),x86_64-netbsd) 1467override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1468endif 1469ifeq ($(FULL_TARGET),x86_64-solaris) 1470override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1471endif 1472ifeq ($(FULL_TARGET),x86_64-openbsd) 1473override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1474endif 1475ifeq ($(FULL_TARGET),x86_64-darwin) 1476override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1477endif 1478ifeq ($(FULL_TARGET),x86_64-win64) 1479override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1480endif 1481ifeq ($(FULL_TARGET),x86_64-embedded) 1482override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1483endif 1484ifeq ($(FULL_TARGET),x86_64-iphonesim) 1485override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1486endif 1487ifeq ($(FULL_TARGET),x86_64-android) 1488override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1489endif 1490ifeq ($(FULL_TARGET),x86_64-aros) 1491override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1492endif 1493ifeq ($(FULL_TARGET),x86_64-dragonfly) 1494override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1495endif 1496ifeq ($(FULL_TARGET),arm-linux) 1497override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1498endif 1499ifeq ($(FULL_TARGET),arm-netbsd) 1500override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1501endif 1502ifeq ($(FULL_TARGET),arm-palmos) 1503override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1504endif 1505ifeq ($(FULL_TARGET),arm-wince) 1506override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1507endif 1508ifeq ($(FULL_TARGET),arm-gba) 1509override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1510endif 1511ifeq ($(FULL_TARGET),arm-nds) 1512override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1513endif 1514ifeq ($(FULL_TARGET),arm-embedded) 1515override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1516endif 1517ifeq ($(FULL_TARGET),arm-symbian) 1518override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1519endif 1520ifeq ($(FULL_TARGET),arm-android) 1521override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1522endif 1523ifeq ($(FULL_TARGET),arm-aros) 1524override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1525endif 1526ifeq ($(FULL_TARGET),arm-freertos) 1527override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1528endif 1529ifeq ($(FULL_TARGET),arm-ios) 1530override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1531endif 1532ifeq ($(FULL_TARGET),powerpc64-linux) 1533override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1534endif 1535ifeq ($(FULL_TARGET),powerpc64-darwin) 1536override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1537endif 1538ifeq ($(FULL_TARGET),powerpc64-embedded) 1539override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1540endif 1541ifeq ($(FULL_TARGET),powerpc64-aix) 1542override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1543endif 1544ifeq ($(FULL_TARGET),avr-embedded) 1545override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1546endif 1547ifeq ($(FULL_TARGET),armeb-linux) 1548override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1549endif 1550ifeq ($(FULL_TARGET),armeb-embedded) 1551override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1552endif 1553ifeq ($(FULL_TARGET),mips-linux) 1554override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1555endif 1556ifeq ($(FULL_TARGET),mipsel-linux) 1557override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1558endif 1559ifeq ($(FULL_TARGET),mipsel-embedded) 1560override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1561endif 1562ifeq ($(FULL_TARGET),mipsel-android) 1563override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1564endif 1565ifeq ($(FULL_TARGET),mips64el-linux) 1566override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1567endif 1568ifeq ($(FULL_TARGET),jvm-java) 1569override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1570endif 1571ifeq ($(FULL_TARGET),jvm-android) 1572override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1573endif 1574ifeq ($(FULL_TARGET),i8086-embedded) 1575override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1576endif 1577ifeq ($(FULL_TARGET),i8086-msdos) 1578override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1579endif 1580ifeq ($(FULL_TARGET),i8086-win16) 1581override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1582endif 1583ifeq ($(FULL_TARGET),aarch64-linux) 1584override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1585endif 1586ifeq ($(FULL_TARGET),aarch64-freebsd) 1587override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1588endif 1589ifeq ($(FULL_TARGET),aarch64-darwin) 1590override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1591endif 1592ifeq ($(FULL_TARGET),aarch64-win64) 1593override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1594endif 1595ifeq ($(FULL_TARGET),aarch64-android) 1596override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1597endif 1598ifeq ($(FULL_TARGET),aarch64-ios) 1599override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1600endif 1601ifeq ($(FULL_TARGET),wasm32-embedded) 1602override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1603endif 1604ifeq ($(FULL_TARGET),wasm32-wasi) 1605override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1606endif 1607ifeq ($(FULL_TARGET),sparc64-linux) 1608override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1609endif 1610ifeq ($(FULL_TARGET),riscv32-linux) 1611override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1612endif 1613ifeq ($(FULL_TARGET),riscv32-embedded) 1614override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1615endif 1616ifeq ($(FULL_TARGET),riscv64-linux) 1617override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1618endif 1619ifeq ($(FULL_TARGET),riscv64-embedded) 1620override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1621endif 1622ifeq ($(FULL_TARGET),xtensa-linux) 1623override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1624endif 1625ifeq ($(FULL_TARGET),xtensa-embedded) 1626override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1627endif 1628ifeq ($(FULL_TARGET),xtensa-freertos) 1629override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1630endif 1631ifeq ($(FULL_TARGET),z80-embedded) 1632override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1633endif 1634ifeq ($(FULL_TARGET),z80-zxspectrum) 1635override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1636endif 1637ifeq ($(FULL_TARGET),z80-msxdos) 1638override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1639endif 1640ifeq ($(FULL_TARGET),z80-amstradcpc) 1641override COMPILER_UNITDIR+=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) ../../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) . 1642endif 1643ifeq ($(FULL_TARGET),i386-linux) 1644override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1645endif 1646ifeq ($(FULL_TARGET),i386-go32v2) 1647override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1648endif 1649ifeq ($(FULL_TARGET),i386-win32) 1650override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1651endif 1652ifeq ($(FULL_TARGET),i386-os2) 1653override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1654endif 1655ifeq ($(FULL_TARGET),i386-freebsd) 1656override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1657endif 1658ifeq ($(FULL_TARGET),i386-beos) 1659override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1660endif 1661ifeq ($(FULL_TARGET),i386-haiku) 1662override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1663endif 1664ifeq ($(FULL_TARGET),i386-netbsd) 1665override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1666endif 1667ifeq ($(FULL_TARGET),i386-solaris) 1668override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1669endif 1670ifeq ($(FULL_TARGET),i386-netware) 1671override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1672endif 1673ifeq ($(FULL_TARGET),i386-openbsd) 1674override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1675endif 1676ifeq ($(FULL_TARGET),i386-wdosx) 1677override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1678endif 1679ifeq ($(FULL_TARGET),i386-darwin) 1680override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1681endif 1682ifeq ($(FULL_TARGET),i386-emx) 1683override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1684endif 1685ifeq ($(FULL_TARGET),i386-watcom) 1686override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1687endif 1688ifeq ($(FULL_TARGET),i386-netwlibc) 1689override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1690endif 1691ifeq ($(FULL_TARGET),i386-wince) 1692override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1693endif 1694ifeq ($(FULL_TARGET),i386-embedded) 1695override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1696endif 1697ifeq ($(FULL_TARGET),i386-symbian) 1698override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1699endif 1700ifeq ($(FULL_TARGET),i386-nativent) 1701override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1702endif 1703ifeq ($(FULL_TARGET),i386-iphonesim) 1704override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1705endif 1706ifeq ($(FULL_TARGET),i386-android) 1707override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1708endif 1709ifeq ($(FULL_TARGET),i386-aros) 1710override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1711endif 1712ifeq ($(FULL_TARGET),m68k-linux) 1713override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1714endif 1715ifeq ($(FULL_TARGET),m68k-netbsd) 1716override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1717endif 1718ifeq ($(FULL_TARGET),m68k-amiga) 1719override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1720endif 1721ifeq ($(FULL_TARGET),m68k-atari) 1722override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1723endif 1724ifeq ($(FULL_TARGET),m68k-palmos) 1725override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1726endif 1727ifeq ($(FULL_TARGET),m68k-macosclassic) 1728override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1729endif 1730ifeq ($(FULL_TARGET),m68k-embedded) 1731override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1732endif 1733ifeq ($(FULL_TARGET),m68k-sinclairql) 1734override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1735endif 1736ifeq ($(FULL_TARGET),powerpc-linux) 1737override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1738endif 1739ifeq ($(FULL_TARGET),powerpc-netbsd) 1740override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1741endif 1742ifeq ($(FULL_TARGET),powerpc-amiga) 1743override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1744endif 1745ifeq ($(FULL_TARGET),powerpc-macosclassic) 1746override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1747endif 1748ifeq ($(FULL_TARGET),powerpc-darwin) 1749override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1750endif 1751ifeq ($(FULL_TARGET),powerpc-morphos) 1752override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1753endif 1754ifeq ($(FULL_TARGET),powerpc-embedded) 1755override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1756endif 1757ifeq ($(FULL_TARGET),powerpc-wii) 1758override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1759endif 1760ifeq ($(FULL_TARGET),powerpc-aix) 1761override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1762endif 1763ifeq ($(FULL_TARGET),sparc-linux) 1764override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1765endif 1766ifeq ($(FULL_TARGET),sparc-netbsd) 1767override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1768endif 1769ifeq ($(FULL_TARGET),sparc-solaris) 1770override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1771endif 1772ifeq ($(FULL_TARGET),sparc-embedded) 1773override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1774endif 1775ifeq ($(FULL_TARGET),x86_64-linux) 1776override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1777endif 1778ifeq ($(FULL_TARGET),x86_64-freebsd) 1779override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1780endif 1781ifeq ($(FULL_TARGET),x86_64-haiku) 1782override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1783endif 1784ifeq ($(FULL_TARGET),x86_64-netbsd) 1785override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1786endif 1787ifeq ($(FULL_TARGET),x86_64-solaris) 1788override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1789endif 1790ifeq ($(FULL_TARGET),x86_64-openbsd) 1791override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1792endif 1793ifeq ($(FULL_TARGET),x86_64-darwin) 1794override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1795endif 1796ifeq ($(FULL_TARGET),x86_64-win64) 1797override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1798endif 1799ifeq ($(FULL_TARGET),x86_64-embedded) 1800override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1801endif 1802ifeq ($(FULL_TARGET),x86_64-iphonesim) 1803override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1804endif 1805ifeq ($(FULL_TARGET),x86_64-android) 1806override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1807endif 1808ifeq ($(FULL_TARGET),x86_64-aros) 1809override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1810endif 1811ifeq ($(FULL_TARGET),x86_64-dragonfly) 1812override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1813endif 1814ifeq ($(FULL_TARGET),arm-linux) 1815override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1816endif 1817ifeq ($(FULL_TARGET),arm-netbsd) 1818override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1819endif 1820ifeq ($(FULL_TARGET),arm-palmos) 1821override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1822endif 1823ifeq ($(FULL_TARGET),arm-wince) 1824override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1825endif 1826ifeq ($(FULL_TARGET),arm-gba) 1827override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1828endif 1829ifeq ($(FULL_TARGET),arm-nds) 1830override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1831endif 1832ifeq ($(FULL_TARGET),arm-embedded) 1833override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1834endif 1835ifeq ($(FULL_TARGET),arm-symbian) 1836override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1837endif 1838ifeq ($(FULL_TARGET),arm-android) 1839override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1840endif 1841ifeq ($(FULL_TARGET),arm-aros) 1842override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1843endif 1844ifeq ($(FULL_TARGET),arm-freertos) 1845override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1846endif 1847ifeq ($(FULL_TARGET),arm-ios) 1848override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1849endif 1850ifeq ($(FULL_TARGET),powerpc64-linux) 1851override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1852endif 1853ifeq ($(FULL_TARGET),powerpc64-darwin) 1854override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1855endif 1856ifeq ($(FULL_TARGET),powerpc64-embedded) 1857override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1858endif 1859ifeq ($(FULL_TARGET),powerpc64-aix) 1860override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1861endif 1862ifeq ($(FULL_TARGET),avr-embedded) 1863override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1864endif 1865ifeq ($(FULL_TARGET),armeb-linux) 1866override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1867endif 1868ifeq ($(FULL_TARGET),armeb-embedded) 1869override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1870endif 1871ifeq ($(FULL_TARGET),mips-linux) 1872override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1873endif 1874ifeq ($(FULL_TARGET),mipsel-linux) 1875override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1876endif 1877ifeq ($(FULL_TARGET),mipsel-embedded) 1878override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1879endif 1880ifeq ($(FULL_TARGET),mipsel-android) 1881override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1882endif 1883ifeq ($(FULL_TARGET),mips64el-linux) 1884override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1885endif 1886ifeq ($(FULL_TARGET),jvm-java) 1887override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1888endif 1889ifeq ($(FULL_TARGET),jvm-android) 1890override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1891endif 1892ifeq ($(FULL_TARGET),i8086-embedded) 1893override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1894endif 1895ifeq ($(FULL_TARGET),i8086-msdos) 1896override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1897endif 1898ifeq ($(FULL_TARGET),i8086-win16) 1899override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1900endif 1901ifeq ($(FULL_TARGET),aarch64-linux) 1902override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1903endif 1904ifeq ($(FULL_TARGET),aarch64-freebsd) 1905override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1906endif 1907ifeq ($(FULL_TARGET),aarch64-darwin) 1908override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1909endif 1910ifeq ($(FULL_TARGET),aarch64-win64) 1911override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1912endif 1913ifeq ($(FULL_TARGET),aarch64-android) 1914override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1915endif 1916ifeq ($(FULL_TARGET),aarch64-ios) 1917override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1918endif 1919ifeq ($(FULL_TARGET),wasm32-embedded) 1920override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1921endif 1922ifeq ($(FULL_TARGET),wasm32-wasi) 1923override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1924endif 1925ifeq ($(FULL_TARGET),sparc64-linux) 1926override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1927endif 1928ifeq ($(FULL_TARGET),riscv32-linux) 1929override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1930endif 1931ifeq ($(FULL_TARGET),riscv32-embedded) 1932override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1933endif 1934ifeq ($(FULL_TARGET),riscv64-linux) 1935override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1936endif 1937ifeq ($(FULL_TARGET),riscv64-embedded) 1938override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1939endif 1940ifeq ($(FULL_TARGET),xtensa-linux) 1941override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1942endif 1943ifeq ($(FULL_TARGET),xtensa-embedded) 1944override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1945endif 1946ifeq ($(FULL_TARGET),xtensa-freertos) 1947override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1948endif 1949ifeq ($(FULL_TARGET),z80-embedded) 1950override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1951endif 1952ifeq ($(FULL_TARGET),z80-zxspectrum) 1953override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1954endif 1955ifeq ($(FULL_TARGET),z80-msxdos) 1956override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1957endif 1958ifeq ($(FULL_TARGET),z80-amstradcpc) 1959override COMPILER_UNITTARGETDIR+=lib/$(CPU_TARGET)-$(OS_TARGET) 1960endif 1961ifdef REQUIRE_UNITSDIR 1962override UNITSDIR+=$(REQUIRE_UNITSDIR) 1963endif 1964ifdef REQUIRE_PACKAGESDIR 1965override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR) 1966endif 1967ifdef ZIPINSTALL 1968ifneq ($(findstring $(OS_TARGET),$(UNIXs)),) 1969UNIXHier=1 1970endif 1971else 1972ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),) 1973UNIXHier=1 1974endif 1975endif 1976ifndef INSTALL_PREFIX 1977ifdef PREFIX 1978INSTALL_PREFIX=$(PREFIX) 1979endif 1980endif 1981ifndef INSTALL_PREFIX 1982ifdef UNIXHier 1983INSTALL_PREFIX=/usr/local 1984else 1985ifdef INSTALL_FPCPACKAGE 1986INSTALL_BASEDIR:=/pp 1987else 1988INSTALL_BASEDIR:=/$(PACKAGE_NAME) 1989endif 1990endif 1991endif 1992export INSTALL_PREFIX 1993ifdef INSTALL_FPCSUBDIR 1994export INSTALL_FPCSUBDIR 1995endif 1996ifndef DIST_DESTDIR 1997DIST_DESTDIR:=$(BASEDIR) 1998endif 1999export DIST_DESTDIR 2000ifndef COMPILER_UNITTARGETDIR 2001ifdef PACKAGEDIR_MAIN 2002COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX) 2003else 2004COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX) 2005endif 2006endif 2007ifndef COMPILER_TARGETDIR 2008COMPILER_TARGETDIR=. 2009endif 2010ifndef INSTALL_BASEDIR 2011ifdef UNIXHier 2012ifdef INSTALL_FPCPACKAGE 2013INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION) 2014else 2015INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME) 2016endif 2017else 2018INSTALL_BASEDIR:=$(INSTALL_PREFIX) 2019endif 2020endif 2021ifndef INSTALL_BINDIR 2022ifdef UNIXHier 2023INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin 2024else 2025INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin 2026ifdef INSTALL_FPCPACKAGE 2027ifdef CROSSCOMPILE 2028ifdef CROSSINSTALL 2029INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX) 2030else 2031INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX) 2032endif 2033else 2034INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX) 2035endif 2036endif 2037endif 2038endif 2039ifndef INSTALL_UNITDIR 2040INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX) 2041ifdef INSTALL_FPCPACKAGE 2042ifdef PACKAGE_NAME 2043INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME) 2044endif 2045endif 2046endif 2047ifndef INSTALL_LIBDIR 2048ifdef UNIXHier 2049INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib 2050else 2051INSTALL_LIBDIR:=$(INSTALL_UNITDIR) 2052endif 2053endif 2054ifndef INSTALL_SOURCEDIR 2055ifdef UNIXHier 2056ifdef BSDhier 2057SRCPREFIXDIR=share/src 2058else 2059ifdef linuxHier 2060SRCPREFIXDIR=share/src 2061else 2062SRCPREFIXDIR=src 2063endif 2064endif 2065ifdef INSTALL_FPCPACKAGE 2066ifdef INSTALL_FPCSUBDIR 2067INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME) 2068else 2069INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 2070endif 2071else 2072INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 2073endif 2074else 2075ifdef INSTALL_FPCPACKAGE 2076ifdef INSTALL_FPCSUBDIR 2077INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME) 2078else 2079INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME) 2080endif 2081else 2082INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source 2083endif 2084endif 2085endif 2086ifndef INSTALL_DOCDIR 2087ifdef UNIXHier 2088ifdef BSDhier 2089DOCPREFIXDIR=share/doc 2090else 2091ifdef linuxHier 2092DOCPREFIXDIR=share/doc 2093else 2094DOCPREFIXDIR=doc 2095endif 2096endif 2097ifdef INSTALL_FPCPACKAGE 2098INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 2099else 2100INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 2101endif 2102else 2103ifdef INSTALL_FPCPACKAGE 2104INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME) 2105else 2106INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc 2107endif 2108endif 2109endif 2110ifndef INSTALL_EXAMPLEDIR 2111ifdef UNIXHier 2112ifdef INSTALL_FPCPACKAGE 2113ifdef BSDhier 2114INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME) 2115else 2116ifdef linuxHier 2117INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples 2118else 2119INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME) 2120endif 2121endif 2122else 2123ifdef BSDhier 2124INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 2125else 2126ifdef linuxHier 2127INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 2128else 2129INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION) 2130endif 2131endif 2132endif 2133else 2134ifdef INSTALL_FPCPACKAGE 2135INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME) 2136else 2137INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples 2138endif 2139endif 2140endif 2141ifndef INSTALL_DATADIR 2142INSTALL_DATADIR=$(INSTALL_BASEDIR) 2143endif 2144ifndef INSTALL_SHAREDDIR 2145INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib 2146endif 2147ifdef CROSSCOMPILE 2148ifndef CROSSBINDIR 2149CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX)) 2150ifeq ($(CROSSBINDIR),) 2151CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE)) 2152endif 2153endif 2154else 2155CROSSBINDIR= 2156endif 2157ifeq ($(OS_SOURCE),linux) 2158ifndef GCCLIBDIR 2159ifeq ($(CPU_TARGET),i386) 2160ifneq ($(findstring x86_64,$(shell uname -a)),) 2161ifeq ($(BINUTILSPREFIX),) 2162GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) 2163else 2164CROSSGCCOPT=-m32 2165endif 2166endif 2167endif 2168ifeq ($(CPU_TARGET),powerpc) 2169ifeq ($(BINUTILSPREFIX),) 2170GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) 2171else 2172CROSSGCCOPT=-m32 2173endif 2174endif 2175ifeq ($(CPU_TARGET),powerpc64) 2176ifeq ($(BINUTILSPREFIX),) 2177GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`) 2178else 2179CROSSGCCOPT=-m64 2180endif 2181endif 2182ifeq ($(CPU_TARGET),sparc) 2183ifneq ($(findstring sparc64,$(shell uname -a)),) 2184ifeq ($(BINUTILSPREFIX),) 2185GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) 2186else 2187ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips mipsel),) 2188CROSSGCCOPT=-mabi=32 2189else 2190CROSSGCCOPT=-m32 2191endif 2192endif 2193endif 2194endif 2195endif 2196ifdef FPCFPMAKE 2197FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP) 2198ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET)) 2199FPCMAKEGCCLIBDIR:=$(GCCLIBDIR) 2200else 2201ifneq ($(findstring $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64),) 2202FPCMAKE_CROSSGCCOPT=-m64 2203else 2204ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips64 mips64el),) 2205FPCMAKE_CROSSGCCOPT=-mabi=64 2206else 2207ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips mipsel),) 2208FPCMAKE_CROSSGCCOPT=-mabi=32 2209else 2210ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv64),) 2211FPCMAKE_CROSSGCCOPT=-mabi=lp64 2212else 2213ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv32),) 2214FPCMAKE_CROSSGCCOPT=-mabi=ilp32 2215else 2216FPCMAKE_CROSSGCCOPT=-m32 2217endif 2218endif 2219endif 2220endif 2221endif 2222FPCMAKEGCCLIBDIR:=$(shell dirname `gcc $(FPCMAKE_CROSSGCCOPT) -print-libgcc-file-name`) 2223endif 2224endif 2225ifndef FPCMAKEGCCLIBDIR 2226FPCMAKEGCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`) 2227endif 2228ifndef GCCLIBDIR 2229CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH)))) 2230ifneq ($(CROSSGCC),) 2231GCCLIBDIR:=$(shell dirname `$(CROSSGCC) $(CROSSGCCOPT) -print-libgcc-file-name`) 2232endif 2233endif 2234endif 2235ifdef inUnix 2236ifeq ($(OS_SOURCE),netbsd) 2237OTHERLIBDIR:=/usr/pkg/lib 2238endif 2239export GCCLIBDIR FPCMAKEGCCLIBDIR OTHERLIBDIR 2240endif 2241BATCHEXT=.bat 2242LOADEREXT=.as 2243EXEEXT=.exe 2244PPLEXT=.ppl 2245PPUEXT=.ppu 2246OEXT=.o 2247LTOEXT=.bc 2248ASMEXT=.s 2249SMARTEXT=.sl 2250STATICLIBEXT=.a 2251SHAREDLIBEXT=.so 2252SHAREDLIBPREFIX=libfp 2253STATICLIBPREFIX=libp 2254IMPORTLIBPREFIX=libimp 2255RSTEXT=.rst 2256EXEDBGEXT=.dbg 2257ifeq ($(OS_TARGET),go32v1) 2258STATICLIBPREFIX= 2259SHORTSUFFIX=v1 2260endif 2261ifeq ($(OS_TARGET),go32v2) 2262STATICLIBPREFIX= 2263SHORTSUFFIX=dos 2264IMPORTLIBPREFIX= 2265endif 2266ifeq ($(OS_TARGET),watcom) 2267STATICLIBPREFIX= 2268OEXT=.obj 2269ASMEXT=.asm 2270SHAREDLIBEXT=.dll 2271SHORTSUFFIX=wat 2272IMPORTLIBPREFIX= 2273endif 2274ifneq ($(CPU_TARGET),jvm) 2275ifeq ($(OS_TARGET),android) 2276BATCHEXT=.sh 2277EXEEXT= 2278HASSHAREDLIB=1 2279SHORTSUFFIX=lnx 2280endif 2281endif 2282ifeq ($(OS_TARGET),linux) 2283BATCHEXT=.sh 2284EXEEXT= 2285HASSHAREDLIB=1 2286SHORTSUFFIX=lnx 2287endif 2288ifeq ($(OS_TARGET),dragonfly) 2289BATCHEXT=.sh 2290EXEEXT= 2291HASSHAREDLIB=1 2292SHORTSUFFIX=df 2293endif 2294ifeq ($(OS_TARGET),freebsd) 2295BATCHEXT=.sh 2296EXEEXT= 2297HASSHAREDLIB=1 2298SHORTSUFFIX=fbs 2299endif 2300ifeq ($(OS_TARGET),netbsd) 2301BATCHEXT=.sh 2302EXEEXT= 2303HASSHAREDLIB=1 2304SHORTSUFFIX=nbs 2305endif 2306ifeq ($(OS_TARGET),openbsd) 2307BATCHEXT=.sh 2308EXEEXT= 2309HASSHAREDLIB=1 2310SHORTSUFFIX=obs 2311endif 2312ifeq ($(OS_TARGET),win32) 2313SHAREDLIBEXT=.dll 2314SHORTSUFFIX=w32 2315endif 2316ifeq ($(OS_TARGET),os2) 2317BATCHEXT=.cmd 2318AOUTEXT=.out 2319STATICLIBPREFIX= 2320SHAREDLIBEXT=.dll 2321SHORTSUFFIX=os2 2322ECHO=echo 2323IMPORTLIBPREFIX= 2324endif 2325ifeq ($(OS_TARGET),emx) 2326BATCHEXT=.cmd 2327AOUTEXT=.out 2328STATICLIBPREFIX= 2329SHAREDLIBEXT=.dll 2330SHORTSUFFIX=emx 2331ECHO=echo 2332IMPORTLIBPREFIX= 2333endif 2334ifeq ($(OS_TARGET),amiga) 2335EXEEXT= 2336SHAREDLIBEXT=.library 2337SHORTSUFFIX=amg 2338endif 2339ifeq ($(OS_TARGET),aros) 2340EXEEXT= 2341SHAREDLIBEXT=.library 2342SHORTSUFFIX=aros 2343endif 2344ifeq ($(OS_TARGET),morphos) 2345EXEEXT= 2346SHAREDLIBEXT=.library 2347SHORTSUFFIX=mos 2348endif 2349ifeq ($(OS_TARGET),atari) 2350EXEEXT=.ttp 2351SHORTSUFFIX=ata 2352endif 2353ifeq ($(OS_TARGET),beos) 2354BATCHEXT=.sh 2355EXEEXT= 2356SHORTSUFFIX=be 2357endif 2358ifeq ($(OS_TARGET),haiku) 2359BATCHEXT=.sh 2360EXEEXT= 2361SHORTSUFFIX=hai 2362endif 2363ifeq ($(OS_TARGET),solaris) 2364BATCHEXT=.sh 2365EXEEXT= 2366SHORTSUFFIX=sun 2367endif 2368ifeq ($(OS_TARGET),qnx) 2369BATCHEXT=.sh 2370EXEEXT= 2371SHORTSUFFIX=qnx 2372endif 2373ifeq ($(OS_TARGET),netware) 2374EXEEXT=.nlm 2375STATICLIBPREFIX= 2376SHORTSUFFIX=nw 2377IMPORTLIBPREFIX=imp 2378endif 2379ifeq ($(OS_TARGET),netwlibc) 2380EXEEXT=.nlm 2381STATICLIBPREFIX= 2382SHORTSUFFIX=nwl 2383IMPORTLIBPREFIX=imp 2384endif 2385ifeq ($(OS_TARGET),macosclassic) 2386BATCHEXT= 2387EXEEXT= 2388DEBUGSYMEXT=.xcoff 2389SHORTSUFFIX=mac 2390IMPORTLIBPREFIX=imp 2391endif 2392ifneq ($(findstring $(OS_TARGET),darwin iphonesim ios),) 2393BATCHEXT=.sh 2394EXEEXT= 2395HASSHAREDLIB=1 2396SHORTSUFFIX=dwn 2397EXEDBGEXT=.dSYM 2398endif 2399ifeq ($(OS_TARGET),gba) 2400EXEEXT=.gba 2401SHAREDLIBEXT=.so 2402SHORTSUFFIX=gba 2403endif 2404ifeq ($(OS_TARGET),symbian) 2405SHAREDLIBEXT=.dll 2406SHORTSUFFIX=symbian 2407endif 2408ifeq ($(OS_TARGET),NativeNT) 2409SHAREDLIBEXT=.dll 2410SHORTSUFFIX=nativent 2411endif 2412ifeq ($(OS_TARGET),wii) 2413EXEEXT=.dol 2414SHAREDLIBEXT=.so 2415SHORTSUFFIX=wii 2416endif 2417ifeq ($(OS_TARGET),aix) 2418BATCHEXT=.sh 2419EXEEXT= 2420SHAREDLIBEXT=.a 2421SHORTSUFFIX=aix 2422endif 2423ifeq ($(OS_TARGET),java) 2424OEXT=.class 2425ASMEXT=.j 2426SHAREDLIBEXT=.jar 2427SHORTSUFFIX=java 2428endif 2429ifeq ($(CPU_TARGET),jvm) 2430ifeq ($(OS_TARGET),android) 2431OEXT=.class 2432ASMEXT=.j 2433SHAREDLIBEXT=.jar 2434SHORTSUFFIX=android 2435endif 2436endif 2437ifeq ($(OS_TARGET),msdos) 2438STATICLIBPREFIX= 2439STATICLIBEXT=.a 2440SHORTSUFFIX=d16 2441endif 2442ifeq ($(OS_TARGET),msxdos) 2443STATICLIBPREFIX= 2444STATICLIBEXT=.a 2445SHORTSUFFIX=msd 2446endif 2447ifeq ($(OS_TARGET),embedded) 2448ifeq ($(CPU_TARGET),i8086) 2449STATICLIBPREFIX= 2450STATICLIBEXT=.a 2451else 2452EXEEXT=.bin 2453endif 2454ifeq ($(CPU_TARGET),z80) 2455OEXT=.rel 2456endif 2457SHORTSUFFIX=emb 2458endif 2459ifeq ($(OS_TARGET),win16) 2460STATICLIBPREFIX= 2461STATICLIBEXT=.a 2462SHAREDLIBEXT=.dll 2463SHORTSUFFIX=w16 2464endif 2465ifeq ($(OS_TARGET),zxspectrum) 2466OEXT=.rel 2467endif 2468ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) 2469FPCMADE=fpcmade.$(SHORTSUFFIX) 2470ZIPSUFFIX=$(SHORTSUFFIX) 2471ZIPCROSSPREFIX= 2472ZIPSOURCESUFFIX=src 2473ZIPEXAMPLESUFFIX=exm 2474else 2475FPCMADE=fpcmade.$(TARGETSUFFIX) 2476ZIPSOURCESUFFIX=.source 2477ZIPEXAMPLESUFFIX=.examples 2478ifdef CROSSCOMPILE 2479ZIPSUFFIX=.$(SOURCESUFFIX) 2480ZIPCROSSPREFIX=$(TARGETSUFFIX)- 2481else 2482ZIPSUFFIX=.$(TARGETSUFFIX) 2483ZIPCROSSPREFIX= 2484endif 2485endif 2486ifndef ECHO 2487ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH)))) 2488ifeq ($(ECHO),) 2489ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH)))) 2490ifeq ($(ECHO),) 2491ECHO= __missing_command_ECHO 2492else 2493ECHO:=$(firstword $(ECHO)) 2494endif 2495else 2496ECHO:=$(firstword $(ECHO)) 2497endif 2498endif 2499export ECHO 2500ifndef DATE 2501DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH)))) 2502ifeq ($(DATE),) 2503DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH)))) 2504ifeq ($(DATE),) 2505DATE= __missing_command_DATE 2506else 2507DATE:=$(firstword $(DATE)) 2508endif 2509else 2510DATE:=$(firstword $(DATE)) 2511endif 2512endif 2513export DATE 2514ifndef GINSTALL 2515GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH)))) 2516ifeq ($(GINSTALL),) 2517GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH)))) 2518ifeq ($(GINSTALL),) 2519GINSTALL= __missing_command_GINSTALL 2520else 2521GINSTALL:=$(firstword $(GINSTALL)) 2522endif 2523else 2524GINSTALL:=$(firstword $(GINSTALL)) 2525endif 2526endif 2527export GINSTALL 2528ifndef CPPROG 2529CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH)))) 2530ifeq ($(CPPROG),) 2531CPPROG= __missing_command_CPPROG 2532else 2533CPPROG:=$(firstword $(CPPROG)) 2534endif 2535endif 2536export CPPROG 2537ifndef RMPROG 2538RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH)))) 2539ifeq ($(RMPROG),) 2540RMPROG= __missing_command_RMPROG 2541else 2542RMPROG:=$(firstword $(RMPROG)) 2543endif 2544endif 2545export RMPROG 2546ifndef MVPROG 2547MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH)))) 2548ifeq ($(MVPROG),) 2549MVPROG= __missing_command_MVPROG 2550else 2551MVPROG:=$(firstword $(MVPROG)) 2552endif 2553endif 2554export MVPROG 2555ifndef MKDIRPROG 2556MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH)))) 2557ifeq ($(MKDIRPROG),) 2558MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH)))) 2559ifeq ($(MKDIRPROG),) 2560MKDIRPROG= __missing_command_MKDIRPROG 2561else 2562MKDIRPROG:=$(firstword $(MKDIRPROG)) 2563endif 2564else 2565MKDIRPROG:=$(firstword $(MKDIRPROG)) 2566endif 2567endif 2568export MKDIRPROG 2569ifndef ECHOREDIR 2570ifndef inUnix 2571ECHOREDIR=echo 2572else 2573ECHOREDIR=$(ECHO) 2574endif 2575endif 2576ifndef COPY 2577COPY:=$(CPPROG) -fp 2578endif 2579ifndef COPYTREE 2580COPYTREE:=$(CPPROG) -Rfp 2581endif 2582ifndef MKDIRTREE 2583MKDIRTREE:=$(MKDIRPROG) -p 2584endif 2585ifndef MOVE 2586MOVE:=$(MVPROG) -f 2587endif 2588ifndef DEL 2589DEL:=$(RMPROG) -f 2590endif 2591ifndef DELTREE 2592DELTREE:=$(RMPROG) -rf 2593endif 2594ifndef INSTALL 2595ifdef inUnix 2596INSTALL:=$(GINSTALL) -c -m 644 2597else 2598INSTALL:=$(COPY) 2599endif 2600endif 2601ifndef INSTALLEXE 2602ifdef inUnix 2603INSTALLEXE:=$(GINSTALL) -c -m 755 2604else 2605INSTALLEXE:=$(COPY) 2606endif 2607endif 2608ifndef MKDIR 2609MKDIR:=$(GINSTALL) -m 755 -d 2610endif 2611export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR 2612ifndef PPUMOVE 2613PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH)))) 2614ifeq ($(PPUMOVE),) 2615PPUMOVE= __missing_command_PPUMOVE 2616else 2617PPUMOVE:=$(firstword $(PPUMOVE)) 2618endif 2619endif 2620export PPUMOVE 2621ifndef FPCMAKE 2622FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH)))) 2623ifeq ($(FPCMAKE),) 2624FPCMAKE= __missing_command_FPCMAKE 2625else 2626FPCMAKE:=$(firstword $(FPCMAKE)) 2627endif 2628endif 2629export FPCMAKE 2630ifndef ZIPPROG 2631ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH)))) 2632ifeq ($(ZIPPROG),) 2633ZIPPROG= __missing_command_ZIPPROG 2634else 2635ZIPPROG:=$(firstword $(ZIPPROG)) 2636endif 2637endif 2638export ZIPPROG 2639ifndef TARPROG 2640TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH)))) 2641ifeq ($(TARPROG),) 2642TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH)))) 2643ifeq ($(TARPROG),) 2644TARPROG= __missing_command_TARPROG 2645else 2646TARPROG:=$(firstword $(TARPROG)) 2647endif 2648else 2649TARPROG:=$(firstword $(TARPROG)) 2650endif 2651endif 2652export TARPROG 2653ASNAME=$(BINUTILSPREFIX)as 2654LDNAME=$(BINUTILSPREFIX)ld 2655ARNAME=$(BINUTILSPREFIX)ar 2656RCNAME=$(BINUTILSPREFIX)rc 2657NASMNAME=$(BINUTILSPREFIX)nasm 2658ifndef ASPROG 2659ifdef CROSSBINDIR 2660ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT) 2661else 2662ASPROG=$(ASNAME) 2663endif 2664endif 2665ifndef LDPROG 2666ifdef CROSSBINDIR 2667LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT) 2668else 2669LDPROG=$(LDNAME) 2670endif 2671endif 2672ifndef RCPROG 2673ifdef CROSSBINDIR 2674RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT) 2675else 2676RCPROG=$(RCNAME) 2677endif 2678endif 2679ifndef ARPROG 2680ifdef CROSSBINDIR 2681ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT) 2682else 2683ARPROG=$(ARNAME) 2684endif 2685endif 2686ifndef NASMPROG 2687ifdef CROSSBINDIR 2688NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT) 2689else 2690NASMPROG=$(NASMNAME) 2691endif 2692endif 2693AS=$(ASPROG) 2694LD=$(LDPROG) 2695RC=$(RCPROG) 2696AR=$(ARPROG) 2697NASM=$(NASMPROG) 2698ifdef inUnix 2699PPAS=./ppas$(SRCBATCHEXT) 2700else 2701PPAS=ppas$(SRCBATCHEXT) 2702endif 2703ifdef inUnix 2704LDCONFIG=ldconfig 2705else 2706LDCONFIG= 2707endif 2708ifdef DATE 2709DATESTR:=$(shell $(DATE) +%Y%m%d) 2710else 2711DATESTR= 2712endif 2713ZIPOPT=-9 2714ZIPEXT=.zip 2715ifeq ($(USETAR),bz2) 2716TAROPT=vj 2717TAREXT=.tar.bz2 2718else 2719TAROPT=vz 2720TAREXT=.tar.gz 2721endif 2722override REQUIRE_PACKAGES=rtl 2723ifeq ($(FULL_TARGET),i386-linux) 2724REQUIRE_PACKAGES_RTL=1 2725endif 2726ifeq ($(FULL_TARGET),i386-go32v2) 2727REQUIRE_PACKAGES_RTL=1 2728endif 2729ifeq ($(FULL_TARGET),i386-win32) 2730REQUIRE_PACKAGES_RTL=1 2731endif 2732ifeq ($(FULL_TARGET),i386-os2) 2733REQUIRE_PACKAGES_RTL=1 2734endif 2735ifeq ($(FULL_TARGET),i386-freebsd) 2736REQUIRE_PACKAGES_RTL=1 2737endif 2738ifeq ($(FULL_TARGET),i386-beos) 2739REQUIRE_PACKAGES_RTL=1 2740endif 2741ifeq ($(FULL_TARGET),i386-haiku) 2742REQUIRE_PACKAGES_RTL=1 2743endif 2744ifeq ($(FULL_TARGET),i386-netbsd) 2745REQUIRE_PACKAGES_RTL=1 2746endif 2747ifeq ($(FULL_TARGET),i386-solaris) 2748REQUIRE_PACKAGES_RTL=1 2749endif 2750ifeq ($(FULL_TARGET),i386-netware) 2751REQUIRE_PACKAGES_RTL=1 2752endif 2753ifeq ($(FULL_TARGET),i386-openbsd) 2754REQUIRE_PACKAGES_RTL=1 2755endif 2756ifeq ($(FULL_TARGET),i386-wdosx) 2757REQUIRE_PACKAGES_RTL=1 2758endif 2759ifeq ($(FULL_TARGET),i386-darwin) 2760REQUIRE_PACKAGES_RTL=1 2761endif 2762ifeq ($(FULL_TARGET),i386-emx) 2763REQUIRE_PACKAGES_RTL=1 2764endif 2765ifeq ($(FULL_TARGET),i386-watcom) 2766REQUIRE_PACKAGES_RTL=1 2767endif 2768ifeq ($(FULL_TARGET),i386-netwlibc) 2769REQUIRE_PACKAGES_RTL=1 2770endif 2771ifeq ($(FULL_TARGET),i386-wince) 2772REQUIRE_PACKAGES_RTL=1 2773endif 2774ifeq ($(FULL_TARGET),i386-embedded) 2775REQUIRE_PACKAGES_RTL=1 2776endif 2777ifeq ($(FULL_TARGET),i386-symbian) 2778REQUIRE_PACKAGES_RTL=1 2779endif 2780ifeq ($(FULL_TARGET),i386-nativent) 2781REQUIRE_PACKAGES_RTL=1 2782endif 2783ifeq ($(FULL_TARGET),i386-iphonesim) 2784REQUIRE_PACKAGES_RTL=1 2785endif 2786ifeq ($(FULL_TARGET),i386-android) 2787REQUIRE_PACKAGES_RTL=1 2788endif 2789ifeq ($(FULL_TARGET),i386-aros) 2790REQUIRE_PACKAGES_RTL=1 2791endif 2792ifeq ($(FULL_TARGET),m68k-linux) 2793REQUIRE_PACKAGES_RTL=1 2794endif 2795ifeq ($(FULL_TARGET),m68k-netbsd) 2796REQUIRE_PACKAGES_RTL=1 2797endif 2798ifeq ($(FULL_TARGET),m68k-amiga) 2799REQUIRE_PACKAGES_RTL=1 2800endif 2801ifeq ($(FULL_TARGET),m68k-atari) 2802REQUIRE_PACKAGES_RTL=1 2803endif 2804ifeq ($(FULL_TARGET),m68k-palmos) 2805REQUIRE_PACKAGES_RTL=1 2806endif 2807ifeq ($(FULL_TARGET),m68k-macosclassic) 2808REQUIRE_PACKAGES_RTL=1 2809endif 2810ifeq ($(FULL_TARGET),m68k-embedded) 2811REQUIRE_PACKAGES_RTL=1 2812endif 2813ifeq ($(FULL_TARGET),m68k-sinclairql) 2814REQUIRE_PACKAGES_RTL=1 2815endif 2816ifeq ($(FULL_TARGET),powerpc-linux) 2817REQUIRE_PACKAGES_RTL=1 2818endif 2819ifeq ($(FULL_TARGET),powerpc-netbsd) 2820REQUIRE_PACKAGES_RTL=1 2821endif 2822ifeq ($(FULL_TARGET),powerpc-amiga) 2823REQUIRE_PACKAGES_RTL=1 2824endif 2825ifeq ($(FULL_TARGET),powerpc-macosclassic) 2826REQUIRE_PACKAGES_RTL=1 2827endif 2828ifeq ($(FULL_TARGET),powerpc-darwin) 2829REQUIRE_PACKAGES_RTL=1 2830endif 2831ifeq ($(FULL_TARGET),powerpc-morphos) 2832REQUIRE_PACKAGES_RTL=1 2833endif 2834ifeq ($(FULL_TARGET),powerpc-embedded) 2835REQUIRE_PACKAGES_RTL=1 2836endif 2837ifeq ($(FULL_TARGET),powerpc-wii) 2838REQUIRE_PACKAGES_RTL=1 2839endif 2840ifeq ($(FULL_TARGET),powerpc-aix) 2841REQUIRE_PACKAGES_RTL=1 2842endif 2843ifeq ($(FULL_TARGET),sparc-linux) 2844REQUIRE_PACKAGES_RTL=1 2845endif 2846ifeq ($(FULL_TARGET),sparc-netbsd) 2847REQUIRE_PACKAGES_RTL=1 2848endif 2849ifeq ($(FULL_TARGET),sparc-solaris) 2850REQUIRE_PACKAGES_RTL=1 2851endif 2852ifeq ($(FULL_TARGET),sparc-embedded) 2853REQUIRE_PACKAGES_RTL=1 2854endif 2855ifeq ($(FULL_TARGET),x86_64-linux) 2856REQUIRE_PACKAGES_RTL=1 2857endif 2858ifeq ($(FULL_TARGET),x86_64-freebsd) 2859REQUIRE_PACKAGES_RTL=1 2860endif 2861ifeq ($(FULL_TARGET),x86_64-haiku) 2862REQUIRE_PACKAGES_RTL=1 2863endif 2864ifeq ($(FULL_TARGET),x86_64-netbsd) 2865REQUIRE_PACKAGES_RTL=1 2866endif 2867ifeq ($(FULL_TARGET),x86_64-solaris) 2868REQUIRE_PACKAGES_RTL=1 2869endif 2870ifeq ($(FULL_TARGET),x86_64-openbsd) 2871REQUIRE_PACKAGES_RTL=1 2872endif 2873ifeq ($(FULL_TARGET),x86_64-darwin) 2874REQUIRE_PACKAGES_RTL=1 2875endif 2876ifeq ($(FULL_TARGET),x86_64-win64) 2877REQUIRE_PACKAGES_RTL=1 2878endif 2879ifeq ($(FULL_TARGET),x86_64-embedded) 2880REQUIRE_PACKAGES_RTL=1 2881endif 2882ifeq ($(FULL_TARGET),x86_64-iphonesim) 2883REQUIRE_PACKAGES_RTL=1 2884endif 2885ifeq ($(FULL_TARGET),x86_64-android) 2886REQUIRE_PACKAGES_RTL=1 2887endif 2888ifeq ($(FULL_TARGET),x86_64-aros) 2889REQUIRE_PACKAGES_RTL=1 2890endif 2891ifeq ($(FULL_TARGET),x86_64-dragonfly) 2892REQUIRE_PACKAGES_RTL=1 2893endif 2894ifeq ($(FULL_TARGET),arm-linux) 2895REQUIRE_PACKAGES_RTL=1 2896endif 2897ifeq ($(FULL_TARGET),arm-netbsd) 2898REQUIRE_PACKAGES_RTL=1 2899endif 2900ifeq ($(FULL_TARGET),arm-palmos) 2901REQUIRE_PACKAGES_RTL=1 2902endif 2903ifeq ($(FULL_TARGET),arm-wince) 2904REQUIRE_PACKAGES_RTL=1 2905endif 2906ifeq ($(FULL_TARGET),arm-gba) 2907REQUIRE_PACKAGES_RTL=1 2908endif 2909ifeq ($(FULL_TARGET),arm-nds) 2910REQUIRE_PACKAGES_RTL=1 2911endif 2912ifeq ($(FULL_TARGET),arm-embedded) 2913REQUIRE_PACKAGES_RTL=1 2914endif 2915ifeq ($(FULL_TARGET),arm-symbian) 2916REQUIRE_PACKAGES_RTL=1 2917endif 2918ifeq ($(FULL_TARGET),arm-android) 2919REQUIRE_PACKAGES_RTL=1 2920endif 2921ifeq ($(FULL_TARGET),arm-aros) 2922REQUIRE_PACKAGES_RTL=1 2923endif 2924ifeq ($(FULL_TARGET),arm-freertos) 2925REQUIRE_PACKAGES_RTL=1 2926endif 2927ifeq ($(FULL_TARGET),arm-ios) 2928REQUIRE_PACKAGES_RTL=1 2929endif 2930ifeq ($(FULL_TARGET),powerpc64-linux) 2931REQUIRE_PACKAGES_RTL=1 2932endif 2933ifeq ($(FULL_TARGET),powerpc64-darwin) 2934REQUIRE_PACKAGES_RTL=1 2935endif 2936ifeq ($(FULL_TARGET),powerpc64-embedded) 2937REQUIRE_PACKAGES_RTL=1 2938endif 2939ifeq ($(FULL_TARGET),powerpc64-aix) 2940REQUIRE_PACKAGES_RTL=1 2941endif 2942ifeq ($(FULL_TARGET),avr-embedded) 2943REQUIRE_PACKAGES_RTL=1 2944endif 2945ifeq ($(FULL_TARGET),armeb-linux) 2946REQUIRE_PACKAGES_RTL=1 2947endif 2948ifeq ($(FULL_TARGET),armeb-embedded) 2949REQUIRE_PACKAGES_RTL=1 2950endif 2951ifeq ($(FULL_TARGET),mips-linux) 2952REQUIRE_PACKAGES_RTL=1 2953endif 2954ifeq ($(FULL_TARGET),mipsel-linux) 2955REQUIRE_PACKAGES_RTL=1 2956endif 2957ifeq ($(FULL_TARGET),mipsel-embedded) 2958REQUIRE_PACKAGES_RTL=1 2959endif 2960ifeq ($(FULL_TARGET),mipsel-android) 2961REQUIRE_PACKAGES_RTL=1 2962endif 2963ifeq ($(FULL_TARGET),mips64el-linux) 2964REQUIRE_PACKAGES_RTL=1 2965endif 2966ifeq ($(FULL_TARGET),jvm-java) 2967REQUIRE_PACKAGES_RTL=1 2968endif 2969ifeq ($(FULL_TARGET),jvm-android) 2970REQUIRE_PACKAGES_RTL=1 2971endif 2972ifeq ($(FULL_TARGET),i8086-embedded) 2973REQUIRE_PACKAGES_RTL=1 2974endif 2975ifeq ($(FULL_TARGET),i8086-msdos) 2976REQUIRE_PACKAGES_RTL=1 2977endif 2978ifeq ($(FULL_TARGET),i8086-win16) 2979REQUIRE_PACKAGES_RTL=1 2980endif 2981ifeq ($(FULL_TARGET),aarch64-linux) 2982REQUIRE_PACKAGES_RTL=1 2983endif 2984ifeq ($(FULL_TARGET),aarch64-freebsd) 2985REQUIRE_PACKAGES_RTL=1 2986endif 2987ifeq ($(FULL_TARGET),aarch64-darwin) 2988REQUIRE_PACKAGES_RTL=1 2989endif 2990ifeq ($(FULL_TARGET),aarch64-win64) 2991REQUIRE_PACKAGES_RTL=1 2992endif 2993ifeq ($(FULL_TARGET),aarch64-android) 2994REQUIRE_PACKAGES_RTL=1 2995endif 2996ifeq ($(FULL_TARGET),aarch64-ios) 2997REQUIRE_PACKAGES_RTL=1 2998endif 2999ifeq ($(FULL_TARGET),wasm32-embedded) 3000REQUIRE_PACKAGES_RTL=1 3001endif 3002ifeq ($(FULL_TARGET),wasm32-wasi) 3003REQUIRE_PACKAGES_RTL=1 3004endif 3005ifeq ($(FULL_TARGET),sparc64-linux) 3006REQUIRE_PACKAGES_RTL=1 3007endif 3008ifeq ($(FULL_TARGET),riscv32-linux) 3009REQUIRE_PACKAGES_RTL=1 3010endif 3011ifeq ($(FULL_TARGET),riscv32-embedded) 3012REQUIRE_PACKAGES_RTL=1 3013endif 3014ifeq ($(FULL_TARGET),riscv64-linux) 3015REQUIRE_PACKAGES_RTL=1 3016endif 3017ifeq ($(FULL_TARGET),riscv64-embedded) 3018REQUIRE_PACKAGES_RTL=1 3019endif 3020ifeq ($(FULL_TARGET),xtensa-linux) 3021REQUIRE_PACKAGES_RTL=1 3022endif 3023ifeq ($(FULL_TARGET),xtensa-embedded) 3024REQUIRE_PACKAGES_RTL=1 3025endif 3026ifeq ($(FULL_TARGET),xtensa-freertos) 3027REQUIRE_PACKAGES_RTL=1 3028endif 3029ifeq ($(FULL_TARGET),z80-embedded) 3030REQUIRE_PACKAGES_RTL=1 3031endif 3032ifeq ($(FULL_TARGET),z80-zxspectrum) 3033REQUIRE_PACKAGES_RTL=1 3034endif 3035ifeq ($(FULL_TARGET),z80-msxdos) 3036REQUIRE_PACKAGES_RTL=1 3037endif 3038ifeq ($(FULL_TARGET),z80-amstradcpc) 3039REQUIRE_PACKAGES_RTL=1 3040endif 3041ifdef REQUIRE_PACKAGES_RTL 3042PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR)))))) 3043ifneq ($(PACKAGEDIR_RTL),) 3044ifneq ($(wildcard $(PACKAGEDIR_RTL)/units/$(TARGETSUFFIX)),) 3045UNITDIR_RTL=$(PACKAGEDIR_RTL)/units/$(TARGETSUFFIX) 3046else 3047UNITDIR_RTL=$(PACKAGEDIR_RTL) 3048endif 3049ifneq ($(wildcard $(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX)),) 3050UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX) 3051else 3052ifneq ($(wildcard $(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX)),) 3053UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX) 3054else 3055UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL) 3056endif 3057endif 3058ifdef CHECKDEPEND 3059$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE): 3060 $(MAKE) -C $(PACKAGEDIR_RTL)/$(OS_TARGET) $(FPCMADE) 3061override ALLDEPENDENCIES+=$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE) 3062endif 3063else 3064PACKAGEDIR_RTL= 3065UNITDIR_RTL:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /rtl/Package.fpc,$(UNITSDIR))))) 3066ifneq ($(UNITDIR_RTL),) 3067UNITDIR_RTL:=$(firstword $(UNITDIR_RTL)) 3068else 3069UNITDIR_RTL= 3070endif 3071endif 3072ifdef UNITDIR_RTL 3073override COMPILER_UNITDIR+=$(UNITDIR_RTL) 3074endif 3075ifdef UNITDIR_FPMAKE_RTL 3076override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_RTL) 3077endif 3078endif 3079ifndef NOCPUDEF 3080override FPCOPTDEF=$(ARCH) 3081endif 3082ifneq ($(OS_TARGET),$(OS_SOURCE)) 3083override FPCOPT+=-T$(OS_TARGET) 3084endif 3085ifneq ($(CPU_TARGET),$(CPU_SOURCE)) 3086override FPCOPT+=-P$(ARCH) 3087endif 3088ifeq ($(OS_SOURCE),openbsd) 3089override FPCOPT+=-FD$(NEW_BINUTILS_PATH) 3090override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH) 3091override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH) 3092endif 3093ifndef CROSSBOOTSTRAP 3094ifneq ($(BINUTILSPREFIX),) 3095override FPCOPT+=-XP$(BINUTILSPREFIX) 3096ifneq ($(RLINKPATH),) 3097override FPCOPT+=-Xr$(RLINKPATH) 3098endif 3099endif 3100endif 3101ifndef CROSSCOMPILE 3102ifneq ($(BINUTILSPREFIX),) 3103override FPCMAKEOPT+=-XP$(BINUTILSPREFIX) 3104override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX) 3105endif 3106endif 3107ifdef UNITDIR 3108override FPCOPT+=$(addprefix -Fu,$(UNITDIR)) 3109endif 3110ifdef LIBDIR 3111override FPCOPT+=$(addprefix -Fl,$(LIBDIR)) 3112endif 3113ifdef OBJDIR 3114override FPCOPT+=$(addprefix -Fo,$(OBJDIR)) 3115endif 3116ifdef INCDIR 3117override FPCOPT+=$(addprefix -Fi,$(INCDIR)) 3118endif 3119ifdef LINKSMART 3120override FPCOPT+=-XX 3121endif 3122ifdef CREATESMART 3123override FPCOPT+=-CX 3124endif 3125ifdef DEBUG 3126override FPCOPT+=-gl 3127override FPCOPTDEF+=DEBUG 3128endif 3129ifdef RELEASE 3130FPCCPUOPT:=-O2 3131override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n 3132override FPCOPTDEF+=RELEASE 3133endif 3134ifdef STRIP 3135override FPCOPT+=-Xs 3136endif 3137ifdef OPTIMIZE 3138override FPCOPT+=-O2 3139endif 3140ifdef VERBOSE 3141override FPCOPT+=-vwni 3142endif 3143ifdef COMPILER_OPTIONS 3144override FPCOPT+=$(COMPILER_OPTIONS) 3145endif 3146ifdef COMPILER_UNITDIR 3147override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR)) 3148endif 3149ifdef COMPILER_LIBRARYDIR 3150override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR)) 3151endif 3152ifdef COMPILER_OBJECTDIR 3153override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR)) 3154endif 3155ifdef COMPILER_INCLUDEDIR 3156override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR)) 3157endif 3158ifdef CROSSBINDIR 3159override FPCOPT+=-FD$(CROSSBINDIR) 3160endif 3161ifdef COMPILER_TARGETDIR 3162override FPCOPT+=-FE$(COMPILER_TARGETDIR) 3163ifeq ($(COMPILER_TARGETDIR),.) 3164override TARGETDIRPREFIX= 3165else 3166override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/ 3167endif 3168endif 3169ifdef COMPILER_UNITTARGETDIR 3170override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR) 3171ifeq ($(COMPILER_UNITTARGETDIR),.) 3172override UNITTARGETDIRPREFIX= 3173else 3174override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/ 3175endif 3176else 3177ifdef COMPILER_TARGETDIR 3178override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR) 3179override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX) 3180endif 3181endif 3182ifdef SYSROOTPATH 3183override FPCOPT+=-XR$(SYSROOTPATH) 3184else 3185ifeq ($(OS_TARGET),$(OS_SOURCE)) 3186ifneq ($(findstring $(OS_TARGET),darwin),) 3187ifneq ($(findstring $(CPU_TARGET),aarch64),) 3188ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),) 3189override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk 3190endif 3191endif 3192endif 3193endif 3194endif 3195ifdef CREATESHARED 3196override FPCOPT+=-Cg 3197endif 3198ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),) 3199ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel riscv64),) 3200override FPCOPT+=-Cg 3201endif 3202endif 3203ifdef LINKSHARED 3204endif 3205ifdef GCCLIBDIR 3206override FPCOPT+=-Fl$(GCCLIBDIR) 3207ifdef FPCMAKEGCCLIBDIR 3208override FPCMAKEOPT+=-Fl$(FPCMAKEGCCLIBDIR) 3209else 3210override FPCMAKEOPT+=-Fl$(GCCLIBDIR) 3211endif 3212endif 3213ifdef OTHERLIBDIR 3214override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR)) 3215endif 3216ifdef OPT 3217override FPCOPT+=$(OPT) 3218endif 3219ifdef FPMAKEBUILDOPT 3220override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT) 3221endif 3222ifdef FPCOPTDEF 3223override FPCOPT+=$(addprefix -d,$(FPCOPTDEF)) 3224endif 3225ifdef CFGFILE 3226override FPCOPT+=@$(CFGFILE) 3227endif 3228ifdef USEENV 3229override FPCEXTCMD:=$(FPCOPT) 3230override FPCOPT:=!FPCEXTCMD 3231export FPCEXTCMD 3232endif 3233override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET) 3234override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE) 3235ifneq ($(AFULL_TARGET),$(AFULL_SOURCE)) 3236override ACROSSCOMPILE=1 3237endif 3238ifdef ACROSSCOMPILE 3239override FPCOPT+=$(CROSSOPT) 3240endif 3241override COMPILER:=$(strip $(FPC) $(FPCOPT)) 3242ifneq (,$(findstring -sh ,$(COMPILER))) 3243UseEXECPPAS=1 3244endif 3245ifneq (,$(findstring -s ,$(COMPILER))) 3246ifeq ($(FULL_SOURCE),$(FULL_TARGET)) 3247UseEXECPPAS=1 3248endif 3249endif 3250ifneq ($(UseEXECPPAS),1) 3251EXECPPAS= 3252else 3253ifdef RUNBATCH 3254EXECPPAS:=@$(RUNBATCH) $(PPAS) 3255else 3256EXECPPAS:=@$(PPAS) 3257endif 3258endif 3259.PHONY: fpc_units 3260ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),) 3261override ALLTARGET+=fpc_units 3262override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS)) 3263override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS)) 3264override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES) 3265override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES) 3266endif 3267fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES) 3268ifdef TARGET_RSTS 3269override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS)) 3270override CLEANRSTFILES+=$(RSTFILES) 3271endif 3272.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared 3273$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET) 3274 @$(ECHOREDIR) Compiled > $(FPCMADE) 3275fpc_all: $(FPCMADE) 3276fpc_smart: 3277 $(MAKE) all LINKSMART=1 CREATESMART=1 3278fpc_debug: 3279 $(MAKE) all DEBUG=1 3280fpc_release: 3281 $(MAKE) all RELEASE=1 3282.SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) $(LTOEXT) .pas .lpr .dpr .pp .rc .res 3283$(COMPILER_UNITTARGETDIR): 3284 $(MKDIRTREE) $(COMPILER_UNITTARGETDIR) 3285$(COMPILER_TARGETDIR): 3286 $(MKDIRTREE) $(COMPILER_TARGETDIR) 3287%$(PPUEXT): %.pp 3288 $(COMPILER) $< 3289 $(EXECPPAS) 3290%$(PPUEXT): %.pas 3291 $(COMPILER) $< 3292 $(EXECPPAS) 3293%$(EXEEXT): %.pp 3294 $(COMPILER) $< 3295 $(EXECPPAS) 3296%$(EXEEXT): %.pas 3297 $(COMPILER) $< 3298 $(EXECPPAS) 3299%$(EXEEXT): %.lpr 3300 $(COMPILER) $< 3301 $(EXECPPAS) 3302%$(EXEEXT): %.dpr 3303 $(COMPILER) $< 3304 $(EXECPPAS) 3305%.res: %.rc 3306 windres -i $< -o $@ 3307vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR) 3308vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR) 3309vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR) 3310vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR) 3311vpath %.inc $(COMPILER_INCLUDEDIR) 3312vpath %$(OEXT) $(COMPILER_UNITTARGETDIR) 3313vpath %$(LTOEXT) $(COMPILER_UNITTARGETDIR) 3314vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR) 3315.PHONY: fpc_shared 3316override INSTALLTARGET+=fpc_shared_install 3317ifndef SHARED_LIBVERSION 3318SHARED_LIBVERSION=$(FPC_VERSION) 3319endif 3320ifndef SHARED_LIBNAME 3321SHARED_LIBNAME=$(PACKAGE_NAME) 3322endif 3323ifndef SHARED_FULLNAME 3324SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT) 3325endif 3326ifndef SHARED_LIBUNITS 3327SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS) 3328override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS)) 3329endif 3330fpc_shared: 3331ifdef HASSHAREDLIB 3332 $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1 3333ifneq ($(SHARED_BUILD),n) 3334 $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR) -P$(BINUTILSPREFIX) 3335endif 3336else 3337 @$(ECHO) Shared Libraries not supported 3338endif 3339fpc_shared_install: 3340ifneq ($(SHARED_BUILD),n) 3341ifneq ($(SHARED_LIBUNITS),) 3342ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),) 3343 $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR) 3344endif 3345endif 3346endif 3347.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall 3348ifdef INSTALL_UNITS 3349override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS)) 3350endif 3351ifdef INSTALL_BUILDUNIT 3352override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES)) 3353endif 3354ifdef INSTALLPPUFILES 3355ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT)) 3356override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) 3357else 3358override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) 3359endif 3360ifneq ($(UNITTARGETDIRPREFIX),) 3361override INSTALLPPUFILENAMES:=$(notdir $(INSTALLPPUFILES)) 3362override INSTALLPPULINKFILENAMES:=$(notdir $(INSTALLPPULINKFILES)) 3363override INSTALLPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPUFILENAMES)) 3364override INSTALLPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPULINKFILENAMES))) 3365endif 3366override INSTALL_CREATEPACKAGEFPC=1 3367endif 3368ifdef INSTALLEXEFILES 3369ifneq ($(TARGETDIRPREFIX),) 3370override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES))) 3371endif 3372endif 3373fpc_install: all $(INSTALLTARGET) 3374ifdef INSTALLEXEFILES 3375 $(MKDIR) $(INSTALL_BINDIR) 3376 $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR) 3377endif 3378ifdef INSTALL_CREATEPACKAGEFPC 3379ifdef FPCMAKE 3380ifdef PACKAGE_VERSION 3381ifneq ($(wildcard Makefile.fpc),) 3382 $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc 3383 $(MKDIR) $(INSTALL_UNITDIR) 3384 $(INSTALL) Package.fpc $(INSTALL_UNITDIR) 3385endif 3386endif 3387endif 3388endif 3389ifdef INSTALLPPUFILES 3390 $(MKDIR) $(INSTALL_UNITDIR) 3391 $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR) 3392ifneq ($(INSTALLPPULINKFILES),) 3393 $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR) 3394endif 3395ifneq ($(wildcard $(LIB_FULLNAME)),) 3396 $(MKDIR) $(INSTALL_LIBDIR) 3397 $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR) 3398ifdef inUnix 3399 ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME) 3400endif 3401endif 3402endif 3403ifdef INSTALL_FILES 3404 $(MKDIR) $(INSTALL_DATADIR) 3405 $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR) 3406endif 3407fpc_sourceinstall: distclean 3408 $(MKDIR) $(INSTALL_SOURCEDIR) 3409 $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR) 3410fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS)) 3411ifdef HASEXAMPLES 3412 $(MKDIR) $(INSTALL_EXAMPLEDIR) 3413endif 3414ifdef EXAMPLESOURCEFILES 3415 $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR) 3416endif 3417ifdef TARGET_EXAMPLEDIRS 3418 $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR) 3419endif 3420.PHONY: fpc_distinstall 3421fpc_distinstall: install exampleinstall 3422.PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall 3423ifndef PACKDIR 3424ifndef inUnix 3425PACKDIR=$(BASEDIR)/../fpc-pack 3426else 3427PACKDIR=/tmp/fpc-pack 3428endif 3429endif 3430ifndef ZIPNAME 3431ifdef DIST_ZIPNAME 3432ZIPNAME=$(DIST_ZIPNAME) 3433else 3434ZIPNAME=$(PACKAGE_NAME) 3435endif 3436endif 3437ifndef FULLZIPNAME 3438FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX) 3439endif 3440ifndef ZIPTARGET 3441ifdef DIST_ZIPTARGET 3442ZIPTARGET=DIST_ZIPTARGET 3443else 3444ZIPTARGET=install 3445endif 3446endif 3447ifndef USEZIP 3448ifdef inUnix 3449USETAR=1 3450endif 3451endif 3452ifndef inUnix 3453USEZIPWRAPPER=1 3454endif 3455ifdef USEZIPWRAPPER 3456ZIPPATHSEP=$(PATHSEP) 3457ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT)) 3458else 3459ZIPPATHSEP=/ 3460endif 3461ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR)) 3462ZIPCMD_CDBASE:=cd $(subst /,$(ZIPPATHSEP),$(BASEDIR)) 3463ifdef USETAR 3464ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT) 3465ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $(ZIPDESTFILE) * 3466else 3467ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT) 3468ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDESTFILE) * 3469endif 3470fpc_zipinstall: 3471 $(MAKE) $(ZIPTARGET) INSTALL_PREFIX=$(PACKDIR) ZIPINSTALL=1 3472 $(MKDIR) $(DIST_DESTDIR) 3473 $(DEL) $(ZIPDESTFILE) 3474ifdef USEZIPWRAPPER 3475ifneq ($(ECHOREDIR),echo) 3476 $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDPACK))" > $(ZIPWRAPPER) 3477 $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_ZIP))" >> $(ZIPWRAPPER) 3478 $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDBASE))" >> $(ZIPWRAPPER) 3479else 3480 echo $(ZIPCMD_CDPACK) > $(ZIPWRAPPER) 3481 echo $(ZIPCMD_ZIP) >> $(ZIPWRAPPER) 3482 echo $(ZIPCMD_CDBASE) >> $(ZIPWRAPPER) 3483endif 3484ifdef inUnix 3485 /bin/sh $(ZIPWRAPPER) 3486else 3487ifdef RUNBATCH 3488 $(RUNBATCH) $(ZIPWRAPPER) 3489else 3490 $(ZIPWRAPPER) 3491endif 3492endif 3493 $(DEL) $(ZIPWRAPPER) 3494else 3495 $(ZIPCMD_CDPACK) ; $(ZIPCMD_ZIP) ; $(ZIPCMD_CDBASE) 3496endif 3497 $(DELTREE) $(PACKDIR) 3498fpc_zipsourceinstall: 3499 $(MAKE) fpc_zipinstall ZIPTARGET=sourceinstall ZIPSUFFIX=$(ZIPSOURCESUFFIX) 3500fpc_zipexampleinstall: 3501ifdef HASEXAMPLES 3502 $(MAKE) fpc_zipinstall ZIPTARGET=exampleinstall ZIPSUFFIX=$(ZIPEXAMPLESUFFIX) 3503endif 3504fpc_zipdistinstall: 3505 $(MAKE) fpc_zipinstall ZIPTARGET=distinstall 3506.PHONY: fpc_clean fpc_cleanall fpc_distclean 3507ifdef EXEFILES 3508override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES)) 3509override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES)) 3510endif 3511ifdef CLEAN_PROGRAMS 3512override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS))) 3513override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS))) 3514endif 3515ifdef CLEAN_UNITS 3516override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS)) 3517endif 3518ifdef CLEANPPUFILES 3519override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) 3520ifdef DEBUGSYMEXT 3521override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES)) 3522endif 3523override CLEANPPUFILENAMES:=$(CLEANPPUFILES) 3524override CLEANPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILENAMES)) 3525override CLEANPPULINKFILENAMES:=$(CLEANPPULINKFILES) 3526override CLEANPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILENAMES))) 3527endif 3528fpc_clean: $(CLEANTARGET) 3529ifdef CLEANEXEFILES 3530 -$(DEL) $(CLEANEXEFILES) 3531endif 3532ifdef CLEANEXEDBGFILES 3533 -$(DELTREE) $(CLEANEXEDBGFILES) 3534endif 3535ifdef CLEANPPUFILES 3536 -$(DEL) $(CLEANPPUFILES) 3537endif 3538ifneq ($(CLEANPPULINKFILES),) 3539 -$(DEL) $(CLEANPPULINKFILES) 3540endif 3541ifdef CLEANRSTFILES 3542 -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES)) 3543endif 3544ifdef CLEAN_FILES 3545 -$(DEL) $(CLEAN_FILES) 3546endif 3547ifdef LIB_NAME 3548 -$(DEL) $(LIB_NAME) $(LIB_FULLNAME) 3549endif 3550 -$(DEL) $(FPCMADE) *$(FULL_TARGET).fpm Package.fpc *$(ASMEXT) 3551 -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res 3552 -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT) 3553fpc_cleanall: $(CLEANTARGET) 3554ifdef CLEANEXEFILES 3555 -$(DEL) $(CLEANEXEFILES) 3556endif 3557ifdef COMPILER_UNITTARGETDIR 3558ifdef CLEANPPUFILES 3559 -$(DEL) $(CLEANPPUFILES) 3560endif 3561ifneq ($(CLEANPPULINKFILES),) 3562 -$(DEL) $(CLEANPPULINKFILES) 3563endif 3564ifdef CLEANRSTFILES 3565 -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES)) 3566endif 3567endif 3568ifdef CLEAN_FILES 3569 -$(DEL) $(CLEAN_FILES) 3570endif 3571 -$(DELTREE) units 3572 -$(DELTREE) bin 3573 -$(DEL) *$(OEXT) *$(LTOEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT) 3574ifneq ($(PPUEXT),.ppu) 3575 -$(DEL) *.o *.ppu *.a 3576endif 3577 -$(DELTREE) *$(SMARTEXT) 3578 -$(DEL) fpcmade.* Package.fpc *.fpm 3579 -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res 3580 -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT) 3581ifdef AOUTEXT 3582 -$(DEL) *$(AOUTEXT) 3583endif 3584ifdef DEBUGSYMEXT 3585 -$(DEL) *$(DEBUGSYMEXT) 3586endif 3587ifdef LOCALFPMAKEBIN 3588 -$(DEL) $(LOCALFPMAKEBIN) 3589 -$(DEL) $(FPMAKEBINOBJ) 3590endif 3591fpc_distclean: cleanall 3592.PHONY: fpc_baseinfo 3593override INFORULES+=fpc_baseinfo 3594fpc_baseinfo: 3595 @$(ECHO) 3596 @$(ECHO) == Package info == 3597 @$(ECHO) Package Name..... $(PACKAGE_NAME) 3598 @$(ECHO) Package Version.. $(PACKAGE_VERSION) 3599 @$(ECHO) 3600 @$(ECHO) == Configuration info == 3601 @$(ECHO) 3602 @$(ECHO) FPC.......... $(FPC) 3603 @$(ECHO) FPC Version.. $(FPC_VERSION) 3604 @$(ECHO) Source CPU... $(CPU_SOURCE) 3605 @$(ECHO) Target CPU... $(CPU_TARGET) 3606 @$(ECHO) Source OS.... $(OS_SOURCE) 3607 @$(ECHO) Target OS.... $(OS_TARGET) 3608 @$(ECHO) Full Source.. $(FULL_SOURCE) 3609 @$(ECHO) Full Target.. $(FULL_TARGET) 3610 @$(ECHO) SourceSuffix. $(SOURCESUFFIX) 3611 @$(ECHO) TargetSuffix. $(TARGETSUFFIX) 3612 @$(ECHO) FPC fpmake... $(FPCFPMAKE) 3613 @$(ECHO) 3614 @$(ECHO) == Directory info == 3615 @$(ECHO) 3616 @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES) 3617 @$(ECHO) 3618 @$(ECHO) Basedir......... $(BASEDIR) 3619 @$(ECHO) FPCDir.......... $(FPCDIR) 3620 @$(ECHO) CrossBinDir..... $(CROSSBINDIR) 3621 @$(ECHO) UnitsDir........ $(UNITSDIR) 3622 @$(ECHO) PackagesDir..... $(PACKAGESDIR) 3623 @$(ECHO) 3624 @$(ECHO) GCC library..... $(GCCLIBDIR) 3625 @$(ECHO) Other library... $(OTHERLIBDIR) 3626 @$(ECHO) 3627 @$(ECHO) == Tools info == 3628 @$(ECHO) 3629 @$(ECHO) As........ $(AS) 3630 @$(ECHO) Ld........ $(LD) 3631 @$(ECHO) Ar........ $(AR) 3632 @$(ECHO) Rc........ $(RC) 3633 @$(ECHO) 3634 @$(ECHO) Mv........ $(MVPROG) 3635 @$(ECHO) Cp........ $(CPPROG) 3636 @$(ECHO) Rm........ $(RMPROG) 3637 @$(ECHO) GInstall.. $(GINSTALL) 3638 @$(ECHO) Echo...... $(ECHO) 3639 @$(ECHO) Shell..... $(SHELL) 3640 @$(ECHO) Date...... $(DATE) 3641 @$(ECHO) FPCMake... $(FPCMAKE) 3642 @$(ECHO) PPUMove... $(PPUMOVE) 3643 @$(ECHO) Zip....... $(ZIPPROG) 3644 @$(ECHO) 3645 @$(ECHO) == Object info == 3646 @$(ECHO) 3647 @$(ECHO) Target Loaders........ $(TARGET_LOADERS) 3648 @$(ECHO) Target Units.......... $(TARGET_UNITS) 3649 @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS) 3650 @$(ECHO) Target Programs....... $(TARGET_PROGRAMS) 3651 @$(ECHO) Target Dirs........... $(TARGET_DIRS) 3652 @$(ECHO) Target Examples....... $(TARGET_EXAMPLES) 3653 @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS) 3654 @$(ECHO) 3655 @$(ECHO) Clean Units......... $(CLEAN_UNITS) 3656 @$(ECHO) Clean Files......... $(CLEAN_FILES) 3657 @$(ECHO) 3658 @$(ECHO) Install Units....... $(INSTALL_UNITS) 3659 @$(ECHO) Install Files....... $(INSTALL_FILES) 3660 @$(ECHO) 3661 @$(ECHO) == Install info == 3662 @$(ECHO) 3663 @$(ECHO) DateStr.............. $(DATESTR) 3664 @$(ECHO) ZipName.............. $(ZIPNAME) 3665 @$(ECHO) ZipPrefix............ $(ZIPPREFIX) 3666 @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX) 3667 @$(ECHO) ZipSuffix............ $(ZIPSUFFIX) 3668 @$(ECHO) FullZipName.......... $(FULLZIPNAME) 3669 @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE) 3670 @$(ECHO) 3671 @$(ECHO) Install base dir..... $(INSTALL_BASEDIR) 3672 @$(ECHO) Install binary dir... $(INSTALL_BINDIR) 3673 @$(ECHO) Install library dir.. $(INSTALL_LIBDIR) 3674 @$(ECHO) Install units dir.... $(INSTALL_UNITDIR) 3675 @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR) 3676 @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR) 3677 @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR) 3678 @$(ECHO) Install data dir..... $(INSTALL_DATADIR) 3679 @$(ECHO) 3680 @$(ECHO) Dist destination dir. $(DIST_DESTDIR) 3681 @$(ECHO) Dist zip name........ $(DIST_ZIPNAME) 3682 @$(ECHO) 3683.PHONY: fpc_info 3684fpc_info: $(INFORULES) 3685.PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \ 3686 fpc_makefile_dirs 3687fpc_makefile: 3688 $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc 3689fpc_makefile_sub1: 3690ifdef TARGET_DIRS 3691 $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS)) 3692endif 3693ifdef TARGET_EXAMPLEDIRS 3694 $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS)) 3695endif 3696fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS)) 3697fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2 3698fpc_makefiles: fpc_makefile fpc_makefile_dirs 3699debug: fpc_debug 3700smart: fpc_smart 3701release: fpc_release 3702units: fpc_units 3703examples: 3704shared: fpc_shared 3705install: fpc_install 3706sourceinstall: fpc_sourceinstall 3707exampleinstall: fpc_exampleinstall 3708distinstall: fpc_distinstall 3709zipinstall: fpc_zipinstall 3710zipsourceinstall: fpc_zipsourceinstall 3711zipexampleinstall: fpc_zipexampleinstall 3712zipdistinstall: fpc_zipdistinstall 3713clean: fpc_clean 3714cleanall: fpc_cleanall 3715info: fpc_info 3716makefiles: fpc_makefiles 3717.PHONY: debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean cleanall info makefiles 3718ifneq ($(wildcard fpcmake.loc),) 3719include fpcmake.loc 3720endif 3721.PHONY: cleartarget compiled all 3722cleartarget: 3723 -$(DEL) $(COMPILER_UNITTARGETDIR)/lazdebuggerlldb$(PPUEXT) 3724compiled: 3725 $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazDebuggerLldb.compiled 3726all: cleartarget $(COMPILER_UNITTARGETDIR) lazdebuggerlldb$(PPUEXT) compiled 3727distclean: clean 3728 ${DELTREE} lib/* 3729