diff --git a/utils/fpcm/fpcmake.inc b/utils/fpcm/fpcmake.inc index ce4ab5d722..79ac945afe 100644 --- a/utils/fpcm/fpcmake.inc +++ b/utils/fpcm/fpcmake.inc @@ -1,7 +1,7 @@ {$ifdef Delphi} -const fpcmakeini : array[0..226] of string[240]=( +const fpcmakeini : array[0..227] of string[240]=( {$else Delphi} -const fpcmakeini : array[0..226,1..240] of char=( +const fpcmakeini : array[0..227,1..240] of char=( {$endif Delphi} ';'#010+ '; Templates used by fpcmake to create a Makefile from Makefile.fpc'#010+ @@ -1075,18 +1075,24 @@ const fpcmakeini : array[0..226,1..240] of char=( 'SHORTSUFFIX=wii'#010+ 'endif'#010+ #010+ + '# Java'#010+ + 'ifeq ($(OS_TARGET),java)'#010+ + 'SHAREDLIBEXT=.jar'#010+ + 'SHORTSUFFIX=java'#010+ + 'endif'#010+ + #010+ 'else'#010+ '# long version for 1.0.x - target specific extensions'#010+ #010+ '# Go32v1'#010+ 'ifeq ($(OS_TARGET),go32v1)'#010+ 'PPUEXT=.pp1'#010+ - 'OEXT=.o1'#010+ + 'OE','XT=.o1'#010+ 'ASMEXT=.s1'#010+ 'SMARTEXT=.sl1'#010+ 'STATICLIBEXT=.a1'#010+ 'SHAREDLIBEXT=.so1'#010+ - 'STATICL','IBPREFIX='#010+ + 'STATICLIBPREFIX='#010+ 'SHORTSUFFIX=v1'#010+ 'IMPORTLIBPREFIX='#010+ 'endif'#010+ @@ -1099,13 +1105,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ '# watcom'#010+ - 'ifeq ($(OS_TARGET),watcom)'#010+ + 'ifeq ($(OS_TARG','ET),watcom)'#010+ 'STATICLIBPREFIX='#010+ 'SHORTSUFFIX=wat'#010+ 'IMPORTLIBPREFIX='#010+ 'endif'#010+ #010+ - '# Lin','ux'#010+ + '# Linux'#010+ 'ifeq ($(OS_TARGET),linux)'#010+ 'BATCHEXT=.sh'#010+ 'EXEEXT='#010+ @@ -1118,13 +1124,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'BATCHEXT=.sh'#010+ 'EXEEXT='#010+ 'HASSHAREDLIB=1'#010+ - 'SHORTSUFFIX=fbs'#010+ + 'SHOR','TSUFFIX=fbs'#010+ 'endif'#010+ #010+ '# NetBSD'#010+ 'ifeq ($(OS_TARGET),netbsd)'#010+ 'BATCHEXT=.sh'#010+ - 'EXEEXT','='#010+ + 'EXEEXT='#010+ 'HASSHAREDLIB=1'#010+ 'SHORTSUFFIX=nbs'#010+ 'endif'#010+ @@ -1138,13 +1144,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ '# Win32'#010+ - 'ifeq ($(OS_TARGET),win32)'#010+ + 'ifeq ($(OS_TARGET),wi','n32)'#010+ 'PPUEXT=.ppw'#010+ 'OEXT=.ow'#010+ 'ASMEXT=.sw'#010+ 'SMARTEXT=.slw'#010+ 'STATICLIBEXT=.aw'#010+ - 'SHARED','LIBEXT=.dll'#010+ + 'SHAREDLIBEXT=.dll'#010+ 'SHORTSUFFIX=w32'#010+ 'endif'#010+ #010+ @@ -1157,12 +1163,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'AOUTEXT=.out'#010+ 'SMARTEXT=.sl2'#010+ 'STATICLIBPREFIX='#010+ - 'STATICLIBEXT=.ao2'#010+ + 'STATICLI','BEXT=.ao2'#010+ 'SHAREDLIBEXT=.dll'#010+ 'SHORTSUFFIX=os2'#010+ 'ECHO=echo'#010+ 'IMPORTLIBPREFIX='#010+ - 'end','if'#010+ + 'endif'#010+ #010+ '# Amiga'#010+ 'ifeq ($(OS_TARGET),amiga)'#010+ @@ -1177,12 +1183,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ '# Atari'#010+ - 'ifeq ($(OS_TARGET),atari)'#010+ + 'ifeq ($(','OS_TARGET),atari)'#010+ 'PPUEXT=.ppu'#010+ 'ASMEXT=.s'#010+ 'OEXT=.o'#010+ 'SMARTEXT=.sl'#010+ - 'STATICLIBEXT=','.a'#010+ + 'STATICLIBEXT=.a'#010+ 'EXEEXT=.ttp'#010+ 'SHORTSUFFIX=ata'#010+ 'endif'#010+ @@ -1197,13 +1203,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'STATICLIBEXT=.a'#010+ 'EXEEXT='#010+ 'SHORTSUFFIX=be'#010+ - 'endif'#010+ + 'e','ndif'#010+ #010+ '# Solaris'#010+ 'ifeq ($(OS_TARGET),solaris)'#010+ 'BATCHEXT=.sh'#010+ 'PPUEXT=.ppu'#010+ - 'ASMEX','T=.s'#010+ + 'ASMEXT=.s'#010+ 'OEXT=.o'#010+ 'SMARTEXT=.sl'#010+ 'STATICLIBEXT=.a'#010+ @@ -1218,13 +1224,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'ASMEXT=.s'#010+ 'OEXT=.o'#010+ 'SMARTEXT=.sl'#010+ - 'STATICLIBEXT=.a'#010+ + 'STATICL','IBEXT=.a'#010+ 'EXEEXT='#010+ 'SHORTSUFFIX=qnx'#010+ 'endif'#010+ #010+ '# Netware'#010+ - 'ifeq ($(OS_TARGET),netwa','re)'#010+ + 'ifeq ($(OS_TARGET),netware)'#010+ 'STATICLIBPREFIX='#010+ 'PPUEXT=.ppu'#010+ 'OEXT=.o'#010+ @@ -1237,12 +1243,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'IMPORTLIBPREFIX=imp'#010+ 'endif'#010+ #010+ - '# Netware libc'#010+ + '# Netware libc',#010+ 'ifeq ($(OS_TARGET),netwlibc)'#010+ 'STATICLIBPREFIX='#010+ 'PPUEXT=.ppu'#010+ 'OEXT=.o'#010+ - 'ASMEXT=','.s'#010+ + 'ASMEXT=.s'#010+ 'SMARTEXT=.sl'#010+ 'STATICLIBEXT=.a'#010+ 'SHAREDLIBEXT=.nlm'#010+ @@ -1255,13 +1261,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'ifeq ($(OS_TARGET),macos)'#010+ 'BATCHEXT='#010+ 'PPUEXT=.ppu'#010+ - 'ASMEXT=.s'#010+ + 'ASMEX','T=.s'#010+ 'OEXT=.o'#010+ 'SMARTEXT=.sl'#010+ 'STATICLIBEXT=.a'#010+ 'EXEEXT='#010+ 'DEBUGSYMEXT=.xcoff'#010+ - 'SHORT','SUFFIX=mac'#010+ + 'SHORTSUFFIX=mac'#010+ 'IMPORTLIBPREFIX=imp'#010+ 'endif'#010+ #010+ @@ -1270,8 +1276,8 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '# For 8.3 limited OS'#039's the short suffixes'#010+ '# Otherwise use the full source/target names'#010+ - 'ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)'#010+ - 'FPCMADE=fpcmade.$(SHORTSUF','FIX)'#010+ + 'i','fneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)'#010+ + 'FPCMADE=fpcmade.$(SHORTSUFFIX)'#010+ 'ZIPSUFFIX=$(SHORTSUFFIX)'#010+ 'ZIPCROSSPREFIX='#010+ 'ZIPSOURCESUFFIX=src'#010+ @@ -1279,10 +1285,10 @@ const fpcmakeini : array[0..226,1..240] of char=( 'else'#010+ 'FPCMADE=fpcmade.$(TARGETSUFFIX)'#010+ 'ZIPSOURCESUFFIX=.source'#010+ - 'ZIPEXAMPLESUFFIX=.examples'#010+ + 'ZIPEXAMPLESUFFIX=.','examples'#010+ 'ifdef CROSSCOMPILE'#010+ 'ZIPSUFFIX=.$(SOURCESUFFIX)'#010+ - 'ZIPCROSSPREFIX=$(TA','RGETSUFFIX)-'#010+ + 'ZIPCROSSPREFIX=$(TARGETSUFFIX)-'#010+ 'else'#010+ 'ZIPSUFFIX=.$(TARGETSUFFIX)'#010+ 'ZIPCROSSPREFIX='#010+ @@ -1291,19 +1297,18 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '[defaulttools]'#010+ '#####################################################################'#010+ - '# Default Tools'#010+ - '#################################################################','###'+ - '#'#010+ + '# Defau','lt Tools'#010+ + '#####################################################################'#010+ #010+ '# Names of the binutils tools'#010+ 'ASNAME=$(BINUTILSPREFIX)as'#010+ 'LDNAME=$(BINUTILSPREFIX)ld'#010+ 'ARNAME=$(BINUTILSPREFIX)ar'#010+ 'RCNAME=$(BINUTILSPREFIX)rc'#010+ - 'ifneq ($(findstring 1.0.,$(FPC_VERSION)),)'#010+ + 'ifneq ($(findstring 1.','0.,$(FPC_VERSION)),)'#010+ 'ifeq ($(OS_TARGET),win32)'#010+ 'ifeq ($(CROSSBINDIR),)'#010+ - 'ASNA','ME=asw'#010+ + 'ASNAME=asw'#010+ 'LDNAME=ldw'#010+ 'ARNAME=arw'#010+ 'endif'#010+ @@ -1313,14 +1318,14 @@ const fpcmakeini : array[0..226,1..240] of char=( '# assembler, redefine it if cross compiling'#010+ 'ifndef ASPROG'#010+ 'ifdef CROSSBINDIR'#010+ - 'ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)'#010+ + 'ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT',')'#010+ 'else'#010+ 'ASPROG=$(ASNAME)'#010+ 'endif'#010+ 'endif'#010+ #010+ '# linker, but probably not used'#010+ - 'ifnde','f LDPROG'#010+ + 'ifndef LDPROG'#010+ 'ifdef CROSSBINDIR'#010+ 'LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)'#010+ 'else'#010+ @@ -1331,13 +1336,13 @@ const fpcmakeini : array[0..226,1..240] of char=( '# Resource compiler'#010+ 'ifndef RCPROG'#010+ 'ifdef CROSSBINDIR'#010+ - 'RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)'#010+ + 'RCPROG=$','(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)'#010+ 'else'#010+ 'RCPROG=$(RCNAME)'#010+ 'endif'#010+ 'endif'#010+ #010+ - '# A','rchiver'#010+ + '# Archiver'#010+ 'ifndef ARPROG'#010+ 'ifdef CROSSBINDIR'#010+ 'ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)'#010+ @@ -1349,13 +1354,13 @@ const fpcmakeini : array[0..226,1..240] of char=( '# Override defaults'#010+ 'AS=$(ASPROG)'#010+ 'LD=$(LDPROG)'#010+ - 'RC=$(RCPROG)'#010+ + 'R','C=$(RCPROG)'#010+ 'AR=$(ARPROG)'#010+ #010+ '# ppas.bat / ppas.sh'#010+ 'PPAS=ppas$(SRCBATCHEXT)'#010+ #010+ - '# ','ldconfig to rebuild .so cache'#010+ + '# ldconfig to rebuild .so cache'#010+ 'ifdef inUnix'#010+ 'LDCONFIG=ldconfig'#010+ 'else'#010+ @@ -1368,9 +1373,9 @@ const fpcmakeini : array[0..226,1..240] of char=( 'DATESTR='#010+ 'endif'#010+ #010+ - '# Look if UPX is found for go32v2 and win32. We can'#039't use $UPX bec'+ - 'ause'#010+ - '# upx uses that one ','itself (PFV)'#010+ + '# Look if UPX is ','found for go32v2 and win32. We can'#039't use $UPX b'+ + 'ecause'#010+ + '# upx uses that one itself (PFV)'#010+ 'ifndef UPXPROG'#010+ 'ifeq ($(OS_TARGET),go32v2)'#010+ 'UPXPROG:=1'#010+ @@ -1379,12 +1384,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'UPXPROG:=1'#010+ 'endif'#010+ 'ifdef UPXPROG'#010+ - 'UPXPROG:=$(strip $(wildcard $(addsuffix /upx$(SRCEXEEXT),$(SEARCHPATH)'+ - ')))'#010+ + 'UPXPROG:=$(strip $(wildcard $(addsuff','ix /upx$(SRCEXEEXT),$(SEARCHPAT'+ + 'H))))'#010+ 'ifeq ($(UPXPROG),)'#010+ 'UPXPROG='#010+ 'else'#010+ - 'UPXP','ROG:=$(firstword $(UPXPROG))'#010+ + 'UPXPROG:=$(firstword $(UPXPROG))'#010+ 'endif'#010+ 'else'#010+ 'UPXPROG='#010+ @@ -1399,7 +1404,7 @@ const fpcmakeini : array[0..226,1..240] of char=( '# Tar options'#010+ 'ifeq ($(USETAR),bz2)'#010+ 'TAROPT=vj'#010+ - 'TAREXT=.tar.bz2'#010+ + 'TAREXT=','.tar.bz2'#010+ 'else'#010+ 'TAROPT=vz'#010+ 'TAREXT=.tar.gz'#010+ @@ -1407,24 +1412,23 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ #010+ '[command_begin]'#010+ - '###########','#########################################################'+ - '#'#010+ + '#####################################################################'#010+ '# Compiler Command Line'#010+ '#####################################################################'#010+ #010+ - '# Load commandline OPTDEF and add FPC_CPU define, for compiling the'#010+ - '# compiler this ne','eds to be turned off'#010+ + '# Load comma','ndline OPTDEF and add FPC_CPU define, for compiling the'#010+ + '# compiler this needs to be turned off'#010+ 'ifndef NOCPUDEF'#010+ 'override FPCOPTDEF=$(ARCH)'#010+ 'endif'#010+ #010+ #010+ '# Load commandline OPT and add target and unit dir to be sure'#010+ - 'ifneq ($(OS_TARGET),$(OS_SOURCE))'#010+ + 'ifneq ($(OS_TARGET),$(OS_SOURCE)',')'#010+ 'override FPCOPT+=-T$(OS_TARGET)'#010+ 'endif'#010+ #010+ - 'ifneq ($(CPU_TARGET),$(CPU_SOURCE','))'#010+ + 'ifneq ($(CPU_TARGET),$(CPU_SOURCE))'#010+ 'override FPCOPT+=-P$(ARCH)'#010+ 'endif'#010+ #010+ @@ -1434,10 +1438,10 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ 'ifndef CROSSBOOTSTRAP'#010+ 'ifneq ($(BINUTILSPREFIX),)'#010+ - 'override FPCOPT+=-XP$(BINUTILSPREFIX)'#010+ + 'over','ride FPCOPT+=-XP$(BINUTILSPREFIX)'#010+ 'endif'#010+ 'ifneq ($(BINUTILSPREFIX),)'#010+ - 'overrid','e FPCOPT+=-Xr$(RLINKPATH)'#010+ + 'override FPCOPT+=-Xr$(RLINKPATH)'#010+ 'endif'#010+ 'endif'#010+ #010+ @@ -1445,11 +1449,11 @@ const fpcmakeini : array[0..226,1..240] of char=( 'ifdef UNITDIR'#010+ 'override FPCOPT+=$(addprefix -Fu,$(UNITDIR))'#010+ 'endif'#010+ - 'ifdef LIBDIR'#010+ + 'ifdef',' LIBDIR'#010+ 'override FPCOPT+=$(addprefix -Fl,$(LIBDIR))'#010+ 'endif'#010+ 'ifdef OBJDIR'#010+ - 'ove','rride FPCOPT+=$(addprefix -Fo,$(OBJDIR))'#010+ + 'override FPCOPT+=$(addprefix -Fo,$(OBJDIR))'#010+ 'endif'#010+ 'ifdef INCDIR'#010+ 'override FPCOPT+=$(addprefix -Fi,$(INCDIR))'#010+ @@ -1458,13 +1462,13 @@ const fpcmakeini : array[0..226,1..240] of char=( '# Smartlinking'#010+ 'ifdef LINKSMART'#010+ 'override FPCOPT+=-XX'#010+ - 'endif'#010+ + 'end','if'#010+ #010+ '# Smartlinking creation'#010+ 'ifdef CREATESMART'#010+ 'override FPCOPT+=-CX'#010+ 'endif'#010+ - #010, + #010+ '# Debug'#010+ 'ifdef DEBUG'#010+ 'override FPCOPT+=-gl'#010+ @@ -1473,10 +1477,10 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '# Release mode'#010+ '# (strip, optimize and don'#039't load fpc.cfg)'#010+ - '# fpc 2.1 has -O2 for all targets'#010+ + '# fpc 2.1 has -O2 for all targets'#010, 'ifdef RELEASE'#010+ 'ifneq ($(findstring 2.0.,$(FPC_VERSION)),)'#010+ - 'ifeq ($(CPU_TARGE','T),i386)'#010+ + 'ifeq ($(CPU_TARGET),i386)'#010+ 'FPCCPUOPT:=-OG2p3'#010+ 'endif'#010+ 'ifeq ($(CPU_TARGET),powerpc)'#010+ @@ -1486,7 +1490,7 @@ const fpcmakeini : array[0..226,1..240] of char=( 'FPCCPUOPT:=-O2'#010+ 'endif'#010+ 'override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n'#010+ - 'override FPCOPTDEF+=RELEASE'#010+ + 'override FPCOPT','DEF+=RELEASE'#010+ 'endif'#010+ #010+ '# Strip'#010+ @@ -1494,7 +1498,7 @@ const fpcmakeini : array[0..226,1..240] of char=( 'override FPCOPT+=-Xs'#010+ 'endif'#010+ #010+ - '# Opti','mizer'#010+ + '# Optimizer'#010+ 'ifdef OPTIMIZE'#010+ 'override FPCOPT+=-O2'#010+ 'endif'#010+ @@ -1505,48 +1509,48 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ '# Needed compiler options'#010+ - 'ifdef COMPILER_OPTIONS'#010+ + 'ifdef CO','MPILER_OPTIONS'#010+ 'override FPCOPT+=$(COMPILER_OPTIONS)'#010+ 'endif'#010+ - 'ifdef COMPILER_U','NITDIR'#010+ + 'ifdef COMPILER_UNITDIR'#010+ 'override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))'#010+ 'endif'#010+ 'ifdef COMPILER_LIBRARYDIR'#010+ 'override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))'#010+ 'endif'#010+ - 'ifdef COMPILER_OBJECTDIR'#010+ + 'ifdef COMP','ILER_OBJECTDIR'#010+ 'override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))'#010+ - 'end','if'#010+ + 'endif'#010+ 'ifdef COMPILER_INCLUDEDIR'#010+ 'override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))'#010+ 'endif'#010+ #010+ '# Cross compiler utils'#010+ 'ifdef CROSSBINDIR'#010+ - 'override FPCOPT+=-FD$(CROSSBINDIR)'#010+ + 'override FPCOPT+=-FD$(CROSSBINDI','R)'#010+ 'endif'#010+ #010+ '# Target dirs and the prefix to use for clean/install'#010+ - 'ifdef COMP','ILER_TARGETDIR'#010+ + 'ifdef COMPILER_TARGETDIR'#010+ 'override FPCOPT+=-FE$(COMPILER_TARGETDIR)'#010+ 'ifeq ($(COMPILER_TARGETDIR),.)'#010+ 'override TARGETDIRPREFIX='#010+ 'else'#010+ - 'override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/'#010+ + 'override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/',#010+ 'endif'#010+ 'endif'#010+ #010+ '# Unit target dir (default is units/-/'#010+ - 'ifdef COMPIL','ER_UNITTARGETDIR'#010+ + 'ifdef COMPILER_UNITTARGETDIR'#010+ 'override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)'#010+ 'ifeq ($(COMPILER_UNITTARGETDIR),.)'#010+ 'override UNITTARGETDIRPREFIX='#010+ 'else'#010+ - 'override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/'#010+ + 'override UNITTARGETDIRPREFIX=$(CO','MPILER_UNITTARGETDIR)/'#010+ 'endif'#010+ 'else'#010+ 'ifdef COMPILER_TARGETDIR'#010+ - 'override COMPIL','ER_UNITTARGETDIR=$(COMPILER_TARGETDIR)'#010+ + 'override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)'#010+ 'override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)'#010+ 'endif'#010+ 'endif'#010+ @@ -1554,13 +1558,13 @@ const fpcmakeini : array[0..226,1..240] of char=( 'ifdef CREATESHARED'#010+ 'override FPCOPT+=-Cg'#010+ #010+ - 'ifeq ($(CPU_TARGET),i386)'#010+ + 'ifeq ($(CPU_TARGET),i386)',#010+ 'override FPCOPT+=-Aas'#010+ 'endif'#010+ #010+ 'endif'#010+ #010+ - '# create always pic'#039'ed code on x86_64',#010+ + '# create always pic'#039'ed code on x86_64'#010+ 'ifeq ($(findstring 2.0.,$(FPC_VERSION)),)'#010+ 'ifneq ($(findstring $(OS_TARGET),linux solaris),)'#010+ 'ifeq ($(CPU_TARGET),x86_64)'#010+ @@ -1569,12 +1573,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ 'endif'#010+ #010+ - 'ifdef LINKSHARED'#010+ + 'ifdef',' LINKSHARED'#010+ '#!!! deactived for testing override FPCOPT+=-XD'#010+ 'endif'#010+ #010+ #010+ - '[comma','nd_libc]'#010+ + '[command_libc]'#010+ '# Add GCC lib path if asked'#010+ 'ifdef GCCLIBDIR'#010+ 'override FPCOPT+=-Fl$(GCCLIBDIR)'#010+ @@ -1582,11 +1586,11 @@ const fpcmakeini : array[0..226,1..240] of char=( 'ifdef OTHERLIBDIR'#010+ 'override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR))'#010+ 'endif'#010+ - #010+ + #010, #010+ '[command_end]'#010+ '# Add commandline options last so they can override'#010+ - 'ifdef O','PT'#010+ + 'ifdef OPT'#010+ 'override FPCOPT+=$(OPT)'#010+ 'endif'#010+ #010+ @@ -1595,22 +1599,22 @@ const fpcmakeini : array[0..226,1..240] of char=( 'override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))'#010+ 'endif'#010+ #010+ - '# Was a config file specified ?'#010+ + '# Was a config file spec','ified ?'#010+ 'ifdef CFGFILE'#010+ 'override FPCOPT+=@$(CFGFILE)'#010+ 'endif'#010+ #010+ - '# Use the enviro','nment to pass commandline options?'#010+ + '# Use the environment to pass commandline options?'#010+ 'ifdef USEENV'#010+ 'override FPCEXTCMD:=$(FPCOPT)'#010+ 'override FPCOPT:=!FPCEXTCMD'#010+ 'export FPCEXTCMD'#010+ 'endif'#010+ #010+ - 'override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)'#010+ + 'override AFULL_TARGET=$(CPU_TARGET)-','$(OS_TARGET)'#010+ 'override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)'#010+ #010+ - 'ifneq ($(AF','ULL_TARGET),$(AFULL_SOURCE))'#010+ + 'ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))'#010+ 'override ACROSSCOMPILE=1'#010+ 'endif'#010+ #010+ @@ -1619,16 +1623,16 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ '# Compiler commandline'#010+ - 'override COMPILER:=$(FPC) $(FPCOPT)'#010+ + 'override COMPILER:=$(FPC) ','$(FPCOPT)'#010+ #010+ '# also call ppas if with command option -s'#010+ - '# but only if the FU','LL_SOURCE and FULL_TARGET are equal'#010+ + '# but only if the FULL_SOURCE and FULL_TARGET are equal'#010+ 'ifeq (,$(findstring -s ,$(COMPILER)))'#010+ 'EXECPPAS='#010+ 'else'#010+ 'ifeq ($(FULL_SOURCE),$(FULL_TARGET))'#010+ 'ifdef RUNBATCH'#010+ - 'EXECPPAS:=@$(RUNBATCH) $(PPAS)'#010+ + 'EXECPPAS:=@$(RUNBATCH) $(','PPAS)'#010+ 'else'#010+ 'EXECPPAS:=@$(PPAS)'#010+ 'endif'#010+ @@ -1637,24 +1641,23 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ #010+ '[loaderrules]'#010+ - '##########','##########################################################'+ - '#'#010+ + '#####################################################################'#010+ '# Loaders'#010+ '#####################################################################'#010+ #010+ '.PHONY: fpc_loaders'#010+ #010+ - 'ifneq ($(TARGET_LOADERS),)'#010+ + 'ifne','q ($(TARGET_LOADERS),)'#010+ 'override ALLTARGET+=fpc_loaders'#010+ - 'override CLEANTARGE','T+=fpc_loaders_clean'#010+ + 'override CLEANTARGET+=fpc_loaders_clean'#010+ 'override INSTALLTARGET+=fpc_loaders_install'#010+ #010+ 'override LOADEROFILES:=$(addsuffix $(OEXT),$(TARGET_LOADERS))'#010+ 'endif'#010+ #010+ '%$(OEXT): %$(LOADEREXT)'#010+ - 'ifdef COMPILER_UNITTARGETDIR'#010+ - ' $(AS) -o $(COMPILER_UNITTARGETDIR)/$*$(OEXT)',' $<'#010+ + 'ifdef C','OMPILER_UNITTARGETDIR'#010+ + ' $(AS) -o $(COMPILER_UNITTARGETDIR)/$*$(OEXT) $<'#010+ 'else'#010+ ' $(AS) -o $*$(OEXT) $<'#010+ 'endif'#010+ @@ -1663,36 +1666,37 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ 'fpc_loaders_clean:'#010+ 'ifdef COMPILER_UNITTARGETDIR'#010+ - ' -$(DEL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES)'+ - ')'#010+ + ' -$(DEL) ','$(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILE'+ + 'S))'#010+ 'else'#010+ - ' -$(DE','L) $(LOADEROFILES)'#010+ + ' -$(DEL) $(LOADEROFILES)'#010+ 'endif'#010+ #010+ 'fpc_loaders_install:'#010+ ' $(MKDIR) $(INSTALL_UNITDIR)'#010+ 'ifdef COMPILER_UNITTARGETDIR'#010+ - ' $(INSTALL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFIL'+ - 'ES)) $(INSTALL_UNITDIR)'#010+ + ' $(INSTALL) $(addprefix $(COMPILER_UNITTARGETDI','R)/,$(LOADEROF'+ + 'ILES)) $(INSTALL_UNITDIR)'#010+ 'else'#010+ - ' $(INSTALL) $(LOADEROF','ILES) $(INSTALL_UNITDIR)'#010+ + ' $(INSTALL) $(LOADEROFILES) $(INSTALL_UNITDIR)'#010+ 'endif'#010+ #010+ #010+ '[unitrules]'#010+ '#####################################################################'#010+ '# Units'#010+ - '#####################################################################'#010+ + '###########################################','#########################'+ + '#'#010+ #010+ '.PHONY: fpc_units'#010+ #010+ - 'ifneq ($(TARGET_UNITS)$(TAR','GET_IMPLICITUNITS),)'#010+ + 'ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)'#010+ 'override ALLTARGET+=fpc_units'#010+ #010+ 'override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))'#010+ - 'override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITU'+ - 'NITS))'#010+ - 'override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLIC','ITUNITPPUFILES)'#010+ + 'override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$','(TARGET_IMPLICI'+ + 'TUNITS))'#010+ + 'override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)'#010+ 'override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)'#010+ 'endif'#010+ #010+ @@ -1700,30 +1704,30 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ #010+ '[exerules]'#010+ - '#####################################################################'#010+ - '# Exes'#010+ - '##########','##########################################################'+ + '#############','#######################################################'+ '#'#010+ + '# Exes'#010+ + '#####################################################################'#010+ #010+ '.PHONY: fpc_exes'#010+ #010+ '# Programs are not needed for a cross installation'#010+ 'ifndef CROSSINSTALL'#010+ - 'ifneq ($(TARGET_PROGRAMS),)'#010+ + 'ifneq ($(TARGET_','PROGRAMS),)'#010+ 'override EXEFILES=$(addsuffix $(EXEEXT),$(TARGET_PROGRAMS))'#010+ - 'ov','erride EXEOFILES:=$(addsuffix $(OEXT),$(TARGET_PROGRAMS)) $(addpre'+ - 'fix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_PROGRAMS))'+ - ') $(addprefix $(IMPORTLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_'+ + 'override EXEOFILES:=$(addsuffix $(OEXT),$(TARGET_PROGRAMS)) $(addprefi'+ + 'x $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_PROGRAMS))) '+ + '$(addprefix $(IMPORTLIBPREFI','X),$(addsuffix $(STATICLIBEXT),$(TARGET_'+ 'PROGRAMS)))'#010+ #010+ - 'override ALLTARGET+=f','pc_exes'#010+ + 'override ALLTARGET+=fpc_exes'#010+ 'override INSTALLEXEFILES+=$(EXEFILES)'#010+ 'override CLEANEXEFILES+=$(EXEFILES) $(EXEOFILES)'#010+ 'ifeq ($(OS_TARGET),os2)'#010+ - 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_PROGRAMS))'#010+ + 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),','$(TARGET_PROGRAMS))'#010+ 'endif'#010+ 'ifeq ($(OS_TARGET),emx)'#010+ - 'override CLEANEXEFILES+=','$(addsuffix $(AOUTEXT),$(TARGET_PROGRAMS))'#010+ + 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_PROGRAMS))'#010+ 'endif'#010+ 'endif'#010+ 'endif'#010+ @@ -1732,48 +1736,47 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ #010+ '[rstrules]'#010+ - '#####################################################################'#010+ - '# Resource strings'#010+ - '######','##############################################################'+ + '#####################','###############################################'+ '#'#010+ + '# Resource strings'#010+ + '#####################################################################'#010+ #010+ 'ifdef TARGET_RSTS'#010+ 'override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))'#010+ #010+ - 'override CLEANRSTFILES+=$(RSTFILES)'#010+ + 'override CLEANRSTFILES+=$(','RSTFILES)'#010+ 'endif'#010+ #010+ #010+ '[examplerules]'#010+ - '#########################################','###########################'+ - '#'#010+ + '#####################################################################'#010+ '# Examples'#010+ '#####################################################################'#010+ #010+ '.PHONY: fpc_examples'#010+ #010+ 'ifneq ($(TARGET_EXAMPLES),)'#010+ - 'HASEXAMPLES=1'#010+ - 'override EXAMPLESOURCEFILES:=$(wildcard $(addsuffix .pp,$(TARGET_','EXA'+ - 'MPLES)) $(addsuffix .pas,$(TARGET_EXAMPLES)) $(addsuffix .lpr,$(TARGET'+ - '_EXAMPLES)) $(addsuffix .dpr,$(TARGET_EXAMPLES)))'#010+ - 'override EXAMPLEFILES:=$(addsuffix $(EXEEXT),$(TARGET_EXAMPLES))'#010+ - 'override EXAMPLEOFILES:=$(addsuffix $(OEXT),$(TARGET','_EXAMPLES)) $(ad'+ - 'dprefix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_EXAMPL'+ - 'ES))) $(addprefix $(IMPORTLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TAR'+ - 'GET_EXAMPLES)))'#010+ + 'HASEX','AMPLES=1'#010+ + 'override EXAMPLESOURCEFILES:=$(wildcard $(addsuffix .pp,$(TARGET_EXAMP'+ + 'LES)) $(addsuffix .pas,$(TARGET_EXAMPLES)) $(addsuffix .lpr,$(TARGET_E'+ + 'XAMPLES)) $(addsuffix .dpr,$(TARGET_EXAMPLES)))'#010+ + 'override EXAMPLEFILES:=$(addsuffix $(EXEEXT','),$(TARGET_EXAMPLES))'#010+ + 'override EXAMPLEOFILES:=$(addsuffix $(OEXT),$(TARGET_EXAMPLES)) $(addp'+ + 'refix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_EXAMPLES'+ + '))) $(addprefix $(IMPORTLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGE'+ + 'T_EXAMPL','ES)))'#010+ #010+ 'override CLEANEXEFILES+=$(EXAMPLEFILES) $(EXAMPLEOFILES)'#010+ - 'ifeq ($(OS','_TARGET),os2)'#010+ + 'ifeq ($(OS_TARGET),os2)'#010+ 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_EXAMPLES))'#010+ 'endif'#010+ 'ifeq ($(OS_TARGET),emx)'#010+ - 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_EXAMPLES))'#010+ + 'override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET','_EXAMPLES))'#010+ 'endif'#010+ 'endif'#010+ 'ifneq ($(TARGET_EXAMPLEDIRS),)'#010+ 'HASEXAMPLES=1'#010+ - 'endif',#010+ + 'endif'#010+ #010+ 'fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIR'+ 'S))'#010+ @@ -1781,19 +1784,18 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '[compilerules]'#010+ '#####################################################################'#010+ - '# General compile rules'#010+ - '#####################################################','###############'+ - '#'#010+ + '# G','eneral compile rules'#010+ + '#####################################################################'#010+ #010+ '.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared'#010+ #010+ '$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)'#010+ - ' @$(ECHOREDIR) Compiled > $(FPCMADE)'#010+ + ' @$(ECHOREDIR) Compiled > $(FPCMADE)'#010, #010+ 'fpc_all: $(FPCMADE)'#010+ #010+ 'fpc_smart:'#010+ - ' $(MAKE) all LINKSMART=1 CREATESMA','RT=1'#010+ + ' $(MAKE) all LINKSMART=1 CREATESMART=1'#010+ #010+ 'fpc_debug:'#010+ ' $(MAKE) all DEBUG=1'#010+ @@ -1802,22 +1804,22 @@ const fpcmakeini : array[0..226,1..240] of char=( ' $(MAKE) all RELEASE=1'#010+ #010+ '# General compile rules, available for both possible .pp and .pas exte'+ - 'nsions'#010+ + 'nsions',#010+ #010+ '.SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) .pas .lpr .dpr .pp .rc .res'#010+ #010+ - '$(CO','MPILER_UNITTARGETDIR):'#010+ + '$(COMPILER_UNITTARGETDIR):'#010+ ' $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)'#010+ #010+ '$(COMPILER_TARGETDIR):'#010+ ' $(MKDIRTREE) $(COMPILER_TARGETDIR)'#010+ #010+ '%$(PPUEXT): %.pp'#010+ - ' $(COMPILER) $<'#010+ + ' $(C','OMPILER) $<'#010+ ' $(EXECPPAS)'#010+ #010+ '%$(PPUEXT): %.pas'#010+ - ' $(COMPILER) $<'#010, + ' $(COMPILER) $<'#010+ ' $(EXECPPAS)'#010+ #010+ '%$(EXEEXT): %.pp'#010+ @@ -1829,37 +1831,36 @@ const fpcmakeini : array[0..226,1..240] of char=( ' $(EXECPPAS)'#010+ #010+ '%$(EXEEXT): %.lpr'#010+ - ' $(COMPILER) $<'#010+ + ' ',' $(COMPILER) $<'#010+ ' $(EXECPPAS)'#010+ #010+ '%$(EXEEXT): %.dpr'#010+ - ' $(COMPIL','ER) $<'#010+ + ' $(COMPILER) $<'#010+ ' $(EXECPPAS)'#010+ #010+ '%.res: %.rc'#010+ ' windres -i $< -o $@'#010+ #010+ '# Search paths for .ppu, .pp, .pas, .lpr, .dpr'#010+ - 'vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)'#010+ + 'vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUD','EDIR)'#010+ 'vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)'#010+ - 'vpath %.lpr',' $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)'#010+ + 'vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)'#010+ 'vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)'#010+ 'vpath %.inc $(COMPILER_INCLUDEDIR)'#010+ - 'vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)'#010+ + 'vpath %$(OEXT) $(COMPILER_UN','ITTARGETDIR)'#010+ 'vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)'#010+ #010+ '[sharedrules]'#010+ - '###','#################################################################'+ - '#'#010+ + '#####################################################################'#010+ '# Library'#010+ '#####################################################################'#010+ #010+ - '.PHONY: fpc_shared'#010+ + '.PHONY: fpc_shared',#010+ #010+ 'override INSTALLTARGET+=fpc_shared_install'#010+ #010+ 'ifndef SHARED_LIBVERSION'#010+ - 'SHA','RED_LIBVERSION=$(FPC_VERSION)'#010+ + 'SHARED_LIBVERSION=$(FPC_VERSION)'#010+ 'endif'#010+ #010+ 'ifndef SHARED_LIBNAME'#010+ @@ -1867,64 +1868,65 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ 'ifndef SHARED_FULLNAME'#010+ - 'SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSIO'+ - 'N)$(SHAREDLIBEXT)'#010+ + 'SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIB','NAME)-$(SHARED_LIBVERS'+ + 'ION)$(SHAREDLIBEXT)'#010+ 'endif'#010+ #010+ - '# Default sharedlib units',' are all unit objects'#010+ + '# Default sharedlib units are all unit objects'#010+ 'ifndef SHARED_LIBUNITS'#010+ 'SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)'#010+ - 'override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_L'+ - 'IBUNITS))'#010+ + 'override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SH','ARED'+ + '_LIBUNITS))'#010+ 'endif'#010+ #010+ 'fpc_shared:'#010+ 'ifdef HASSHAREDLIB'#010+ - ' $(MAKE) all ','CREATESHARED=1 LINKSHARED=1 CREATESMART=1'#010+ + ' $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1'#010+ 'ifneq ($(SHARED_BUILD),n)'#010+ ' $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -'+ - 'o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)'#010+ + 'o$(SHARED_FULLNAME) -d$(COMP','ILER_UNITTARGETDIR)'#010+ 'endif'#010+ 'else'#010+ - ' @$(ECHO) Shared Libraries not suppo','rted'#010+ + ' @$(ECHO) Shared Libraries not supported'#010+ 'endif'#010+ #010+ 'fpc_shared_install:'#010+ 'ifneq ($(SHARED_BUILD),n)'#010+ 'ifneq ($(SHARED_LIBUNITS),)'#010+ 'ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)'#010+ - ' $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INST'+ - 'ALL_SHAREDDIR)'#010+ - 'end','if'#010+ + ' $(INST','ALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(IN'+ + 'STALL_SHAREDDIR)'#010+ + 'endif'#010+ 'endif'#010+ 'endif'#010+ #010+ '[installrules]'#010+ '#####################################################################'#010+ '# Install rules'#010+ - '#####################################################################'#010+ + '#################################################','###################'+ + '#'#010+ #010+ - '.PHONY: fpc_install fpc_sourceinstall fpc_exampleins','tall'#010+ + '.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall'#010+ #010+ 'ifdef INSTALL_UNITS'#010+ 'override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))'#010+ 'endif'#010+ #010+ 'ifdef INSTALL_BUILDUNIT'#010+ - 'override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$'+ - '(INSTALLPPUFILES))'#010+ + 'override INSTALLPPUFILES:=$(filter-out $(IN','STALL_BUILDUNIT)$(PPUEXT)'+ + ',$(INSTALLPPUFILES))'#010+ 'endif'#010+ #010+ - 'ifdef INSTALLPPUFILES',#010+ + 'ifdef INSTALLPPUFILES'#010+ 'override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFI'+ 'LES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT)'+ - ',$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT)'+ - ',$(STATICLIBEXT),$(INSTALLPPU','FILES)))'#010+ + ',$(INSTALLPPUFILES))) $(a','ddprefix $(IMPORTLIBPREFIX),$(subst $(PPUEX'+ + 'T),$(STATICLIBEXT),$(INSTALLPPUFILES)))'#010+ 'ifneq ($(UNITTARGETDIRPREFIX),)'#010+ 'override INSTALLPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(notdir '+ '$(INSTALLPPUFILES)))'#010+ - 'override INSTALLPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPR'+ - 'EFIX),$(notdir $(INSTALLPPULINKFILES))','))'#010+ + 'override INSTALLPPULINKFILES:=$(wi','ldcard $(addprefix $(UNITTARGETDIR'+ + 'PREFIX),$(notdir $(INSTALLPPULINKFILES))))'#010+ 'endif'#010+ '# Implicitly install Package.fpc'#010+ 'override INSTALL_CREATEPACKAGEFPC=1'#010+ @@ -1932,99 +1934,97 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ 'ifdef INSTALLEXEFILES'#010+ 'ifneq ($(TARGETDIRPREFIX),)'#010+ - 'override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(IN'+ - 'STALLEXEFILES)))'#010+ + 'override INSTALLEXEFILES:=$(add','prefix $(TARGETDIRPREFIX),$(notdir $('+ + 'INSTALLEXEFILES)))'#010+ 'endif'#010+ 'endif'#010+ #010+ - 'fpc_i','nstall: all $(INSTALLTARGET)'#010+ + 'fpc_install: all $(INSTALLTARGET)'#010+ 'ifdef INSTALLEXEFILES'#010+ ' $(MKDIR) $(INSTALL_BINDIR)'#010+ '# Compress the exes if upx is defined'#010+ 'ifdef UPXPROG'#010+ - ' -$(UPXPROG) $(INSTALLEXEFILES)'#010+ + ' -$(UPXPROG) $(INSTAL','LEXEFILES)'#010+ 'endif'#010+ - ' $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR',')'#010+ + ' $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)'#010+ 'endif'#010+ 'ifdef INSTALL_CREATEPACKAGEFPC'#010+ 'ifdef FPCMAKE'#010+ '# If the fpcpackage variable is set then create and install Package.fp'+ 'c,'#010+ - '# a safety check is done if Makefile.fpc is available'#010+ + '# a safety check is done if Makefile.fpc',' is available'#010+ 'ifdef PACKAGE_VERSION'#010+ 'ifneq ($(wildcard Makefile.fpc),)'#010+ - ' ',' $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc'#010+ + ' $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc'#010+ ' $(MKDIR) $(INSTALL_UNITDIR)'#010+ ' $(INSTALL) Package.fpc $(INSTALL_UNITDIR)'#010+ 'endif'#010+ 'endif'#010+ 'endif'#010+ - 'endif'#010+ + 'en','dif'#010+ 'ifdef INSTALLPPUFILES'#010+ ' $(MKDIR) $(INSTALL_UNITDIR)'#010+ - ' $(IN','STALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)'#010+ + ' $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)'#010+ 'ifneq ($(INSTALLPPULINKFILES),)'#010+ ' $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)'#010+ 'endif'#010+ - 'ifneq ($(wildcard $(LIB_FULLNAME)),)'#010+ + 'ifneq ($(wildcard $(LI','B_FULLNAME)),)'#010+ ' $(MKDIR) $(INSTALL_LIBDIR)'#010+ - ' $(INSTALL) $(LIB','_FULLNAME) $(INSTALL_LIBDIR)'#010+ + ' $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)'#010+ 'ifdef inUnix'#010+ ' ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)'#010+ 'endif'#010+ 'endif'#010+ 'endif'#010+ 'ifdef INSTALL_FILES'#010+ - ' $(MKDIR) $(INSTALL_DATADIR)'#010+ + ' $(MKDIR) $(INSTAL','L_DATADIR)'#010+ ' $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)'#010+ 'endif'#010+ #010+ - 'f','pc_sourceinstall: distclean'#010+ + 'fpc_sourceinstall: distclean'#010+ ' $(MKDIR) $(INSTALL_SOURCEDIR)'#010+ ' $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)'#010+ #010+ - 'fpc_exampleinstall: $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))'#010+ + 'fpc_exampleinstall: $(addsuffix _distclean,$(','TARGET_EXAMPLEDIRS))'#010+ 'ifdef HASEXAMPLES'#010+ - ' $(MKDIR) $(INSTALL_EXAMPLED','IR)'#010+ + ' $(MKDIR) $(INSTALL_EXAMPLEDIR)'#010+ 'endif'#010+ 'ifdef EXAMPLESOURCEFILES'#010+ ' $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)'#010+ 'endif'#010+ 'ifdef TARGET_EXAMPLEDIRS'#010+ - ' $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EX'+ - 'AMPLEDIR)'#010+ + ' $(COPYTREE) $(addsuffix /*,$(TAR','GET_EXAMPLEDIRS)) $(INSTALL_'+ + 'EXAMPLEDIR)'#010+ 'endif'#010+ #010+ '[distinstallrules]'#010+ - '########','############################################################'+ - '#'#010+ + '#####################################################################'#010+ '# Dist Install'#010+ '#####################################################################'#010+ #010+ - '.PHONY: fpc_distinstall'#010+ + '.PHONY: fpc_distin','stall'#010+ #010+ 'fpc_distinstall: install exampleinstall'#010+ #010+ #010+ '[zipinstallrules]'#010+ - '#######','#############################################################'+ - '#'#010+ + '#####################################################################'#010+ '# Zip'#010+ '#####################################################################'#010+ #010+ - '.PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall'#010+ + '.PHONY: fpc_zipinstall fpc','_zipsourceinstall fpc_zipexampleinstall'#010+ #010+ - '# Temporary path to pack a file, ','can only use a single deep'#010+ + '# Temporary path to pack a file, can only use a single deep'#010+ '# subdir, because the deltree can'#039't see the whole tree to remove'#010+ 'ifndef PACKDIR'#010+ 'ifndef inUnix'#010+ 'PACKDIR=$(BASEDIR)/../fpc-pack'#010+ 'else'#010+ - 'PACKDIR=/tmp/fpc-pack'#010+ + 'PACKDIR=/','tmp/fpc-pack'#010+ 'endif'#010+ 'endif'#010+ #010+ - '# Maybe create default zipname from packagename'#010, + '# Maybe create default zipname from packagename'#010+ 'ifndef ZIPNAME'#010+ 'ifdef DIST_ZIPNAME'#010+ 'ZIPNAME=$(DIST_ZIPNAME)'#010+ @@ -2034,12 +2034,12 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ 'ifndef FULLZIPNAME'#010+ - 'FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX)'#010+ + 'FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPN','AME)$(ZIPSUFFIX)'#010+ 'endif'#010+ #010+ '# ZipTarget'#010+ 'ifndef ZIPTARGET'#010+ - 'ifdef DIST_ZIPTARGET'#010, + 'ifdef DIST_ZIPTARGET'#010+ 'ZIPTARGET=DIST_ZIPTARGET'#010+ 'else'#010+ 'ZIPTARGET=install'#010+ @@ -2053,49 +2053,50 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ 'endif'#010+ #010+ - '# Use a wrapper script by default for Os/2'#010+ + '# Use a wrapper script ','by default for Os/2'#010+ 'ifndef inUnix'#010+ 'USEZIPWRAPPER=1'#010+ 'endif'#010+ #010+ - '# We need to be a','ble to run in the current OS so fix'#010+ + '# We need to be able to run in the current OS so fix'#010+ '# the path separator'#010+ 'ifdef USEZIPWRAPPER'#010+ 'ZIPPATHSEP=$(PATHSEP)'#010+ - 'ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT))'#010+ + 'ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT',')'+ + ')'#010+ 'else'#010+ 'ZIPPATHSEP=/'#010+ 'endif'#010+ #010+ '# Create commands to create the zip/tar file'#010+ - 'Z','IPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR))'#010+ + 'ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR))'#010+ 'ZIPCMD_CDBASE:=cd $(subst /,$(ZIPPATHSEP),$(BASEDIR))'#010+ 'ifdef USETAR'#010+ - 'ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT)'#010+ + 'ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(T','AREXT)'#010+ 'ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $(ZIPDESTFILE) *'#010+ 'else'#010+ - 'ZIPDESTFIL','E:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)'#010+ + 'ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)'#010+ 'ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDES'+ 'TFILE) *'#010+ 'endif'#010+ #010+ 'fpc_zipinstall:'#010+ - ' $(MAKE) $(ZIPTARGET) INSTALL_PREFIX=$(PACKDIR) ZIPINSTALL=1'#010+ - ' $(MKDIR) $(DIST_DES','TDIR)'#010+ + ' $(MAKE) $(ZIP','TARGET) INSTALL_PREFIX=$(PACKDIR) ZIPINSTALL=1'#010+ + ' $(MKDIR) $(DIST_DESTDIR)'#010+ ' $(DEL) $(ZIPDESTFILE)'#010+ 'ifdef USEZIPWRAPPER'#010+ '# Handle gecho separate as we need to espace \ with \\'#010+ 'ifneq ($(ECHOREDIR),echo)'#010+ - ' $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDPACK))" > $(ZIPWRAPPE'+ - 'R)'#010+ - ' $(ECHOREDIR) -e "$(sub','st \,\\,$(ZIPCMD_ZIP))" >> $(ZIPWRAPPE'+ - 'R)'#010+ + ' $(ECHOREDIR) -e "$(su','bst \,\\,$(ZIPCMD_CDPACK))" > $(ZIPWRAP'+ + 'PER)'#010+ + ' $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_ZIP))" >> $(ZIPWRAPPER)'+ + #010+ ' $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDBASE))" >> $(ZIPWRAPP'+ 'ER)'#010+ 'else'#010+ - ' echo $(ZIPCMD_CDPACK) > $(ZIPWRAPPER)'#010+ + ' echo $(ZIPCMD_CDPACK) > $(ZIPWRAPPER)'#010, ' echo $(ZIPCMD_ZIP) >> $(ZIPWRAPPER)'#010+ - ' echo $(ZIPCMD_CDBASE) ','>> $(ZIPWRAPPER)'#010+ + ' echo $(ZIPCMD_CDBASE) >> $(ZIPWRAPPER)'#010+ 'endif'#010+ 'ifdef inUnix'#010+ ' /bin/sh $(ZIPWRAPPER)'#010+ @@ -2106,9 +2107,9 @@ const fpcmakeini : array[0..226,1..240] of char=( ' $(ZIPWRAPPER)'#010+ 'endif'#010+ 'endif'#010+ - ' $(DEL) $(ZIPWRAPPER)'#010+ + ' ',' $(DEL) $(ZIPWRAPPER)'#010+ 'else'#010+ - ' $(ZIPCMD_CDPACK) ; $(ZIPCMD_ZIP) ; $(ZI','PCMD_CDBASE)'#010+ + ' $(ZIPCMD_CDPACK) ; $(ZIPCMD_ZIP) ; $(ZIPCMD_CDBASE)'#010+ 'endif'#010+ ' $(DELTREE) $(PACKDIR)'#010+ #010+ @@ -2116,10 +2117,10 @@ const fpcmakeini : array[0..226,1..240] of char=( ' $(MAKE) fpc_zipinstall ZIPTARGET=sourceinstall ZIPSUFFIX=$(ZIP'+ 'SOURCESUFFIX)'#010+ #010+ - 'fpc_zipexampleinstall:'#010+ + 'fpc_zipex','ampleinstall:'#010+ 'ifdef HASEXAMPLES'#010+ - ' $(MAKE) fpc_zipinstall ZIPTARGET=e','xampleinstall ZIPSUFFIX=$('+ - 'ZIPEXAMPLESUFFIX)'#010+ + ' $(MAKE) fpc_zipinstall ZIPTARGET=exampleinstall ZIPSUFFIX=$(ZI'+ + 'PEXAMPLESUFFIX)'#010+ 'endif'#010+ #010+ 'fpc_zipdistinstall:'#010+ @@ -2127,247 +2128,247 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ #010+ '[cleanrules]'#010+ - '#####################################################################'#010+ - '# Clean rules'#010+ - '#################','###################################################'+ + '###########################','#########################################'+ '#'#010+ + '# Clean rules'#010+ + '#####################################################################'#010+ #010+ '.PHONY: fpc_clean fpc_cleanall fpc_distclean'#010+ #010+ 'ifdef EXEFILES'#010+ - 'override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES'+ - '))'#010+ + 'override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREF','IX),$(CLEANEXEFIL'+ + 'ES))'#010+ 'endif'#010+ #010+ 'ifdef CLEAN_PROGRAMS'#010+ - 'override CLEANEXEFILES+=','$(addprefix $(TARGETDIRPREFIX),$(addsuffix $'+ - '(EXEEXT), $(CLEAN_PROGRAMS)))'#010+ + 'override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(E'+ + 'XEEXT), $(CLEAN_PROGRAMS)))'#010+ 'endif'#010+ #010+ 'ifdef CLEAN_UNITS'#010+ 'override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))'#010+ - 'endif'#010+ + 'endif',#010+ #010+ 'ifdef CLEANPPUFILES'#010+ - 'override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT','),$(CLEANPPUFILE'+ - 'S)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$'+ - '(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(S'+ - 'TATICLIBEXT),$(CLEANPPUFILES)))'#010+ + 'override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)'+ + ') $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(C'+ + 'LEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STA'+ + 'TICLIBEX','T),$(CLEANPPUFILES)))'#010+ 'ifdef DEBUGSYMEXT'#010+ - 'override CLEANPPULINKFILES+=$(subs','t $(PPUEXT),$(DEBUGSYMEXT),$(CLEAN'+ - 'PPUFILES))'#010+ + 'override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPP'+ + 'UFILES))'#010+ 'endif'#010+ 'override CLEANPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUF'+ 'ILES))'#010+ - 'override CLEANPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPREF'+ - 'IX),$(CLEANPPULINKFILES)))'#010+ + 'override CLEANPPULINKFILES:=$(wildcard',' $(addprefix $(UNITTARGETDIRPR'+ + 'EFIX),$(CLEANPPULINKFILES)))'#010+ 'endif'#010+ #010+ - 'fpc_clea','n: $(CLEANTARGET)'#010+ + 'fpc_clean: $(CLEANTARGET)'#010+ 'ifdef CLEANEXEFILES'#010+ ' -$(DEL) $(CLEANEXEFILES)'#010+ 'endif'#010+ 'ifdef CLEANPPUFILES'#010+ ' -$(DEL) $(CLEANPPUFILES)'#010+ 'endif'#010+ + 'ifneq ($(CLEANPPULINKFILES),)'#010, + ' -$(DEL) $(CLEANPPULINKFILES)'#010+ + 'endif'#010+ + 'ifdef CLEANRSTFILES'#010+ + ' -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))'#010+ + 'endif'#010+ + 'ifdef CLEAN_FILES'#010+ + ' -$(DEL) $(CLEAN_FILES)'#010+ + 'endif'#010+ + 'ifdef LIB_NAME'#010+ + ' -$(DEL) $(LIB_NAME) $(LI','B_FULLNAME)'#010+ + 'endif'#010+ + ' -$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.res link.res $(F'+ + 'PCEXTFILE) $(REDIRFILE)'#010+ + ' -$(DEL) *$(ASMEXT) *_ppas$(BATCHEXT)'#010+ + #010+ + 'fpc_cleanall: $(CLEANTARGET)'#010+ + 'ifdef CLEANEXEFILES'#010+ + ' -$(DEL) $(CLEANEXEFILES)'#010, + 'endif'#010+ + 'ifdef COMPILER_UNITTARGETDIR'#010+ + 'ifdef CLEANPPUFILES'#010+ + ' -$(DEL) $(CLEANPPUFILES)'#010+ + 'endif'#010+ 'ifneq ($(CLEANPPULINKFILES),)'#010+ ' -$(DEL) $(CLEANPPULINKFILES)'#010+ 'endif'#010+ 'ifdef CLEANRSTFILES'#010+ - ' -$(','DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))'+ + ' -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(','CLEANRSTFILES))'+ #010+ 'endif'#010+ + 'endif'#010+ 'ifdef CLEAN_FILES'#010+ ' -$(DEL) $(CLEAN_FILES)'#010+ 'endif'#010+ - 'ifdef LIB_NAME'#010+ - ' -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)'#010+ - 'endif'#010+ - ' -$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.re','s link.res $'+ - '(FPCEXTFILE) $(REDIRFILE)'#010+ - ' -$(DEL) *$(ASMEXT) *_ppas$(BATCHEXT)'#010+ - #010+ - 'fpc_cleanall: $(CLEANTARGET)'#010+ - 'ifdef CLEANEXEFILES'#010+ - ' -$(DEL) $(CLEANEXEFILES)'#010+ - 'endif'#010+ - 'ifdef COMPILER_UNITTARGETDIR'#010+ - 'ifdef CLEANPPUFILES'#010+ - ' -$(DEL) $(C','LEANPPUFILES)'#010+ - 'endif'#010+ - 'ifneq ($(CLEANPPULINKFILES),)'#010+ - ' -$(DEL) $(CLEANPPULINKFILES)'#010+ - 'endif'#010+ - 'ifdef CLEANRSTFILES'#010+ - ' -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))'#010+ - 'endif'#010+ - 'endif'#010+ - 'ifdef CLEAN_FILES'#010+ - ' -$(DEL) $(CLEAN_FILE','S)'#010+ - 'endif'#010+ ' -$(DELTREE) units'#010+ ' -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIB'+ 'EXT) *$(SHAREDLIBEXT) *$(PPLEXT)'#010+ 'ifneq ($(PPUEXT),.ppu)'#010+ - ' -$(DEL) *.o *.ppu *.a'#010+ + ' ',' -$(DEL) *.o *.ppu *.a'#010+ 'endif'#010+ ' -$(DELTREE) *$(SMARTEXT)'#010+ - ' -$','(DEL) fpcmade.* Package.fpc $(PPAS) script.res link.res $('+ - 'FPCEXTFILE) $(REDIRFILE)'#010+ + ' -$(DEL) fpcmade.* Package.fpc $(PPAS) script.res link.res $(FP'+ + 'CEXTFILE) $(REDIRFILE)'#010+ ' -$(DEL) *_ppas$(BATCHEXT)'#010+ 'ifdef AOUTEXT'#010+ ' -$(DEL) *$(AOUTEXT)'#010+ 'endif'#010+ - 'ifdef DEBUGSYMEXT'#010+ + 'i','fdef DEBUGSYMEXT'#010+ ' -$(DEL) *$(DEBUGSYMEXT)'#010+ 'endif'#010+ #010+ - 'fpc_distclean: cle','anall'#010+ + 'fpc_distclean: cleanall'#010+ #010+ #010+ '[baseinforules]'#010+ '#####################################################################'#010+ '# Base info rules'#010+ - '#####################################################################'#010+ + '######################################################','##############'+ + '#'#010+ #010+ '.PHONY: fpc_baseinfo'#010+ #010+ 'override INFORULES+=fpc_baseinfo'#010+ #010+ - 'f','pc_baseinfo:'#010+ + 'fpc_baseinfo:'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) == Package info =='#010+ ' @$(ECHO) Package Name..... $(PACKAGE_NAME)'#010+ - ' @$(ECHO) Package Version.. $(PACKAGE_VERSION)'#010+ + ' @$(ECHO) Package Version.. $(PACKAGE_V','ERSION)'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) == Configuration info =='#010+ - ' ',' @$(ECHO)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) FPC.......... $(FPC)'#010+ ' @$(ECHO) FPC Version.. $(FPC_VERSION)'#010+ ' @$(ECHO) Source CPU... $(CPU_SOURCE)'#010+ - ' @$(ECHO) Target CPU... $(CPU_TARGET)'#010+ + ' @$(ECHO) Targe','t CPU... $(CPU_TARGET)'#010+ ' @$(ECHO) Source OS.... $(OS_SOURCE)'#010+ - ' ',' @$(ECHO) Target OS.... $(OS_TARGET)'#010+ + ' @$(ECHO) Target OS.... $(OS_TARGET)'#010+ ' @$(ECHO) Full Source.. $(FULL_SOURCE)'#010+ ' @$(ECHO) Full Target.. $(FULL_TARGET)'#010+ - ' @$(ECHO) SourceSuffix. $(SOURCESUFFIX)'#010+ + ' @$(ECHO) SourceSuffix. $','(SOURCESUFFIX)'#010+ ' @$(ECHO) TargetSuffix. $(TARGETSUFFIX)'#010+ - ' @$(','ECHO) FPC fpmake... $(FPCFPMAKE)'#010+ + ' @$(ECHO) FPC fpmake... $(FPCFPMAKE)'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) == Directory info =='#010+ ' @$(ECHO)'#010+ ' @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)'#010+ - ' @$(ECHO)'#010+ + ' ',' @$(ECHO)'#010+ ' @$(ECHO) Basedir......... $(BASEDIR)'#010+ - ' @$(ECHO',') FPCDir.......... $(FPCDIR)'#010+ + ' @$(ECHO) FPCDir.......... $(FPCDIR)'#010+ ' @$(ECHO) CrossBinDir..... $(CROSSBINDIR)'#010+ ' @$(ECHO) UnitsDir........ $(UNITSDIR)'#010+ - ' @$(ECHO) PackagesDir..... $(PACKAGESDIR)'#010+ + ' @$(ECHO) PackagesDir..... $(PA','CKAGESDIR)'#010+ ' @$(ECHO)'#010+ - ' @$(ECHO) GCC library..... $(GCCLIBDIR',')'#010+ + ' @$(ECHO) GCC library..... $(GCCLIBDIR)'#010+ ' @$(ECHO) Other library... $(OTHERLIBDIR)'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) == Tools info =='#010+ ' @$(ECHO)'#010+ ' @$(ECHO) As........ $(AS)'#010+ - ' @$(ECHO) Ld........ $(LD)'#010+ + ' @$','(ECHO) Ld........ $(LD)'#010+ ' @$(ECHO) Ar........ $(AR)'#010+ - ' @$(ECH','O) Rc........ $(RC)'#010+ + ' @$(ECHO) Rc........ $(RC)'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) Mv........ $(MVPROG)'#010+ ' @$(ECHO) Cp........ $(CPPROG)'#010+ ' @$(ECHO) Rm........ $(RMPROG)'#010+ - ' @$(ECHO) GInstall.. $(GINSTALL)'#010+ + ' @$(','ECHO) GInstall.. $(GINSTALL)'#010+ ' @$(ECHO) Echo...... $(ECHO)'#010+ - ' ',' @$(ECHO) Shell..... $(SHELL)'#010+ + ' @$(ECHO) Shell..... $(SHELL)'#010+ ' @$(ECHO) Date...... $(DATE)'#010+ ' @$(ECHO) FPCMake... $(FPCMAKE)'#010+ ' @$(ECHO) PPUMove... $(PPUMOVE)'#010+ - ' @$(ECHO) Upx....... $(UPXPROG)'#010+ + ' @$(ECHO) ','Upx....... $(UPXPROG)'#010+ ' @$(ECHO) Zip....... $(ZIPPROG)'#010+ - ' @$(E','CHO)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) == Object info =='#010+ ' @$(ECHO)'#010+ ' @$(ECHO) Target Loaders........ $(TARGET_LOADERS)'#010+ - ' @$(ECHO) Target Units.......... $(TARGET_UNITS)'#010+ + ' @$(ECHO) Target Units.......... $(TARGET','_UNITS)'#010+ ' @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)'#010+ - ' ',' @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)'#010+ + ' @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)'#010+ ' @$(ECHO) Target Dirs........... $(TARGET_DIRS)'#010+ - ' @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)'#010+ + ' @$(ECHO) Target Examples....... $(TARGET_E','XAMPLES)'#010+ ' @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)'#010+ - ' ',' @$(ECHO)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) Clean Units......... $(CLEAN_UNITS)'#010+ ' @$(ECHO) Clean Files......... $(CLEAN_FILES)'#010+ ' @$(ECHO)'#010+ - ' @$(ECHO) Install Units....... $(INSTALL_UNITS)'#010+ - ' @$(ECHO) Install Files....... $(INS','TALL_FILES)'#010+ + ' @$(ECHO) Install ','Units....... $(INSTALL_UNITS)'#010+ + ' @$(ECHO) Install Files....... $(INSTALL_FILES)'#010+ ' @$(ECHO)'#010+ ' @$(ECHO) == Install info =='#010+ ' @$(ECHO)'#010+ ' @$(ECHO) DateStr.............. $(DATESTR)'#010+ - ' @$(ECHO) ZipName.............. $(ZIPNAME)'#010+ + ' @$(ECHO) ZipName.......','....... $(ZIPNAME)'#010+ ' @$(ECHO) ZipPrefix............ $(ZIPPREFIX)'#010+ - ' ',' @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)'#010+ + ' @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)'#010+ ' @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)'#010+ ' @$(ECHO) FullZipName.......... $(FULLZIPNAME)'#010+ - ' @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)'#010+ - ' @$(ECH','O)'#010+ + ' ',' @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)'#010+ ' @$(ECHO) Install binary dir... $(INSTALL_BINDIR)'#010+ - ' @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)'#010+ + ' @$(ECHO) Install library dir.. $(INST','ALL_LIBDIR)'#010+ ' @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)'#010+ - ' ',' @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)'#010+ + ' @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)'#010+ ' @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)'#010+ - ' @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)'#010+ + ' @$(ECHO) Install example dir.. $(INSTALL_','EXAMPLEDIR)'#010+ ' @$(ECHO) Install data dir..... $(INSTALL_DATADIR)'#010+ - ' ',' @$(ECHO)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) Dist destination dir. $(DIST_DESTDIR)'#010+ ' @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)'#010+ ' @$(ECHO)'#010+ #010+ '[inforules]'#010+ - '#####################################################################'#010+ - '# Info rules'#010+ - '#','###################################################################'+ + '##########','##########################################################'+ '#'#010+ + '# Info rules'#010+ + '#####################################################################'#010+ #010+ '.PHONY: fpc_info'#010+ #010+ 'fpc_info: $(INFORULES)'#010+ #010+ '[makefilerules]'#010+ - '#####################################################################'#010+ - '# Rebuild Makefile'#010+ - '#######################','#############################################'+ + '######################################','##############################'+ '#'#010+ + '# Rebuild Makefile'#010+ + '#####################################################################'#010+ #010+ '.PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2'+ ' \'#010+ ' fpc_makefile_dirs'#010+ #010+ 'fpc_makefile:'#010+ - ' $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc'#010+ + ' ',' $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc'#010+ #010+ 'fpc_makefile_sub1:'#010+ - 'ifdef TA','RGET_DIRS'#010+ + 'ifdef TARGET_DIRS'#010+ ' $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGE'+ 'T_DIRS))'#010+ 'endif'#010+ 'ifdef TARGET_EXAMPLEDIRS'#010+ - ' $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGE'+ - 'T_EXAMPLEDIRS))'#010+ + ' $(FPCMAKE) -w -T$(OS_TARGET) $(addsuff','ix /Makefile.fpc,$(TAR'+ + 'GET_EXAMPLEDIRS))'#010+ 'endif'#010+ #010+ - 'fpc_makefile_sub2: $(addsuf','fix _makefile_dirs,$(TARGET_DIRS) $(TARGE'+ - 'T_EXAMPLEDIRS))'#010+ + 'fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_'+ + 'EXAMPLEDIRS))'#010+ #010+ 'fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2'#010+ #010+ 'fpc_makefiles: fpc_makefile fpc_makefile_dirs'#010+ #010+ - '[localmakefile]'#010+ - '###############################################################','#####'+ - '#'#010+ + '[loca','lmakefile]'#010+ + '#####################################################################'#010+ '# Local Makefile'#010+ '#####################################################################'#010+ #010+ @@ -2376,16 +2377,15 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ #010+ #010+ - '[userrules]'#010+ + '[userrules',']'#010+ '#####################################################################'#010+ - '# ','Users rules'#010+ + '# Users rules'#010+ '#####################################################################'#010+ #010+ '[lclrules]'#010+ '#####################################################################'#010+ - '# LCL Rules'#010+ - '################################################################','####'+ - '#'#010+ + '# ','LCL Rules'#010+ + '#####################################################################'#010+ #010+ '# LCL Platform'#010+ 'ifndef LCL_PLATFORM'#010+ @@ -2397,9 +2397,9 @@ const fpcmakeini : array[0..226,1..240] of char=( 'endif'#010+ 'export LCL_PLATFORM'#010+ #010+ - '# Check if the specified LCLDIR is correct'#010+ + '# ','Check if the specified LCLDIR is correct'#010+ 'ifdef LCLDIR'#010+ - 'override LCLDIR:=$(s','ubst \,/,$(LCLDIR))'#010+ + 'override LCLDIR:=$(subst \,/,$(LCLDIR))'#010+ 'ifeq ($(wildcard $(LCLDIR)/units/$(LCL_PLATFORM)),)'#010+ 'override LCLDIR=wrong'#010+ 'endif'#010+ @@ -2407,9 +2407,9 @@ const fpcmakeini : array[0..226,1..240] of char=( 'override LCLDIR=wrong'#010+ 'endif'#010+ #010+ - '# Check if the default LCLDIR is correct'#010+ + '# Check if the default LCLDIR is',' correct'#010+ 'ifdef DEFAULT_LCLDIR'#010+ - 'override LCLDIR:=$(subst \,/,$(DEFAULT_LCLDI','R))'#010+ + 'override LCLDIR:=$(subst \,/,$(DEFAULT_LCLDIR))'#010+ 'ifeq ($(wildcard $(LCLDIR)/units/$(LCL_PLATFORM)),)'#010+ 'override LCLDIR=wrong'#010+ 'endif'#010+ @@ -2417,8 +2417,8 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '# Check for development version'#010+ 'ifeq ($(LCLDIR),wrong)'#010+ - 'override LCLDIR=$(subst /units/$(LCL_PLATFORM),,$(firstword $(wildcard'+ - ' $(addsuffix /units/$(LC','L_PLATFORM),$(BASEDIR)/lcl $(BASEDIR)))))'#010+ + 'override LCLDIR=$(su','bst /units/$(LCL_PLATFORM),,$(firstword $(wildca'+ + 'rd $(addsuffix /units/$(LCL_PLATFORM),$(BASEDIR)/lcl $(BASEDIR)))))'#010+ 'ifeq ($(LCLDIR),)'#010+ 'override LCLDIR=wrong'#010+ 'endif'#010+ @@ -2426,39 +2426,38 @@ const fpcmakeini : array[0..226,1..240] of char=( #010+ '# Check for release version'#010+ 'ifeq ($(LCLDIR),wrong)'#010+ - 'override LCLDIR=$(subst /units/$(LCL_PLATFORM),,$(firstword $(wildcard'+ - ' $(addsuffix /lib/lazaru','s/units/$(LCL_PLATFORM),/usr/local /usr))))'#010+ + 'override LCLDIR=$(su','bst /units/$(LCL_PLATFORM),,$(firstword $(wildca'+ + 'rd $(addsuffix /lib/lazarus/units/$(LCL_PLATFORM),/usr/local /usr))))'#010+ 'ifeq ($(LCLDIR),)'#010+ 'override LCLDIR=wrong'#010+ 'endif'#010+ 'endif'#010+ #010+ '# Generate dirs'#010+ - 'override LCLUNITDIR:=$(wildcard $(LCLDIR)/units/$(LCL_PLATFORM) $(LCLD'+ - 'IR)/units)'#010+ - 'override LCLCOMPONENTDIR:=$(wildcard $(LCLDIR)','/.. $(LCLDIR)/../compo'+ - 'nents $(LCLDIR)/components)'#010+ + 'override LCLUNITDIR:=$(wildcard $(LCLDIR)/units/$(LCL','_PLATFORM) $(LC'+ + 'LDIR)/units)'#010+ + 'override LCLCOMPONENTDIR:=$(wildcard $(LCLDIR)/.. $(LCLDIR)/../compone'+ + 'nts $(LCLDIR)/components)'#010+ 'export LCLDIR LCLUNITDIR LCLCOMPONENTDIR'#010+ #010+ '# Add LCL dirs to paths'#010+ 'override REQUIRE_PACKAGESDIR+=$(LCLCOMPONENTDIR)'#010+ - 'override COMPILER_UNITDIR+=$(LCLUNITDIR)'#010+ + 'o','verride COMPILER_UNITDIR+=$(LCLUNITDIR)'#010+ #010+ '[lclinforules]'#010+ - '##################','##################################################'+ - '#'#010+ + '#####################################################################'#010+ '# LCL Info rules'#010+ '#####################################################################'#010+ - 'override INFORULES+=lclinfo'#010+ + 'override INFORULES+=lclinfo',#010+ #010+ '.PHONY: lclinfo'#010+ #010+ 'lclinfo:'#010+ ' @$(ECHO) == LCL info =='#010+ - ' @$(EC','HO)'#010+ + ' @$(ECHO)'#010+ ' @$(ECHO) Platform............. $(LCL_PLATFORM)'#010+ ' @$(ECHO) LCLDIR............... $(LCLDIR)'#010+ ' @$(ECHO) LCL Unit dir......... $(LCLUNITDIR)'#010+ - ' @$(ECHO) LCL Component dir.... $(LCLCOMPONENTDIR)'#010+ + ' ',' @$(ECHO) LCL Component dir.... $(LCLCOMPONENTDIR)'#010+ ' @$(ECHO)'#010 ); diff --git a/utils/fpcm/fpcmake.ini b/utils/fpcm/fpcmake.ini index 08a0efeeda..eb01ce0a84 100644 --- a/utils/fpcm/fpcmake.ini +++ b/utils/fpcm/fpcmake.ini @@ -1028,6 +1028,12 @@ SHAREDLIBEXT=.so SHORTSUFFIX=wii endif +# Java +ifeq ($(OS_TARGET),java) +SHAREDLIBEXT=.jar +SHORTSUFFIX=java +endif + else # long version for 1.0.x - target specific extensions diff --git a/utils/fpcm/fpcmmain.pp b/utils/fpcm/fpcmmain.pp index bed704d682..c4243a5708 100644 --- a/utils/fpcm/fpcmmain.pp +++ b/utils/fpcm/fpcmmain.pp @@ -63,7 +63,7 @@ interface type TCpu=( - c_i386,c_m68k,c_powerpc,c_sparc,c_x86_64,c_arm,c_powerpc64,c_avr,c_armeb,c_armel,c_mips,c_mipsel,c_mips64,c_mips64el + c_i386,c_m68k,c_powerpc,c_sparc,c_x86_64,c_arm,c_powerpc64,c_avr,c_armeb,c_armel,c_mips,c_mipsel,c_mips64,c_mips64el,c_jvm ); TOS=( @@ -71,22 +71,22 @@ interface o_amiga,o_atari, o_solaris, o_qnx, o_netware, o_openbsd,o_wdosx, o_palmos,o_macos,o_darwin,o_emx,o_watcom,o_morphos,o_netwlibc, o_win64,o_wince,o_gba,o_nds,o_embedded,o_symbian,o_nativent,o_iphonesim, - o_wii + o_wii,o_jvm ); TTargetSet=array[tcpu,tos] of boolean; const CpuStr : array[TCpu] of string=( - 'i386','m68k','powerpc','sparc','x86_64','arm','powerpc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el' + 'i386','m68k','powerpc','sparc','x86_64','arm','powerpc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el', 'jvm' ); CpuSuffix : array[TCpu] of string=( - '_i386','_m68k','_powerpc','_sparc','_x86_64','_arm','_powerpc64','avr','_armeb', '_armel', '_mips', '_mipsel', '_mips64', '_mips64el' + '_i386','_m68k','_powerpc','_sparc','_x86_64','_arm','_powerpc64','avr','_armeb', '_armel', '_mips', '_mipsel', '_mips64', '_mips64el', '_jvm' ); ppcSuffix : array[TCpu] of string=( - '386','m68k','ppc','sparc','x86_64','arm','ppc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el' + '386','m68k','ppc','sparc','x86_64','arm','ppc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el', 'jvm' ); OSStr : array[TOS] of string=( @@ -94,7 +94,7 @@ interface 'amiga','atari','solaris', 'qnx', 'netware','openbsd','wdosx', 'palmos','macos','darwin','emx','watcom','morphos','netwlibc', 'win64','wince','gba','nds','embedded','symbian','nativent', - 'iphonesim', 'wii' + 'iphonesim', 'wii', 'java' ); OSSuffix : array[TOS] of string=( @@ -102,43 +102,44 @@ interface '_amiga','_atari','_solaris', '_qnx', '_netware','_openbsd','_wdosx', '_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc', '_win64','_wince','_gba','_nds','_embedded','_symbian','_nativent', - '_iphonesim','_wii' + '_iphonesim','_wii','_java' ); { This table is kept OS,Cpu because it is easier to maintain (PFV) } OSCpuPossible : array[TOS,TCpu] of boolean = ( - { os i386 m68k ppc sparc x86_64 arm ppc64 avr armeb armel mips mipsel mips64 misp64el} - { linux } ( true, true, true, true, true, true, true, false, true, false, false, true, false, false), - { go32v2 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { win32 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { os2 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { freebsd } ( true, true, false, false, true, false, false, false, false, false, false, false, false, false), - { beos } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { haiku } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { netbsd } ( true, true, true, true, false, false, false, false, false, false, false, false, false, false), - { amiga } ( false, true, true, false, false, false, false, false, false, false, false, false, false, false), - { atari } ( false, true, false, false, false, false, false, false, false, false, false, false, false, false), - { solaris } ( true, false, false, true, true, false, false, false, false, false, false, false, false, false), - { qnx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { netware } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { openbsd } ( true, true, false, false, false, false, false, false, false, false, false, false, false, false), - { wdosx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { palmos } ( false, true, false, false, false, true, false, false, false, false, false, false, false, false), - { macos } ( false, false, true, false, false, false, false, false, false, false, false, false, false, false), - { darwin } ( true, false, true, false, true, true, true, false, false, false, false, false, false, false), - { emx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { watcom } ( true, false, false, false ,false, false, false, false, false, false, false, false, false, false), - { morphos } ( false, false, true, false ,false, false, false, false, false, false, false, false, false, false), - { netwlibc }( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { win64 } ( false, false, false, false, true, false, false, false, false, false, false, false, false, false), - { wince }( true, false, false, false, false, true, false, false, false, false, false, false, false, false), - { gba } ( false, false, false, false, false, true, false, false, false, false, false, false, false, false), - { nds } ( false, false, false, false, false, true, false, false, false, false, false, false, false, false), - { embedded }( true, true, true, true, true, true, true, true, true , false, false, false, false, false), - { symbian } ( true, false, false, false, false, true, false, false, false, false, false, false, false, false), - { nativent }( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { iphonesim }( true, false, false, false, false, false, false, false, false, false, false, false, false, false), - { wii } ( false, false, true, false, false, false, false, false, false, false, false, false, false, false) + { os i386 m68k ppc sparc x86_64 arm ppc64 avr armeb armel mips mipsel mips64 misp64el jvm } + { linux } ( true, true, true, true, true, true, true, false, true, false, false, true, false, false, false), + { go32v2 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { win32 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { os2 } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { freebsd } ( true, true, false, false, true, false, false, false, false, false, false, false, false, false, false), + { beos } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { haiku } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { netbsd } ( true, true, true, true, false, false, false, false, false, false, false, false, false, false, false), + { amiga } ( false, true, true, false, false, false, false, false, false, false, false, false, false, false, false), + { atari } ( false, true, false, false, false, false, false, false, false, false, false, false, false, false, false), + { solaris } ( true, false, false, true, true, false, false, false, false, false, false, false, false, false, false), + { qnx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { netware } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { openbsd } ( true, true, false, false, false, false, false, false, false, false, false, false, false, false, false), + { wdosx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { palmos } ( false, true, false, false, false, true, false, false, false, false, false, false, false, false, false), + { macos } ( false, false, true, false, false, false, false, false, false, false, false, false, false, false, false), + { darwin } ( true, false, true, false, true, true, true, false, false, false, false, false, false, false, false), + { emx } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { watcom } ( true, false, false, false ,false, false, false, false, false, false, false, false, false, false, false), + { morphos } ( false, false, true, false ,false, false, false, false, false, false, false, false, false, false, false), + { netwlibc }( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { win64 } ( false, false, false, false, true, false, false, false, false, false, false, false, false, false, false), + { wince }( true, false, false, false, false, true, false, false, false, false, false, false, false, false, false), + { gba } ( false, false, false, false, false, true, false, false, false, false, false, false, false, false, false), + { nds } ( false, false, false, false, false, true, false, false, false, false, false, false, false, false, false), + { embedded }( true, true, true, true, true, true, true, true, true , false, false, false, false, false, false), + { symbian } ( true, false, false, false, false, true, false, false, false, false, false, false, false, false, false), + { nativent }( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { iphonesim }( true, false, false, false, false, false, false, false, false, false, false, false, false, false, false), + { wii } ( false, false, true, false, false, false, false, false, false, false, false, false, false, false, false), + { jvm } ( false, false, false, false, false, false, false, false, false, false, false, false, false, false, true) ); type