PageRenderTime 149ms CodeModel.GetById 11ms app.highlight 130ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/fcl-db/src/sqldb/postgres/Makefile

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

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