PageRenderTime 101ms CodeModel.GetById 29ms app.highlight 61ms RepoModel.GetById 0ms app.codeStats 1ms

/packages/libndsfpc/examples/graphics/Makefile

https://github.com/slibre/freepascal
Makefile | 2830 lines | 2827 code | 0 blank | 3 comment | 7 complexity | ec8d76b63fdd7e6653af069c32a36cf6 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0

Large files files are truncated, but you can click here to view the full file

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

Large files files are truncated, but you can click here to view the full file